{{ $saleInvoice->name }}
@if ($saleInvoice->address){!! nl2br(e($saleInvoice->address)) !!}
@endif @if ($saleInvoice->city){{ $saleInvoice->city }}
@endif @if ($saleInvoice->phone){{ $saleInvoice->phone }}
@endifInvoice No: {{ $saleInvoice->sale_number }}
Date: {{ optional($saleInvoice->date)->format('d-M-y') }}
Order No: {{ $quoteReference }}
| Make / Model | Engine Code | Mileage | VRM | VIN | Served By |
|---|---|---|---|---|---|
| {{ trim($saleInvoice->make_model ?: trim($vehicleMake . ' ' . $vehicleModel)) ?: 'N/A' }} | {{ $saleInvoice->engine_code ?: 'N/A' }} | {{ $vehicleMileage }} | {{ $saleInvoice->vrm ?: 'N/A' }} | {{ $vehicleVin }} | {{ $saleInvoice->served_by ?: 'N/A' }} |
| Sr | Parts Description | Qty | Unit Price | Net Total |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $detail->description ?: ($detail->part?->name ?: 'N/A') }} | {{ rtrim(rtrim(number_format((float) $detail->qty, 2, '.', ''), '0'), '.') }} | {{ number_format((float) $detail->amount, 2) }} | {{ number_format((float) $detail->total_amount, 2) }} |
| No service rows added. | ||||
| Sub Total | {{ number_format((float) $saleInvoice->sub_total, 2) }} | |||
| Initial Deposit | {{ number_format((float) $saleInvoice->initial_deposit, 2) }} | |||
| Discount | {{ number_format((float) $saleInvoice->discount, 2) }} | |||
| VAT | {{ number_format((float) $saleInvoice->vat, 2) }} | |||
| Net | {{ number_format((float) $saleInvoice->total, 2) }} | |||
| Vat | {{ number_format((float) $saleInvoice->vat, 2) }} |
| Total | {{ number_format((float) $saleInvoice->total, 2) }} |