@include('includes.data_table_header')
{!! Form::open(['route' => $base_route.'.bulk-action', 'id' => 'bulk_action_form']) !!} @if (isset($data['rows']) && $data['rows']->count() > 0) @php($i = 1) @foreach($data['rows'] as $row) @php($i++) @endforeach {!! Form::close() !!} @else @endif
{{ __('common.s_n')}} Message Detail
{{ $i }}
DATE & TIME {{ \Carbon\Carbon::parse($row->created_at)->format('D m, Y H:i:s') }}
SUBJECT {{ $row->subject }}
MESSAGE {!! $row->message !!}
Group & Counting
@if(isset($row->group) && $row->group != '') @php($groups = explode(',',$row->group)) @php($i=1) @foreach($groups as $group) @php($i++) @endforeach
Group
{{$i}} {{$group}}
@endif
@if($row->sms == 1 && $row->email == 1)
SMS

Email
@elseif($row->sms == 1) @if(isset($row->ref) && $row->ref != 0) @php($refs = explode(',',$row->ref)) @php($i=1) @foreach($refs as $ref) @php($i++) @endforeach
SMS - {{count($refs)}}
{{$i}} {{$ref}}
@endif @elseif($row->email == 1) @if(isset($row->ref) && $row->ref != '') @php($refs = explode(',',$row->ref)) @php($i=1) @foreach($refs as $ref) @php($i++) @endforeach
E-mail - {{count($refs)}}
{{$i}} {{$ref}}
@endif @endif
Created By {!! $row->created_by_name !!}
No data found.