mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Add a hidden field to handle departments inside Full Company Support config
This commit is contained in:
parent
d2fc98b685
commit
1b8156ac7f
|
@ -12,6 +12,8 @@
|
||||||
<!-- Company -->
|
<!-- Company -->
|
||||||
@if (\App\Models\Company::canManageUsersCompanies())
|
@if (\App\Models\Company::canManageUsersCompanies())
|
||||||
@include ('partials.forms.edit.company-select', ['translated_name' => trans('general.company'), 'fieldname' => 'company_id'])
|
@include ('partials.forms.edit.company-select', ['translated_name' => trans('general.company'), 'fieldname' => 'company_id'])
|
||||||
|
@else
|
||||||
|
<input id="hidden_company_id" type="hidden" name="company_id" value="{{ Auth::user()->company_id }}">
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue