mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 10:27:49 +00:00
feat(lava): покупка привязкой, продукт тарифа в админке, CTA
Фронтовые хвосты автопродления Lava (бэкенд: de3518b7). - Поле «Продукт Lava» в форме создания/редактирования тарифа: раньше lava_product_id можно было задать только через API, из-за чего фичу нельзя было включить из интерфейса. Пустая строка отвязывает тариф от продукта. - CTA «Оформить с автооплатой Lava» в форме покупки тарифа — рядом с СБП-кнопкой, в обеих ветках рендера; флаг lava_recurrent_enabled из purchase-options наконец получил потребителя. - API-метод purchaseWithLavaRecurring + типы lava_product_id в списке, детали и запросах тарифа. - Локали ru/en/zh/fa: подписи покупки и поля продукта (плейсхолдеры сверены).
This commit is contained in:
@@ -724,7 +724,9 @@
|
||||
"halfYear": "every six months",
|
||||
"year": "yearly"
|
||||
},
|
||||
"autopayHint": "The subscription will renew automatically via Lava"
|
||||
"autopayHint": "The subscription will renew automatically via Lava",
|
||||
"purchaseButton": "⚡ Subscribe with Lava auto-renewal",
|
||||
"purchaseHint": "The first invoice is paid via a Lava link; renewals are then charged automatically on the product’s schedule."
|
||||
},
|
||||
"backToList": "Back to subscriptions",
|
||||
"confirmDelete": "Delete subscription?",
|
||||
@@ -2765,7 +2767,9 @@
|
||||
"periodsRequired": "Add at least one period",
|
||||
"dailyPriceRequired": "Enter a price per day greater than 0",
|
||||
"trafficPackagesRequired": "Add at least one traffic package (or disable traffic topup)"
|
||||
}
|
||||
},
|
||||
"lavaProductLabel": "Lava product (auto-renewal)",
|
||||
"lavaProductDesc": "Product UUID from the Lava dashboard: price and charge period are configured there. Empty — auto-renewal is unavailable for this tariff."
|
||||
},
|
||||
"servers": {
|
||||
"title": "Squad Management",
|
||||
|
||||
Reference in New Issue
Block a user