feat(billing): renewals, coupons, VAT numbering, billing cycles and invoice payment tracking

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
baodev0
2026-10-19 16:37:56 +07:00
co-authored by Claude Sonnet 5.5
parent ea9a53f742
commit 25f23d541e
134 changed files with 4926 additions and 185 deletions
@@ -25,8 +25,9 @@ final class BillingTemplates
'Hạn thanh toán' => '{{due_date}}',
'Tổng tiền' => '{{total}} VNĐ',
'Trạng thái' => '{{status_label}}',
], '{{outstanding_row}}')
], '{{outstanding_row}}{{lookup_row}}')
. T::paragraph('{{intro_note}}')
. '{{lookup_note}}'
. '{{pay_button}}{{attachments_block}}{{note_block}}'
. T::supportLine(),
],
@@ -41,7 +42,8 @@ final class BillingTemplates
'Số hoá đơn' => '{{invoice_number}}',
'Hạn thanh toán' => '{{due_date}}',
'Tổng tiền' => '{{total}} VNĐ',
], '{{paid_row}}' . T::row('Còn phải thanh toán', '<span style="color: #dc2626;">{{outstanding}} VNĐ</span>'))
], '{{paid_row}}' . T::row('Còn phải thanh toán', '<span style="color: #dc2626;">{{outstanding}} VNĐ</span>') . '{{lookup_row}}')
. '{{lookup_note}}'
. T::button('{{login_url}}', 'THANH TOÁN NGAY')
. T::paragraph('Nếu Quý khách đã thanh toán, vui lòng bỏ qua email này.')
. T::supportLine(),