{!! Form::label('name', __('lang_v1.name').':') !!}
{!! Form::text('name', null, ['class' => 'form-control', 'required']); !!}
{!! Form::label('description', __('superadmin::lang.description').':') !!}
{!! Form::text('description', null, ['class' => 'form-control', 'required']); !!}
{!! Form::label('location_count', __('superadmin::lang.location_count').':') !!}
{!! Form::number('location_count', null, ['class' => 'form-control', 'required', 'min' => 0]); !!}
@lang('superadmin::lang.infinite_help')
{!! Form::label('user_count', __('superadmin::lang.user_count').':') !!}
{!! Form::number('user_count', null, ['class' => 'form-control', 'required', 'min' => 0]); !!}
@lang('superadmin::lang.infinite_help')
{!! Form::label('product_count', __('superadmin::lang.product_count').':') !!}
{!! Form::number('product_count', null, ['class' => 'form-control', 'required', 'min' => 0]); !!}
@lang('superadmin::lang.infinite_help')
{!! Form::label('invoice_count', __('superadmin::lang.invoice_count').':') !!}
{!! Form::number('invoice_count', null, ['class' => 'form-control', 'required', 'min' => 0]); !!}
@lang('superadmin::lang.infinite_help')
{!! Form::label('interval', __('superadmin::lang.interval').':') !!}
{!! Form::select('interval', $intervals, null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required']); !!}
{!! Form::label('interval_count ', __('superadmin::lang.interval_count').':') !!}
{!! Form::number('interval_count', null, ['class' => 'form-control', 'required', 'min' => 1]); !!}
{!! Form::label('trial_days ', __('superadmin::lang.trial_days').':') !!}
{!! Form::number('trial_days', null, ['class' => 'form-control', 'required', 'min' => 0]); !!}
{!! Form::label('sort_order ', __('superadmin::lang.sort_order').':') !!}
{!! Form::number('sort_order', 1, ['class' => 'form-control', 'required']); !!}
{!! Form::label('custom_link', __('superadmin::lang.custom_link').':') !!}
{!! Form::text('custom_link', null, ['class' => 'form-control']); !!}
{!! Form::label('custom_link_text', __('superadmin::lang.custom_link_text').':') !!}
{!! Form::text('custom_link_text', null, ['class' => 'form-control']); !!}
@foreach($permissions as $module => $module_permissions)
@foreach($module_permissions as $permission)
@if(isset($permission['field_type']) && in_array($permission['field_type'], ['number', 'input']))
{!! Form::label("custom_permissions[$permission[name]]", $permission['label'].':') !!}
@if(isset($permission['tooltip']))
@show_tooltip($permission['tooltip'])
@endif
{!! Form::text("custom_permissions[$permission[name]]", null, ['class' => 'form-control', 'type' => $permission['field_type']]); !!}
@else
@endif
@endforeach
@endforeach