PURCHASE INVOICE

Invoice No: {{ $bill->provider_invoice }}

Your Company Name

Company Address, City, Country

Phone: +1234567890 | Email: info@company.com

Bill Information

Bill No: {{ $bill->bill_no }}

Bill Date: {{ $bill->bill_date->format('d/m/Y') }}

Billing Month: {{ $bill->bill_month }}

@if($bill->payment_due)

Payment Due: {{ $bill->payment_due->format('d/m/Y') }}

@endif

Provider Information

Provider: {{ $bill->provider->name ?? 'N/A' }}

@if($bill->contact_person)

Contact Person: {{ $bill->contact_person }}

@endif
@foreach($bill->items as $item) @endforeach
Item Description Unit Quantity Rate VAT(%) Period Total
{{ $item->item_name ?? 'N/A' }} {{ $item->description ?? '-' }} {{ $item->unit ?? '-' }} {{ number_format($item->quantity, 2) }} BDT{{ number_format($item->rate, 2) }} {{ number_format($item->vat_percentage, 2) }}% @if($item->from_date && $item->to_date) {{ $item->from_date->format('d/m/Y') }} - {{ $item->to_date->format('d/m/Y') }} @else - @endif BDT{{ number_format($item->total_amount, 2) }}
@if($bill->discount_amount > 0) @endif
Subtotal: BDT{{ number_format($bill->bill_amount - $bill->discount_amount, 2) }}
Discount @if($bill->discount_type == 'percentage') ({{ $bill->discount_value }}%) @endif: -BDT{{ number_format($bill->discount_amount, 2) }}
Grand Total: BDT{{ number_format($bill->bill_amount, 2) }}
@if($bill->paid_amount > 0) @endif @if($bill->due_amount > 0) @endif
Payment Status: {{ ucfirst($bill->payment_status) }}
Paid Amount: BDT{{ number_format($bill->paid_amount, 2) }}
Due Amount: BDT{{ number_format($bill->due_amount, 2) }}
@if($bill->notes)

Notes

{{ $bill->notes }}

@endif