@extends('admin.layout') @section('content')

{{ trans('Email Notification') }} {{ trans('Email Notification') }}...

@php $getUserRoleData = userRoleData(); $SendNotification = explode(",",$getUserRoleData->SendNotification); //$SendNotification = array("Add", "View", "Edit", "Delete"); @endphp
@if(in_array("Add",$SendNotification )) @endif
@if( count((array) $errors) > 0) @foreach($errors->all() as $error) @endforeach @endif @if(session()->has('message'))

{{ trans('labels.Successlabel') }}

{{ session()->get('message') }}
@endif @if(session()->has('error'))

{{ trans('labels.WarningLabel') }}

{{ session()->get('error') }}
@endif
@if(in_array("View",$SendNotification )) @if(in_array("Edit",$SendNotification ) || in_array("Delete",$SendNotification )) @endif @if(count((array) $result['enfData'])>0) @foreach ($result['enfData'] as $rsVal) @if(in_array("Edit",$SendNotification ) || in_array("Delete",$SendNotification )) @endif @endforeach @else @endif
{{ trans('Sn') }} {{ trans('Sender ID') }} {{ trans('Name') }}{{ trans('Action') }}
1 #{{ $rsVal->sender_id }} {{ $rsVal->name }} @if(in_array("Edit",$SendNotification )) @endif @if(in_array("Delete",$SendNotification )) @endif
No record found
@else

Please contact with SuperAdmin

@endif
@endsection