missing create file..
This commit is contained in:
parent
be044e34fb
commit
8e25773535
@ -32,21 +32,23 @@
|
|||||||
</x-slot>
|
</x-slot>
|
||||||
</x-form.section>
|
</x-form.section>
|
||||||
|
|
||||||
<x-form.section>
|
@if (user()->can('read-common-companies') || user()->hasRole(['admin', 'manager']))
|
||||||
<x-slot name="head">
|
<x-form.section>
|
||||||
<x-form.section.head title="{{ trans('general.assign') }}" description="{!! trans('auth.form_description.assign', ['url' => $roles_url]) !!}" />
|
<x-slot name="head">
|
||||||
</x-slot>
|
<x-form.section.head title="{{ trans('general.assign') }}" description="{!! trans('auth.form_description.assign', ['url' => $roles_url]) !!}" />
|
||||||
|
</x-slot>
|
||||||
|
|
||||||
<x-slot name="body">
|
<x-slot name="body">
|
||||||
@can('read-common-companies')
|
@can('read-common-companies')
|
||||||
<x-form.group.select multiple remote name="companies" label="{{ trans_choice('general.companies', 2) }}" :options="$companies" remote_action="{{ route('companies.index') }}" form-group-class="sm:col-span-6" />
|
<x-form.group.select multiple remote name="companies" label="{{ trans_choice('general.companies', 2) }}" :options="$companies" remote_action="{{ route('companies.index') }}" form-group-class="sm:col-span-6" />
|
||||||
@endcan
|
@endcan
|
||||||
|
|
||||||
@role('admin|manager')
|
@role('admin|manager')
|
||||||
<x-form.group.select name="roles" label="{{ trans_choice('general.roles', 1) }}" :options="$roles" />
|
<x-form.group.select name="roles" label="{{ trans_choice('general.roles', 1) }}" :options="$roles" />
|
||||||
@endrole
|
@endrole
|
||||||
</x-slot>
|
</x-slot>
|
||||||
</x-form.section>
|
</x-form.section>
|
||||||
|
@endif
|
||||||
|
|
||||||
<x-form.section>
|
<x-form.section>
|
||||||
<x-slot name="head">
|
<x-slot name="head">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user