@extends('admin.layouts.app')
@push('libraries_top')
@endpush
@section('content')
{{ $pageTitle }}
@foreach($notifications as $notification)
{{ 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') }}
@endforeach
{{ $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