{{ $company['name'] }}

{{ $company['address'] }}

{{ $company['phone'] }} | {{ $company['email'] }}

INVOICE

{{ $invoice->invoice_number }}

BILL TO

Customer{{ $invoice->customer->name }}
Phone{{ $invoice->customer->phone }}
Address{{ $invoice->customer->address?:'—' }}
GST Number{{ $invoice->customer->gst_number?:'—' }}

INVOICE DETAILS

Invoice Date{{ $invoice->invoice_date->format('d M Y') }}
Due Date{{ $invoice->due_date->format('d M Y') }}
Quotation{{ $invoice->quotation?->quotation_number?:'—' }}
Event{{ $invoice->event_name }}
Payment{{ $invoice->payment_type }}
@foreach($invoice->items as $item)@endforeach
S.NOITEM DESCRIPTIONQTYUNITRATEAMOUNT
{{ $loop->iteration }}{{ $item->item_name }}{{ rtrim(rtrim(number_format((float)$item->quantity,2),'0'),'.') }}{{ $item->unit }}Rs. {{ number_format((float)$item->rate,2) }}Rs. {{ number_format((float)$item->amount,2) }}
NOTES / PAYMENT TERMS

{{ $invoice->notes?:'Payment is due by the date shown above. Thank you for your business.' }}

Subtotal Rs. {{ number_format((float)$invoice->subtotal,2) }}
Discount Rs. {{ number_format((float)$invoice->discount,2) }}
GST {{ $invoice->with_gst?'(18%)':'' }} Rs. {{ number_format((float)$invoice->tax,2) }}
Total Rs. {{ number_format((float)$invoice->total,2) }}
{{ $invoice->payment_type }} Paid Rs. {{ number_format((float)$invoice->amount_paid,2) }}
BALANCE DUE Rs. {{ number_format((float)$invoice->balance,2) }}