| # | {{ __('form.field_name') }} | {{ __('form.field_label') }} | {{ __('form.field_type') }} | {{ __('form.required') }} |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $field['name'] ?? '' }} | {{ $field['label'] ?? '' }} | {{ strtoupper($field['type'] ?? '') }} | @if($field['required'] ?? false) {{ __('form.yes') }} @else {{ __('form.no') }} @endif |
| {{ __('form.submission_id') }} | {{ __('form.submitted_at') }} | {{ __('form.data') }} | {{ __('form.actions') }} |
|---|---|---|---|
| {{ $submission->id }} | {{ $submission->created_at->format('d.m.Y H:i') }} |
@if($submission->form_data && is_array($submission->form_data))
@foreach(array_slice($submission->form_data, 0, 2) as $key => $value)
{{ ucfirst(str_replace('_', ' ', $key)) }}: {{ Str::limit($value, 30) }}
@endforeach
@if(count($submission->form_data) > 2)
{{ __('form.and_more_fields', ['count' => count($submission->form_data) - 2]) }}
@endif
@endif
|