{{translate('employee_Role_List')}} | ||||
---|---|---|---|---|
{{ translate('employee_Role_Analytics') .' '.'-'}} |
{{translate('search_Bar_Content')}} - {{!empty($data['searchValue']) ? $data['searchValue'] : 'N/A'}}
{{translate('active_Employee_Role').' '.'-'.' '.$data['active']}} {{translate('inactive_Employee_Role').' '.'-'.' '.$data['inActive']}} |
|||
{{translate('SL')}} | {{translate('role_Name')}} | {{translate('Modules')}} | {{translate('created_At')}} | {{translate('status')}} |
{{++$key}} | {{ucwords($item['name'])}} |
@if($item['module_access'] != null)
@foreach((array)json_decode($item['module_access']) as $module)
@if($module == 'report')
{{translate('reports_and_analytics').(!$loop->last ? ',': '')}} @elseif($module == 'user_section') {{translate('user_management').(!$loop->last ? ',': '')}} @elseif($module == 'support_section') {{translate('Help_&_Support_Section').(!$loop->last ? ',': '')}} @else {{translate(str_replace('_',' ', $module)).(!$loop->last ? ',': '')}} @endif @endforeach @endif |
{{date('d M, Y h:i A',strtotime($item->created_at))}} | {{translate($item['status'] ==1 ? 'active' : 'inactive')}} |