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:
co-authored by
Claude Sonnet 5.5
parent
ea9a53f742
commit
25f23d541e
@@ -38,7 +38,11 @@
|
||||
@if($cfg['show_summary'] ?? true)
|
||||
<tr>
|
||||
<td colspan="5" class="summary-label">
|
||||
Cộng tiền hàng <span class="italic">(Total amount excl. VAT)</span>:
|
||||
@if($invoice->tax > 0)
|
||||
Cộng tiền hàng đã gồm VAT <span class="italic">(Subtotal incl. VAT)</span>:
|
||||
@else
|
||||
Cộng tiền hàng <span class="italic">(Total amount excl. VAT)</span>:
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-right bold">{{ number_format($invoice->sub_total, 0, ',', '.') }}</td>
|
||||
</tr>
|
||||
@@ -46,12 +50,21 @@
|
||||
@if($invoice->discount_amount > 0)
|
||||
<tr>
|
||||
<td colspan="5" class="summary-label">
|
||||
Giảm giá <span class="italic">(Discount)</span>:
|
||||
Giảm giá <span class="italic">(Discount)</span>{{ $invoice->coupon_code ? ' - '.$invoice->coupon_code : '' }}:
|
||||
</td>
|
||||
<td class="text-right bold">-{{ number_format($invoice->discount_amount, 0, ',', '.') }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
@if($invoice->tax > 0)
|
||||
<tr>
|
||||
<td colspan="5" class="summary-label">
|
||||
Cộng tiền hàng chưa VAT <span class="italic">(Total amount excl. VAT)</span>:
|
||||
</td>
|
||||
<td class="text-right bold">{{ number_format($invoice->total - $invoice->tax, 0, ',', '.') }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
Thuế suất GTGT <span class="italic">(VAT rate)</span>:
|
||||
|
||||
Reference in New Issue
Block a user