@lang('repair::lang.job_sheet')-({{$job_sheet->job_sheet_no}})
@lang('role.customer')
{{$job_sheet->customer->name}}
@lang('contact.mobile')
{{$job_sheet->customer->mobile}}
@lang('receipt.date')
{{@format_datetime($job_sheet->created_at)}}
@lang('repair::lang.job_sheet_no')
{{$job_sheet->job_sheet_no}}
@lang('repair::lang.expected_delivery_date')
{{@format_datetime($job_sheet->delivery_date)}}
@lang('repair::lang.problem_reported_by_customer')
@php $defects = json_decode($job_sheet->defects, true); @endphp @if(!empty($defects)) @foreach($defects as $product_defect) {{$product_defect['value']}} @if(!$loop->last) {{','}} @endif @endforeach @endif
@lang('repair::lang.condition_of_product')
@php $product_condition = json_decode($job_sheet->product_condition, true); @endphp @if(!empty($product_condition)) @foreach($product_condition as $product_cond) {{$product_cond['value']}} @if(!$loop->last) {{','}} @endif @endforeach @endif
| @lang('sale.invoice_no'): | @if($job_sheet->invoices->count() > 0) @foreach($job_sheet->invoices as $invoice) {{$invoice->invoice_no}} @if (!$loop->last) {{', '}} @endif @endforeach @endif |
| @lang('repair::lang.estimated_cost'): | {{$job_sheet->estimated_cost}} |
| @lang('sale.status'): | {{optional($job_sheet->status)->name}} |
| @lang('business.location'): | {{optional($job_sheet->businessLocation)->name}} |
| @lang('repair::lang.warranty_period'): | {{$job_sheet->custom_field_2}} |
| @lang('repair::lang.custom_payed_amount'): | {{$job_sheet->custom_field_3}} |