diff --git a/app/resources/js/views/BillingView.vue b/app/resources/js/views/BillingView.vue index 6da1475c..10e14d4d 100644 --- a/app/resources/js/views/BillingView.vue +++ b/app/resources/js/views/BillingView.vue @@ -29,10 +29,10 @@ const topupSnackbar = ref(false); const txTableRef = ref | null>(null); const walletRub = computed(() => Number(wallet.value?.balance_rub ?? 0)); -const leadsBalance = computed(() => wallet.value?.balance_leads ?? 0); +const affordableLeads = computed(() => wallet.value?.affordable_leads ?? 0); +const currentTierPriceRub = computed(() => wallet.value?.current_tier?.price_rub ?? '0.00'); const runwayDays = computed(() => wallet.value?.runway_days ?? null); const tariffName = computed(() => wallet.value?.tariff?.name ?? null); -const tariffPrice = computed(() => wallet.value?.tariff?.price_monthly ?? null); const tariffFeatures = computed(() => (wallet.value?.tariff?.features ?? []).map(featureLabel)); async function loadWallet(): Promise { @@ -73,10 +73,6 @@ defineExpose({ loadWallet, wallet, topupOpen }); {{ formatPlain(walletRub) }} кошелёк - · - {{ leadsBalance }} лидов запас