{{$job_sheet->customer->business->name}}
@if(!empty($job_sheet->businessLocation))
{{$job_sheet->businessLocation->name}}
@endif
{!!$job_sheet->businessLocation->location_address!!}
@if(!empty($job_sheet->businessLocation->mobile))
@lang('business.mobile'): {{$job_sheet->businessLocation->mobile}},
@endif
@if(!empty($job_sheet->businessLocation->alternate_number))
@lang('invoice.show_alternate_number'): {{$job_sheet->businessLocation->alternate_number}},
@endif
@if(!empty($job_sheet->businessLocation->email))
@lang('business.email'): {{$job_sheet->businessLocation->email}},
@endif
@if(!empty($job_sheet->businessLocation->website))
@lang('lang_v1.website'): {{$job_sheet->businessLocation->website}}
@endif
@lang('receipt.date'): {{@format_datetime($job_sheet->created_at)}} | ||||
---|---|---|---|---|
@lang('repair::lang.service_type'): @lang('repair::lang.'.$job_sheet->service_type) | @lang('repair::lang.expected_delivery_date'): @if(!empty($job_sheet->delivery_date)) {{@format_datetime($job_sheet->delivery_date)}} @endif | |||
@lang('repair::lang.job_sheet_no'): {{$job_sheet->job_sheet_no}} | ||||
@lang('role.customer'):
{{$job_sheet->customer->name}} |
@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.technician'): | {{optional($job_sheet->technician)->user_full_name}} | |||
@lang('repair::lang.comment_by_ss'): | {{$job_sheet->comment_by_ss}} | |||
@lang('repair::lang.pre_repair_checklist'): |
@php
$checklists = [];
if (!empty($job_sheet->deviceModel) && !empty($job_sheet->deviceModel->repair_checklist)) {
$checklists = explode('|', $job_sheet->deviceModel->repair_checklist);
}
@endphp
@if(!empty($checklists))
@foreach($checklists as $check)
@php
if(!isset($job_sheet->checklist[$check])) {
continue;
}
@endphp
@if($job_sheet->checklist[$check] == 'yes')
@elseif($job_sheet->checklist[$check] == 'no')
@elseif($job_sheet->checklist[$check] == 'not_applicable')
@endif
{{$check}}
@endforeach
@endif
|
|||
@lang('repair::lang.pick_up_on_site_addr'):
{!!$job_sheet->pick_up_on_site_addr!!} |
||||
@lang('repair::lang.product_configuration'):
@php $product_configuration = json_decode($job_sheet->product_configuration, true); @endphp @if(!empty($product_configuration)) @foreach($product_configuration as $product_conf) {{$product_conf['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 |
||||
{{$repair_settings['job_sheet_custom_field_1'] ?? __('lang_v1.custom_field', ['number' => 1])}}: | {{$job_sheet->custom_field_1}} | |||
@lang('repair::lang.parts_used'): |
@if(!empty($parts))
|
|||
{{$repair_settings['job_sheet_custom_field_2'] ?? __('lang_v1.custom_field', ['number' => 2])}}: | {{$job_sheet->custom_field_2}} | |||
{{$repair_settings['job_sheet_custom_field_3'] ?? __('lang_v1.custom_field', ['number' => 3])}}: | {{$job_sheet->custom_field_3}} | |||
{{$repair_settings['job_sheet_custom_field_4'] ?? __('lang_v1.custom_field', ['number' => 4])}}: | {{$job_sheet->custom_field_4}} | |||
{{$repair_settings['job_sheet_custom_field_5'] ?? __('lang_v1.custom_field', ['number' => 5])}}: | {{$job_sheet->custom_field_5}} | |||
@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("lang_v1.terms_conditions"): @if(!empty($repair_settings['repair_tc_condition'])) {!!$repair_settings['repair_tc_condition']!!} @endif | ||||
@lang('repair::lang.customer_signature'): | @lang('repair::lang.authorized_signature'): |