|
|
Invoice ID: {{ $invoice->workorder->workorder_number }} |
To:{{ $invoice->customer->name }} {{ $invoice->customer->last_name }}
{{ $invoice->customer->address }}
{{ $invoice->customer->city }}, {{ $invoice->customer->province }}
|
From:{{ $workshop->service_name }}
|
| # | Service | Hours | Rate | Total |
|---|---|---|---|---|
| {{ $laborNumber }}. | {{ $item->service->service ?? 'Service' }} | {{ $hours }} | ${{ number_format($pricePerHour, 2) }}/hr | ${{ number_format($itemTotal, 2) }} |
|
@if(!empty($item->complaint_cause_correction['complaint']))
Complaint: {{ $item->complaint_cause_correction['complaint'] }} @endif @if(!empty($item->complaint_cause_correction['cause'])) Cause: {{ $item->complaint_cause_correction['cause'] }} @endif @if(!empty($item->complaint_cause_correction['correction'])) Correction: {{ $item->complaint_cause_correction['correction'] }} @endif |
||||
| Labor Subtotal: | ${{ number_format($laborTotal, 2) }} | |||
| # | Part Name | Qty | Unit Price | Total |
|---|---|---|---|---|
| {{ $item->service->service ?? $item->label ?? 'Service' }} | ||||
| {{ $partNumber }}. | {{ $part->part_name }} | {{ $part->quantity }} | ${{ number_format($unitPrice, 2) }} | ${{ number_format($lineTotal, 2) }} |
| {{ $partNumber }}. | {{ $invPart->part->part_name ?? 'Unknown Part' }} | {{ $invPart->quantity }} | ${{ number_format($unitPrice, 2) }} | ${{ number_format($lineTotal, 2) }} |
| No parts | ||||
| Parts Subtotal: | ${{ number_format($partsTotal, 2) }} | |||