style(billing): make comments concise
This commit is contained in:
@@ -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`);
|
||||
}
|
||||
|
||||
+1
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user