@extends('cms.application') @section('content')
{{ label('lbl_feedback') }}
@if($complaints->count() == 0)
@else {{-- --}} @foreach($complaints as $key => $complaint) {{-- --}} @endforeach
# Complaint Name Complaint E-mail Subject Created OnStatusOption
{{$key+1}} @php echo wordwrap($complaint->fullname,20,"
") @endphp
@php echo wordwrap($complaint->email,50,"
") @endphp
@php echo wordwrap($complaint->subject,50,"
") @endphp
{{ date_format(date_create($complaint->created_at), 'dS M Y, H:i:s') }}@if ($complaint->read) Read @else Unread @endif
View & Reply {!! link_to_route('cms.complaints.destroy', "Delete", array($complaint->id), array('data-method' => 'delete', 'data-confirm' => 'Are you Sure' ,'class' => 'label theme-b bg-danger text-white f-12')) !!}
{{-- {!! $complaints->render() !!} --}}
@endif
@stop