Watermark @foreach($invoiceItems as $i => $item) @endforeach @if($cfg['show_summary'] ?? true) @if($invoice->discount_amount > 0) @endif @if($invoice->tax > 0) @endif @endif
STT
(No)
Tên hàng hóa, dịch vụ
(Name of goods and services)
Đơn vị tính
(Unit)
Số lượng
(Quantity)
Đơn giá
(Unit price)
Thành tiền
(Amount)
{{ $i + 1 }} {{ $item->description ?? ($item->product?->name ?? 'Dịch vụ') }} {{ ($item->months && $item->months > 0) ? 'Tháng' : 'Lần' }} {{ number_format($item->quantity ?? 1, 2, ',', '.') }} {{ number_format($item->unit_price, 0, ',', '.') }} {{ number_format($item->total_price, 0, ',', '.') }}
@if($invoice->tax > 0) Cộng tiền hàng đã gồm VAT (Subtotal incl. VAT): @else Cộng tiền hàng (Total amount excl. VAT): @endif {{ number_format($invoice->sub_total, 0, ',', '.') }}
Giảm giá (Discount){{ $invoice->coupon_code ? ' - '.$invoice->coupon_code : '' }}: -{{ number_format($invoice->discount_amount, 0, ',', '.') }}
Cộng tiền hàng chưa VAT (Total amount excl. VAT): {{ number_format($invoice->total - $invoice->tax, 0, ',', '.') }}
Thuế suất GTGT (VAT rate): {{ $taxRate > 0 ? $taxRate . '%' : 'Không áp dụng' }} Tiền thuế GTGT (VAT amount): {{ number_format($invoice->tax, 0, ',', '.') }}
Tổng tiền thanh toán (Total amount): {{ number_format($invoice->total, 0, ',', '.') }}
Số tiền viết bằng chữ (Total amount in words): {{ \App\Helpers\NumberToWords::convert((int) $invoice->total) }}.