Jobcard

{{ $company->name ?? 'Company Name' }}

{{ $company->name ?? 'Company Name' }}
@if($company->email ?? false)
{{ $company->email }}
@endif @if($company->phone ?? false)
{{ $company->phone }}
@endif
{{ $jobcard->job_number ?? 'N/A' }}
{{ $jobcard->title ?? 'Jobcard Title' }}
{{ ucfirst($jobcard->status ?? 'draft') }}
@if($jobcard->start_date ?? false)
Start Date: {{ \Carbon\Carbon::parse($jobcard->start_date)->format('M d, Y') }}
@endif @if($jobcard->due_date ?? false)
Due Date: {{ \Carbon\Carbon::parse($jobcard->due_date)->format('M d, Y') }}
@endif
@if($customMessage ?? false)
Message:
{{ $customMessage }}
@endif
Customer
{{ $jobcard->customer->name ?? 'Customer Name' }}
@if($jobcard->customer->email ?? false)
{{ $jobcard->customer->email }}
@endif @if($jobcard->customer->phone ?? false)
{{ $jobcard->customer->phone }}
@endif
@if($jobcard->description)
Description
{{ $jobcard->description }}
@endif
Job Items
@foreach($jobcard->lineItems ?? [] as $item) @endforeach
Description Quantity Unit Price Total
{{ $item->description ?? 'Item Description' }} {{ $item->quantity ?? 0 }} {{ $company->formatCurrencyZar($item->unit_price ?? 0) }} {{ $company->formatCurrencyZar($item->total ?? 0) }}
Subtotal: {{ $company->formatCurrencyZar($jobcard->subtotal ?? 0) }}
@if(($jobcard->discount_amount ?? 0) > 0)
Discount: -{{ $company->formatCurrencyZar($jobcard->discount_amount) }}
@endif
Tax ({{ $jobcard->tax_rate ?? 0 }}%): {{ $company->formatCurrencyZar($jobcard->tax_amount ?? 0) }}
Total: {{ $company->formatCurrencyZar($jobcard->total ?? 0) }}

📎 Jobcard PDF Attached

Please find the complete jobcard details in the attached PDF document.