Notifications

{{__('Notifications')}}

@push('script-page') @endpush
@if (Gate::check('edit notification') || Gate::check('delete notification')) @endif @foreach ($notifications as $item) @if (Gate::check('edit notification') || Gate::check('delete notification')) @endif @endforeach
{{ __('Module') }} {{ __('Subject') }} {{ __('Email Enable') }}{{ __('Action') }}
{{ \App\Models\Notification::$modules[$item->module]['name'] }} {{ $item->subject }} @if ($item->enabled_email == 1) {{ __('Enabled') }} @else {{ __('Disabled') }} @endif
@can('edit notification') @endcan @can('delete notification') {!! Form::open(['method' => 'DELETE', 'route' => ['notification.destroy', $item->id], 'style' => 'display:inline']) !!} {!! Form::close() !!} @endcan