{{ $companyAddress }}
@endif @if(isset($companyPhone))Tel: {{ $companyPhone }}
@endif @if(isset($companyEmail))Email: {{ $companyEmail }}
@endif{{ $customer->fullname }}
@if($customer->email)Email: {{ $customer->email }}
@endif @if($customer->phone)Điện thoại: {{ $customer->phone }}
@endif @if($customer->address)Địa chỉ: {{ $customer->address }}
@endifMã đơn hàng: #{{ $order->order_num ?? '—' }}
@if(isset($order) && $order->created_at)Ngày đặt: {{ $order->created_at->format('d/m/Y') }}
@endif| # | Dịch vụ | Chu kỳ | Số lượng | Đơn giá | Thành tiền |
|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->description ?? ($item->product?->name ?? 'Dịch vụ') }} | {{ $item->billing_label }} | {{ $item->quantity ?? 1 }} | {{ number_format($item->unit_price, 0, ',', '.') }} đ | {{ number_format($item->total_price, 0, ',', '.') }} đ |
| Tạm tính | {{ number_format($invoice->sub_total, 0, ',', '.') }} đ |
| Giảm giá | -{{ number_format($invoice->discount_amount, 0, ',', '.') }} đ |
| Thuế | {{ number_format($invoice->tax, 0, ',', '.') }} đ |
| Tổng cộng | {{ number_format($invoice->total, 0, ',', '.') }} đ |