@foreach($options as $option)
{{ $option }}
|
@endforeach
| (1) NATURE OF TROUBLE |
@foreach(array_chunk($options_nature_trouble, 4) as $rowOptions)
@foreach($rowOptions as $option)
{{-- Handle OTHERS case --}}
@if(strtoupper($option) === 'OTHERS')
OTHERS: {{ $othersText ?: '____________' }}
@else
{{ $option }}
@endif
|
@endforeach
{{-- Pad row to always have 4 columns --}}
@for($i = count($rowOptions); $i < 4; $i++)
|
@endfor
@endforeach
|
(2) SYMPTOM:- |
@if(isset($service_form->attributes->symptom->value)) {{$service_form->attributes->symptom->value}} @endif
|
|
|
(3)
CAUSE:- |
@if(isset($service_form->attributes->cause->value)) {{$service_form->attributes->cause->value}} @endif
|
|
|
(4)
DETAILS OF CORRECTIVE
ACTION:- |
@if(isset($service_form->attributes->corrective_action->value)) {{$service_form->attributes->corrective_action->value}} @endif
|
|
|
(5)
REPLACED ITEM:- |
@if(isset($service_form->attributes->replaced_item->value)) {{$service_form->attributes->replaced_item->value}} @endif
|
|
| (6)
STATUS
:-
|
@if(isset($service_form->attributes->status->selection) && $service_form->attributes->status->selection =='Normal')
@else
@endif NORMAL |
@if(isset($service_form->attributes->status->selection) && $service_form->attributes->status->selection =='Turned - off')
@else
@endif
TURNED - OFF |
| |
| (7)
ADDITIONAL ACTIONS
:-
|
@if(isset($service_form->attributes->status->selection) && $service_form->attributes->additional_action->selection =='Major Repair')
@else
@endif
MAJOR REPAIR |
@if(isset($service_form->attributes->status->selection) && $service_form->attributes->additional_action->selection =='Major Repair')
@else
@endif QUOTATION |
|
|
(8) SERVICE REPORT:- |
@if(isset($service_form->attributes->service_report->value)) {{$service_form->attributes->service_report->value}} @endif
|
|
|
(9) REMARKS:- |
@if(isset($service_form->attributes->remarks->value)) {{$service_form->attributes->remarks->value}} @endif
|
|