Add a hidden field to handle departments inside Full Company Support config

This commit is contained in:
Ivan Nieto Vivanco 2021-07-29 13:28:57 -05:00
parent d2fc98b685
commit 1b8156ac7f

View file

@ -12,6 +12,8 @@
<!-- Company -->
@if (\App\Models\Company::canManageUsersCompanies())
@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