@extends('layouts.app') @section('css') @endsection @section('content')
@lang('messages.action') | @endif @if($is_enabled_sub_ref_no)@lang('messages.submission_numbering') | @endif@lang('messages.username') | @foreach($schema as $element) @if(in_array($element['name'], $col_visible)){{$element['label']}} | @endif @endforeach@lang('messages.submitted_on') |
---|---|---|---|---|
@if(in_array('view', $btn_enabled)) @endif @if(in_array('delete', $btn_enabled)) @endif @php $form_id = !empty($form->slug) ? $form->slug : $form->id; @endphp @lang('messages.edit') | @endif @if($is_enabled_sub_ref_no){{$row['submission_ref']}} | @endif{{ $row->submittedBy?->name }} | @foreach($schema as $row_element) @if(in_array($row_element['name'], $col_visible))@isset($row->data[$row_element['name']]) @if($row_element['type'] == 'file_upload') @include('form_data.file_view', ['form_upload' => $row->data[$row_element['name']]]) @elseif($row_element['type'] == 'signature') @if(!empty($row->data[$row_element['name']])) @endif @elseif(is_array($row->data[$row_element['name']]) && $row_element['type'] != 'file_upload') {{implode(', ', $row->data[$row_element['name']])}} @else {!! nl2br($row->data[$row_element['name']]) !!} @endif @endisset | @endif @endforeach
{{\Carbon\Carbon::createFromTimestamp(strtotime($row->updated_at))->format($date_format)}}
{{$row->updated_at->diffForHumans()}} |
Form Not found
@endif