@if ($employee->hasRole('admin'))
@lang('app.module')
@lang('app.add')
@lang('app.view')
@lang('app.update')
@lang('app.delete')
@endforeach
@lang('modules.module.'.$moduleData->module_name)
@foreach ($moduleData->permissions as $permission)
@php
$permissionType = $employee->permissionTypeId($permission->name);
$allowedPermissions = json_decode($permission->allowed_permissions);
@endphp
@endforeach
@if (count($moduleData->permissions) < 4)
@for ($i = 1; $i <= 4 - count($moduleData->permissions); $i++) -- @endfor
@endif
@if ($moduleData->custom_permissions_count > 0)
@endif