{{ $checkpoint->name }} |
@if($has_checklist)
@if(isset($checkpoint->checklist_json))
@foreach($checkpoint->checklist_json as $checklist)
- {!! $checklist->label !!}
@if(isset($checklist->multiple) && $checklist->multiple)
@if (!empty($checklist->value))
@foreach($checklist->value as $value)
- {!! $value !!}
@endforeach
@endif
@else
@if (!empty($checklist->value))
@if($checklist->type == 'date_time')
- {!! Carbon::parse($checklist->value)->toDateTimeString() !!}
@else
- {!! $checklist->value !!}
@endif
@endif
@endif
@endforeach
@endif
|
@endif
{{ (isset($checkpoint->scanOrder)) ? $checkpoint->scanOrder + 1 : '-' }} |
@if ($checkpoint->completed)
Yes
@else
No
@endif
|
@if (isset($checkpoint->time_completed))
{{ showDateTime($checkpoint->time_completed) }}
@endif
|
@if (isset($checkpoint->remarks))
{{ $checkpoint->remarks }}
@endif
|
{{-- Attachments v1 --}}
@if (isset($checkpoint->attachments))
@foreach (array_chunk($checkpoint->attachments,2) as $attachment_uuids)