INVOICE
Invoice No: {{'#INV-'.$invoice->id }}
Date: {{ \Carbon\Carbon::parse($invoice->created_at)->format('d/m/Y') }}
Seller
{{ $invoice->store->store ?? '' }}
{{ $invoice->store->address ?? '' }}
{{ $invoice->store->email ?? '' }}
{{ $invoice->store->phone ?? '' }}
Bill To
{{ $invoice->customer->name ?? '' }}
{{ $invoice->customer->address ?? '' }}
{{ $invoice->customer->mobile ?? '' }}
{{ $invoice->customer->email ?? '' }}

Frame Details

No. Brand Frame Type Item Price
1 {{ $invoice->brand->brand ?? 1 }} {{ $invoice->frame->frame ?? '' }} {{ $invoice->frame_cost?? ''}}
@if(!empty($invoice->lens->lens))

Lens Details

No. Brand Lens Type Item Price
1 {{ $invoice->lensBrand->brand ?? 1 }} {{ $invoice->lens->lens ?? '' }} {{$invoice->lens_cost?? '' }}
@endif @if( !empty($invoice->re_sphere) || !empty($invoice->re_cylinder) || !empty($invoice->re_axis) || !empty($invoice->re_add) || !empty($invoice->le_sphere) || !empty($invoice->le_cylinder) || !empty($invoice->le_axis) || !empty($invoice->le_add) )

Refraction Values

No. Eye Sphere Cylinder Axis ADD
1 RE {{ $invoice->re_sphere ?? 'N/A' }} {{ $invoice->re_cylinder ?? 'N/A' }} {{ $invoice->re_axis ?? 'N/A' }} {{ $invoice->re_add ?? 'N/A' }}
2 LE {{ $invoice->le_sphere ?? 'N/A' }} {{ $invoice->le_cylinder ?? 'N/A' }} {{ $invoice->le_axis ?? 'N/A' }} {{ $invoice->le_add ?? 'N/A' }}
@endif @if ($invoice->gst_type === 'Gst') @endif
Subtotal {{ number_format($invoice->sub_total, 2) }}
Discount% {{ $invoice->discount }}
CGST {{ $invoice->cgst }}
SGST {{ $invoice->sgst }}
IGST {{ $invoice->igst }}
Grand Total {{ number_format($invoice->total_amount, 2) }}
Paid Amount {{ number_format($invoice->advance_paid, 2) }}
Balance {{ number_format($invoice->balance, 2) }}
Notes:

1. Payment is due within 30 days.

2. Please contact us if you have any questions about this invoice.