@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)
@if($notPermited)
@endif
@foreach ($moduleData->permissions as $permission)
@php
$permissionType = $employee->customised_permissions === 1 ? $employee->permissionTypeId($permission->name) : $role->permissionType($permission->id);
$allowedPermissions = json_decode($permission->allowed_permissions);
@endphp
@endforeach
@if (count($moduleData->permissions) < 4)
@for ($i = 1; $i <= 4 - count($moduleData->permissions); $i++) -- @endfor
@endif