{{-- --}} {{-- Font Awesome css--}} {{-- --}} {{-- --}}
@include('inc.navbar') @include('inc.messages')

Authorize New Changes


I hearby, Admit that I have read the changes in the check list regarding the job done, and I approve it.

{{-- --}}

    @foreach ($insjob->equipment->chklist->chklistdivs as $div)
  • {{$div->name}}
  • @endforeach
@foreach ($insjob->equipment->chklist->chklistdivs as $div) @php $checkListContent=''; @endphp
    @php foreach ($insjob->chklistfields as $job_chklistfield) { if($job_chklistfield->chklistdiv->id == $div->id ) { $input_type = $job_chklistfield->type; //0=>text, 1=>radio, 2=>info if($input_type == 1){ if ($job_chklistfield->pivot->value == "1") { $radio_val = "Safe"; }elseif ($job_chklistfield->pivot->value =="2") { $radio_val = "Un-Safe"; }else{ $radio_val = "NA"; } } $output_field = $input_type == 1 ? $radio_val : $job_chklistfield->pivot->value; $checkListContent .='
  • '.$job_chklistfield->description.'
    '.$output_field.'
  • '; } } echo ($checkListContent); @endphp
@endforeach