@foreach($visitorMessages as $key=> $row)
|
|
@if(in_array('role', getContactUsFields($routeName)))
{{ getVisitorMsgRole($row->role) }} |
@endif
@if(in_array('name', getContactUsFields($routeName)))
{{ $row->name }} |
@endif
@if(in_array('phone', getContactUsFields($routeName)))
{{ $row->phone }} |
@endif
@if(in_array('email', getContactUsFields($routeName)))
{{ $row->email }} |
@endif
@if(in_array('type_id', getContactUsFields($routeName)))
{{ $row->option->currentDescription->title ?? "" }} |
@endif
@if(in_array('reservation_id', getContactUsFields($routeName)))
{{ $row->reservation_id }} |
@endif
{{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} |
|
@endforeach
@if( count( $visitorMessages ) && $visitorMessages->hasPages() )
@endif