{{-- Bootstrap --}} {{-- Font Awesome --}} {{-- DataTables --}}
| # | Unit | To | Body | Common Field | Type | Status | Channel | Template | Created By | Created At |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index+1 }} | {{ $row->report->unit_no ?? '-' }} | {{ $row->to }} | {{ \Illuminate\Support\Str::limit(strip_tags($row->body), 40) }} |
@if(!empty($row->custom_field['name']))
Name: {{ $row->custom_field['name'] }} @endif @if(!empty($row->custom_field['payment_date'])) Payment Date: {{ \Carbon\Carbon::parse($row->custom_field['payment_date'])->format('d M Y') }} @endif |
@if($row->type == 'email') Email @else Message @endif | @if($row->status == 'pending') Pending @elseif($row->status == 'sent') Sent @else Failed @endif | @if($row->chanel == 1) {{$row->chanel}} @elseif($row->chanel == 2) {{$row->chanel}} @else Other @endif | {{ $row->template_name }} | {{ $row->user->name ?? '-' }} | {{ $row->created_at->format('d-M-Y h:i A') }} |