@extends('user.layouts.app-newui') @section('content') @php $notification_data = $data['notification_data'] ?? null; @endphp

Your Notifications

@if($notification_data && $notification_data->count() > 0)
@foreach($notification_data as $notification) @php $icon = $notification->as_icon; if ($icon == 'fa-file-text-o' || $icon == 'fa-file-text') { $icon = 'fa-file-alt'; }else if($icon == ""){ $icon = 'fa-bell'; } @endphp

{{ $notification->notification_log_text }}

@if($notification->is_read == 0) New @endif
{{ dateformat($notification->created_at, "M d, Y h:i a") }}
@endforeach {{-- Keep pagination links available for jScroll --}}
{{ $notification_data->onEachSide(1)->links() }}
@else

You have no new notifications.

@endif
@endsection @section('scripts') @stop