@extends('admin.layout.master') @section('title', 'Admin Notification') @section('content')

Index

@foreach ($notifications as $key => $notification) @endforeach
SL No. Document Message Type Publish Date Status Actions
{{ $key + 1 }} @if ($notification->image == null) Not Found @else Document @endif {!! $notification->message !!} @if ($notification->type == 1) Force Notification @elseif ($notification->type == 2) Normal Notification @elseif ($notification->type == 3) Closeless Notification @elseif ($notification->type == 4) Handbook Notification @elseif ($notification->type == 5) Document Notification @endif @if ($notification->created_at) {{ date('d-m-Y, h:i A', strtotime($notification->created_at)) }} @endif @if ($notification->status == 1) Active @else Inactive @endif
  @if ($notification->type == 4 || $notification->type == 5) @endif
{{ $notifications->links() }}
@endsection @section('script') @endsection