@extends('admin.layout.master') @section('content')
@if(Session::has('success'))

{{ Session::get('success') }}

@endif

Notification List

@foreach($messages as $key=>$val) @endforeach
# Notification Icon Notification Date Distribution Type Notification Mode Username Notification Message Circle Code Read Status Read date Show Directly On Phone
{{$key+1}} @if($val->notification_icon) @endif {{ date('d-m-Y', strtotime($val->created_at)) }} {{ $val->distribution_type == 2 ? 'Broadcast' : 'Individual' }} {{ $val->notification_mode == 1 ? 'Automatic' : 'Admin DANT' }} {{ $val->username }} {{ $val->message }} {{ $val->circle_code }} {{ $val->read_status == 1 ? 'Read' : 'Unread' }} {{ $val->read_status == 1 ? date('d-m-Y', strtotime($val->read_time)) : 'NA' }} {{ $val->show_on_phone != 1 ? 'False' : 'True' }}
@endsection @section('scripts') @endsection