Invoice No: |
{{ $invoice->invoice_no }} |
Client Name: |
{{ $invoice->branch->client->ShopCompany ?? '' }}
|
Branch Name: |
{{ $invoice->branch_name ?? '' }} |
Type of Invoice: |
{{ TYPE_OF_INVOICE[$invoice->type] }} |
Tax: |
{{ $invoice->tax ? 'Yes' : 'No' }} |
Generated Date: |
{{ $invoice->created_at->format('d-m-Y') }} |
Status: |
Generated |
@if (is_null($invoice->status))
Work Order Proof: |
|
@endif
S.NO |
Category |
Service Name |
Sub Service Name |
Qty(Units) |
Unit Price |
Total Price |
@foreach ($invoice->subCalc as $index => $sub)
{{ $index + 1 }} |
{{ $sub->category->name ?? '' }} |
{{ $sub->service->name ?? '' }} |
@php($sub_service = $sub->sub_service->subserviceable)
{{ $sub_service->name ?? ($sub_service->packing_material_name ?? '-') }}
|
{{ $sub->quantity }} |
{{ $sub->price }} |
{{ numberFormat($sub->total) }} |
@endforeach
@if ($invoice->service_fee > 0)
{{ $invoice->subCalc->count() + 1 }} |
Service Fee |
Service Fee |
Service Fee |
1 |
{{ $invoice->service_fee }} |
{{ numberFormat($invoice->service_fee) }} |
@endif
|
|
Total Value |
{{ numberFormat($invoice->amount) }}
|
@if ($invoice->tax)
|
Tax {{ $invoice->tax }}% |
{{ numberFormat($invoice->tax_amount) }} |
@endif
|
{{ numberFormat($invoice->total_amount) }} |