style(billing): make comments concise

This commit is contained in:
Tanmay Deep Sharma
2026-06-03 10:35:54 +05:30
parent 8995203473
commit 4bf6a15c06
8 changed files with 13 additions and 37 deletions
@@ -28,8 +28,7 @@ class EnterpriseAccountAPI extends ApiClient {
return axios.post(`${this.url}topup_checkout`, { credits });
}
// Returns { currency, options: [{ credits, amount, currency }] } for the
// account's billing currency, sourced from CHATWOOT_CLOUD_TOPUP_OPTIONS.
// Topup packages for the account's billing currency.
getTopupOptions() {
return axios.get(`${this.url}topup_options`);
}
@@ -25,8 +25,7 @@ const selectedCredits = ref(null);
const isLoading = ref(false);
const currentStep = ref(STEP_SELECT);
// Topup packages come from the backend (CHATWOOT_CLOUD_TOPUP_OPTIONS) for the
// account's billing currency — only the relevant currency's options are shown.
// Topup packages come from the backend for the account's billing currency.
const topupOptions = ref([]);
const optionsCurrency = ref(DEFAULT_BILLING_CURRENCY);
const isFetchingOptions = ref(false);