@extends('../layout/' . $layout) @section('subhead') ContactUs List @endsection @section('subcontent')

Contact Us

@if ($totalRecords > 0)
@php $no = 0; @endphp @foreach ($contacts as $clist) @endforeach
# Name Email Description Entry Date
{{ ($page - 1) * 15 + ++$no }}
{{ $clist->contact_name ? $clist->contact_name : '--' }}
{{ $clist->contact_email ? $clist->contact_email : '--' }}
{{(!empty($clist->contact_message) ? (strlen($clist->contact_message) > 50 ? ucwords(substr($clist->contact_message, 0, 50)) . ' ...' : ucwords($clist->contact_message)) : '- -')}} {{ date('d M,Y H:i A', strtotime($clist->created_at)) ? date('d M,Y H:i A', strtotime($clist->created_at)) : '--' }}
@if ($totalRecords > 0)
Showing {{ $start }} to {{ $end }} of {{ $totalRecords }} entries
@endif
@else
noData

No Data Available

@endif @endsection @section('script') @endsection