123 Business Street
City, State 12345
Phone: (123) 456-7890
Email: info@yourcompany.com
Invoice No: {{ $invoice->invoice_no }}
@if($invoice->customer_invoice)Customer Invoice: {{ $invoice->customer_invoice }}
@endifDate: {{ \Carbon\Carbon::parse($invoice->invoice_date)->format('M d, Y') }}
@if($invoice->payment_due)Due Date: {{ \Carbon\Carbon::parse($invoice->payment_due)->format('M d, Y') }}
@endif{{ $invoice->customer_name ?? ($invoice->customer ? $invoice->customer->name : 'N/A') }}
@if($invoice->customer_email){{ $invoice->customer_email }}
@endif @if($invoice->customer_phone){{ $invoice->customer_phone }}
@endif @if($invoice->customer_address){{ $invoice->customer_address }}
@endif @if($invoice->contact_person)Contact Person: {{ $invoice->contact_person }}
@endif| # | Item Description | Unit | Quantity | Rate | VAT % | VAT Amount | Period | Total |
|---|---|---|---|---|---|---|---|---|
| {{ $connectionTypeNote }} | ||||||||
| {{ $rowNumber }} |
{{ $item->item_name ?? 'Custom Item' }}
@if($item->description)
{{ $item->description }} @endif |
{{ $item->unit ?? '-' }} | {{ number_format($item->quantity, 2) }} | BDT {{ number_format($item->rate, 2) }} | {{ number_format($item->vat_percentage, 2) }}% | BDT {{ number_format($item->total_vat, 2) }} | @if($item->from_date && $item->to_date) {{ \Carbon\Carbon::parse($item->from_date)->format('M d') }} - {{ \Carbon\Carbon::parse($item->to_date)->format('M d, Y') }} @elseif($item->from_date) From {{ \Carbon\Carbon::parse($item->from_date)->format('M d, Y') }} @elseif($item->to_date) Until {{ \Carbon\Carbon::parse($item->to_date)->format('M d, Y') }} @else - @endif | BDT {{ number_format($item->total_amount, 2) }} |
| Subtotal: | BDT {{ number_format($invoice->invoice_amount + $invoice->discount_amount, 2) }} |
| Discount ({{ $invoice->discount_type ?? 'Amount' }}): | -BDT {{ number_format($invoice->discount_amount, 2) }} |
| Total Amount: | BDT {{ number_format($invoice->invoice_amount, 2) }} |
| Paid Amount: | BDT {{ number_format($invoice->paid_amount, 2) }} |
| Due Amount: | BDT {{ number_format($invoice->due_amount, 2) }} |
{{ $invoice->notes }}