![]() 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/companies/ |
{!! CoralsForm::openForm($company,['data-table' => '#CompaniesDataTable']) !!} <div class="row"> <div class="col-md-3"> {!! CoralsForm::text('name', 'Medad::attributes.company.name', true ) !!} {!! CoralsForm::text('code', 'Medad::attributes.company.code', true ) !!} {!! CoralsForm::text('tin','Medad::attributes.company.tin') !!} </div> <div class="col-md-3"> {!! CoralsForm::select('location_id','Medad::attributes.location', \Address::getLocationsList('Medad'), false, null, [], 'select2')!!} {!! CoralsForm::text('phone_number', 'Medad::attributes.company.phone_number') !!} {!! CoralsForm::email('email', 'Medad::attributes.company.email') !!} {!! CoralsForm::text('website','Medad::attributes.company.website') !!} </div> <div class="col-md-6"> @can('admin',$company) {!! CoralsForm::radio('type','Medad::attributes.company.type',true,trans('Medad::attributes.company.type_options')) !!} {!! CoralsForm::radio('status','Corals::attributes.status',true,trans('Medad::attributes.company.status_options')) !!} @endcan </div> </div> @can('admin',$company) {!! CoralsForm::select('admins[]', 'Medad::attributes.company.admins', \Medad::getCompanyUsers('medad_company_admin'), false, $company->admins()->pluck('user_id')->toArray(), ['multiple'=>true],'select2') !!} @endcan {!! CoralsForm::customFields($company) !!} {!! CoralsForm::formButtons(trans("Corals::labels.submit"), [],['show_cancel'=>false]) !!} {!! CoralsForm::closeForm($company) !!}