@extends('pdfs.layout') @section('content')

JOB CARD #{{ $jobCard->job_number }}

CUSTOMER DETAILS

{{ $jobCard->customer_name }}
{{ $jobCard->customer_phone }}
{{ $jobCard->customer_email }}
VEHICLE DETAILS

{{ $jobCard->vehicle_number }}
{{ $jobCard->vehicle_make }} {{ $jobCard->vehicle_model }} ({{ $jobCard->vehicle_year }})
Mileage: {{ number_format($jobCard->mileage) }} km
@foreach($jobCard->items as $item) @endforeach
SERVICE / DESCRIPTION NOTES EST. COST
{{ $item->service->name }} @if($item->service->category)
{{ $item->service->category }}@endif
{{ $item->notes }} @if($item->agreed_price > 0) GH₵ {{ number_format($item->agreed_price, 2) }} @else - @endif
TOTAL ESTIMATE: GH₵ {{ number_format($jobCard->items->sum('agreed_price'), 2) }}
@if($jobCard->diagnosis)
DIAGNOSIS / INSTRUCTIONS:
{{ $jobCard->diagnosis }}
@endif
CUSTOMER AUTHORIZATION:

I hereby authorize the above repair work to be done along with the necessary material and agree that you are not responsible for loss or damage to vehicle or articles left in vehicle in case of fire, theft or any other cause beyond your control.


____________________________________
Signature
TECHNICIAN ACCEPTANCE:

Assigned to: {{ $jobCard->technician }}
Date: {{ $jobCard->created_at->format('d M Y') }}



____________________________________
Signature
@endsection