@php $user = auth()->user(); $merchant_user = $user->merchantId(); $special_role = isset($role) && $role->isSpecial() ? true : false; @endphp
{!! Form::label('modules', trans('app.modules'), ['class' => 'with-help']) !!} | {!! Form::label('permissions', trans('app.form.permissions'), ['class' => 'with-help']) !!} |
---|
{{ Form::hidden($module_name, 0) }}
{!! Form::checkbox($module_name, null, $module_enabled ? 1 : null, ['id' => $module_name, 'class' => 'icheckbox_line role-module']) !!}
{!! Form::label($module_name, strtoupper($module->name)) !!}
|
@foreach ($module->permissions as $permission)
|
@endforeach
* {{ trans('app.form.required_fields') }}