@extends('layouts.admin.app') @section('title',translate('messages.custom_role')) @push('css_or_js') @endpush @section('content')
@csrf
{{translate('messages.module_permission')}} :
{{--
--}}
{{--
--}}
{{--
--}}
{{translate('messages.roles_table')}} {{$rl->total()}}
@csrf
{{----}} @foreach($rl as $k=>$r) {{----}} @endforeach
{{ translate('messages.sl') }} {{ translate('Employee Role List') }} {{translate('messages.modules')}} {{translate('messages.created_at')}}{{translate('messages.status')}}{{translate('messages.action')}}
{{$k+$rl->firstItem()}} {{Str::limit($r['name'],25,'...')}} @if($r['modules']!=null) @foreach((array)json_decode($r['modules']) as $key=>$m) {{str_replace('_',' ',$m)}}, @endforeach @endif {{date('d-M-y',strtotime($r['created_at']))}} {{$r->status?'Active':'Inactive'}}
@csrf @method('delete')
@if(count($rl) === 0)
public
{{translate('no_data_found')}}
@endif
{{--
1-15 of 380
--}}
{!! $rl->links() !!}
@endsection @push('script_2') @endpush