@if(!empty($receipt_details->logo))
Logo

@endif @if(!empty($business_name)) {{$business_name}}
@endif @if(!empty($business_mobile)) {!! $business_mobile !!} @endif @if(!empty($receipt_details->contact) && !empty($receipt_details->website)) , @endif @if(!empty($receipt_details->website)) {{ $receipt_details->website }} @endif

@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}}


@if(!empty($job_sheet->delivery_date))

@lang('repair::lang.expected_delivery_date')

{{@format_datetime($job_sheet->delivery_date)}}

@endif

@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('product.brand'): {{optional($job_sheet->brand)->name}}

@lang('repair::lang.device'): {{optional($job_sheet->device)->name}}

@lang('repair::lang.device_model'): {{optional($job_sheet->deviceModel)->name}}

@lang('repair::lang.serial_no'): {{$job_sheet->serial_no}}

@lang('lang_v1.password'): {{$job_sheet->security_pwd}}

@lang('repair::lang.security_pattern_code'): {{$job_sheet->security_pattern}}
@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}}
{{-- Barcode --}}