@extends('layouts.admin.app') @section('title', \App\Utils\translate('create_role')) @push('css_or_js') @endpush @section('content')

{{ \App\Utils\translate('create_role') }}

@csrf
{{ \App\Utils\translate('module_permission')}} :
@foreach($modules as $module)
@endforeach
{{ \App\Utils\translate('role_table') }} {{$roles->total()}}
@foreach($roles as $k=>$role) @endforeach
{{\App\Utils\translate('sl') }} {{\App\Utils\translate('Employee_Role_List') }} {{\App\Utils\translate('modules')}} {{\App\Utils\translate('status')}} {{\App\Utils\translate('action')}}
{{$k+$roles->firstItem()}} {{Str::limit($role['name'],25,'...')}}
@if($role['modules']!=null) @foreach((array)json_decode($role['modules']) as $key=>$m) {{str_replace('_',' ',$m)}} @endforeach @endif
@csrf @method('delete')

@if(count($roles) === 0)
Image Description

{{ \App\Utils\translate('No_data_to_show') }}

@endif
@endsection @push('script_2') @endpush