Edit Company Information
{!! Form::open(['route' => ['companies.update.information', $company->id], 'method' => 'PATCH', 'class' => 'form-horizontal', 'id' => 'updateCompanyInformationForm']) !!}
{{ Form::label('company_name', 'Company Name', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::text('company_name', $company->company_name, ['class' => 'form-control', 'id' => 'company_name', 'autocomplete' => 'off', 'placeholder' => 'Company Name', 'required']) }}
{{ Form::label('company_email', 'Email', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::email('company_email', $company->company_email, ['class' => 'form-control', 'id' => 'company_email', 'autocomplete' => 'off', 'placeholder' => 'Company Email']) }}
{{ Form::label('dial_code', 'Dial Code', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::select( //SELECT FORM 'dial_code', //name $dialCodesList, explode(" ", $company->company_contact)[0], //value ['id' => 'dial_code', 'class' => 'form-control', 'data-toggle' => 'select3', 'required'] //attributes ) }}
{{ Form::label('contact_number', 'Contact Number', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::text('contact_number', explode(" ", $company->company_contact)[1], ['class' => 'form-control', 'id' => 'contact_number', 'autocomplete' => 'off', 'placeholder' => 'Contact Number']) }}
{{ Form::label('company_track_code', 'Registration Number', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::text('company_track_code', $company->company_registration_number, ['class' => 'form-control', 'id' => 'company_track_code', 'autocomplete' => 'off', 'placeholder' => 'Registration Number']) }}
{{ Form::label('status', 'Status', ['class' => 'col-md-2 col-form-label']) }}
{{ Form::select( //SELECT FORM 'status', //name array( //options '' => '~~SELECT~~', 'ENABLED' => 'Enabled', 'DISABLED' => 'Disabled', ), $company->companyStatus->status, //value ['id' => 'status', 'class' => 'form-control'] //attributes ) }}
{!! Form::close() !!}