| {{ ++$i; }} |
{{ $notification->title }} |
@if(strlen($notification->message) < 50) {{ $notification->message }} |
@else
{{ substr($notification->message, 0, 50)."..." }}Read More |
@endif
{{ $notification->type }} |
{{ isset($notification->schedule_datetime) ? date('d-m-Y h:i:s A', strtotime($notification->schedule_datetime)) : '' }} |
@if(strtolower($notification->type) == 'now')
{{ isset($notification->created_at) ? date('d-m-Y h:i:s A', strtotime($notification->created_at)) : '' }} |
@else
{{ isset($notification->sent_on) ? date('d-m-Y h:i:s A', strtotime($notification->sent_on)) : '' }} |
@endif
@if(strtolower($notification->type) != 'now' && $notification->sent_on == '')
@endif
|
@endforeach