@extends('backend.layouts.app') @section('content')

{{ translate('Custom Notification History') }}

{{ translate('Default system notifications doesn’t show in custom notification history') }}
@can('delete_custom_notification_history') @endcan
@foreach ($customNotifications as $key => $customNotification) @endforeach
{{ translate('Type') }} {{ translate('Date & Time ') }} {{ translate('Notification') }} {{ translate('Link') }} {{ translate('Actions') }}
{{ get_notification_type($customNotification->notification_type_id, 'id')->getTranslation('name') }} {{ date('d.m.Y, g.i a', strtotime($customNotification->created_at)) }} {{ get_notification_type($customNotification->notification_type_id, 'id')->getTranslation('default_text') ?? null }} {{ json_decode($customNotification->data, true)['link'] }} @can('delete_custom_notification_history') @endcan
{{ $customNotifications->appends(request()->input())->links() }}
@endsection @section('modal') @include('modals.delete_modal') @include('modals.bulk_delete_modal') @endsection @section('script') @endsection