![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/medad.corals.io/Corals/modules/Medad/resources/views/branches/ |
{!! CoralsForm::openForm($branch, ['data-table' => '#BranchesDataTable']) !!} <div class="row"> <div class="col-md-6"> {!! CoralsForm::text('name', 'Medad::attributes.company.name', true ) !!} {!! CoralsForm::select('location_id','Medad::attributes.location', \Address::getLocationsList('Medad'), false, null, [], 'select2');!!} </div> <div class="col-md-6"> {!! CoralsForm::text('phone_number', 'Medad::attributes.company.phone_number') !!} {!! CoralsForm::email('email', 'Medad::attributes.company.email') !!} </div> </div> {!! CoralsForm::select('admins[]', 'Medad::attributes.company.admins', \Medad::getCompanyUsers('medad_admin', $company), false, $branch->admins()->pluck('user_id')->toArray(), ['multiple'=>true], 'select2') !!} {!! CoralsForm::select('users[]', 'User::module.user.title', \Medad::getCompanyUsers(['medad_driver','medad_company_member'], $company) , false, $branch->users()->pluck('user_id')->toArray(), ['multiple'=>true], 'select2') !!} {!! CoralsForm::customFields($branch) !!} {!! CoralsForm::formButtons('',[],['show_cancel'=>false]) !!} {!! CoralsForm::closeForm($branch) !!}