✓ {{session('success')}}
@endif
Nummer
{{$submission->number}}
Klant
{{$submission->customer_name ?: '—'}}
Ingevuld door
{{$submission->user->name}}
Status
{{ucfirst($submission->status)}}
Inhoud
@foreach($submission->schema_snapshot ?: ($submission->template->schema ?? []) as $field)
@php($value=$submission->data[$field['key']]??null)
@if($field['type']==='richtext')
@elseif($field['type']==='checklist')
@elseif($field['type']==='table')
@php($tableValue = is_array($value) ? $value : [])
@elseif($field['type']==='signature')
@elseGeen handtekening.@endif
@else
@if(is_array($value)) @php($value=($value['name']??json_encode($value,JSON_UNESCAPED_UNICODE))) @endif
@endif
@endforeach
{{$field['label']}}
{!! $value !!}
{{$field['label']}}
@foreach($field['items']??[] as $ri=>$item)
{{!empty($value[$ri])?'☑':'☐'}} {{$item}}
@endforeach{{$field['label']}}
| {{$column}} | @endforeach||
|---|---|---|
| {{ $row['label'] ?? '' }} | {{ $row['important'] ?? '' }} |
@foreach($row['checks'] ?? [] as $ci=>$check)
{{ !empty($selected[$ci]) ? '☑' : '☐' }} {{ $check }}
@endforeach
|
| {{ $rowLabel }} | @for($ci=1;$ci
{{$field['label']}}
@if($value){{$field['label']}}
{{$value === true ? 'Ja' : ($value === false ? 'Nee' : ($value ?: '—'))}}
Bijlagen
@foreach($submission->files as $file)
📎 {{$file->original_name}}
{{number_format($file->size/1024,0,',','.')}} KB · {{$file->mime_type}}
@endforeachGekoppelde bestanden
@foreach($submission->links as $link) @if($link->relation !== 'PEC uit dit formulier')@endif @endforeach
{{class_basename($link->linkable_type)}} #{{$link->linkable_id}}
{{$link->relation}}