@extends('admin.layouts.app') @push('libraries_top') @endpush @section('content')

{{ $pageTitle }}

@can('admin_notifications_send') @endcan
@foreach($notifications as $notification) @endforeach
{{ trans('admin/main.title') }} {{ trans('notification.sender') }} {{ trans('notification.receiver') }} {{ trans('site.message') }} {{ trans('admin/main.type') }} {{ trans('admin/main.status') }} {{ trans('admin/main.created_at') }} {{ trans('public.controls') }}
{{ $notification->title }} {{ $notification->senderUser->full_name }} @if(!empty($notification->user)) {{ $notification->user->full_name }} ID: {{ $notification->user->id }} @else - @endif {{ trans('admin/main.notification_'.$notification->type) }} @if(empty($notification->notificationStatus)) {{ trans('admin/main.unread') }} @else {{ trans('admin/main.read') }} @endif {{ dateTimeFormat($notification->created_at,'j M Y | H:i') }} @can('admin_notifications_delete') @include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/notifications/'. $notification->id.'/delete','btnClass' => '']) @endcan
@endsection @push('scripts_bottom') @endpush