Edit Company Branch Information
{!! Form::open(['route' => ['companies.branches.update.information', $companyBranch->id], 'method' => 'PATCH', 'class' => 'form-horizontal', 'id' => 'editCompanyBranchForm', 'enctype' => 'multipart/form-data']) !!}
{{ Form::label('name', 'Branch Name', []) }} {{ Form::text('name', $companyBranch->name, ['class' => 'form-control', 'id' => 'name', 'autocomplete' => 'off', 'placeholder' => 'Branch Name', 'required']) }}
{{ Form::label('email', 'Email', []) }} {{ Form::email('email', $companyBranch->email, ['class' => 'form-control', 'id' => 'email', 'autocomplete' => 'off', 'placeholder' => 'Email']) }}
{{ Form::label('address', 'Address', []) }} {{ Form::text('address', $companyBranch->address, ['class' => 'form-control', 'id' => 'address', 'autocomplete' => 'off', 'placeholder' => 'Address']) }}
{{ Form::label('postal_address', 'Postal Address', []) }} {{ Form::text('postal_address', $companyBranch->postal_address, ['class' => 'form-control', 'id' => 'postal_address', 'autocomplete' => 'off', 'placeholder' => 'Postal Address']) }}
{{ Form::label('zip_code', 'Zip Code', []) }} {{ Form::text('zip_code', $companyBranch->zip_code, ['class' => 'form-control', 'id' => 'zip_code', 'autocomplete' => 'off', 'placeholder' => 'Zip Code', 'required']) }}
{{ Form::label('dial_code', 'Dial Code', []) }} {{ Form::select( //SELECT FORM 'dial_code', //name $dialCodesList, explode(" ", $companyBranch->phone)[0], //value ['id' => 'dial_code', 'class' => 'form-control', 'data-toggle' => 'select2', 'required'] //attributes ) }}
{{ Form::label('phone', 'Contact Number', []) }} {{ Form::text('phone', explode(" ", $companyBranch->phone)[1], ['class' => 'form-control', 'id' => 'phone', 'autocomplete' => 'off', 'placeholder' => 'Phone Number', 'required']) }}
{{ Form::label('status', 'Status', []) }} {{ Form::select( //SELECT FORM 'status', //name array( '' => '~~SELECT~~', 'ACTIVE' => 'ACTIVE', 'INACTIVE' => 'INACTIVE', ), $companyBranch->status, //value ['id' => 'status', 'class' => 'form-control', 'required'] //attributes ) }}
{{ Form::label('notify_by_email', 'Notify By Email', []) }} {{ Form::select( //SELECT FORM 'notify_by_email', //name array( '' => '~~SELECT~~', '1' => 'Yes', '0' => 'No', ), $companyBranch->notify_by_email, //value ['id' => 'notify_by_email', 'class' => 'form-control', 'required'] //attributes ) }}
{{ Form::label('country', 'Country', []) }} {{ Form::select( //SELECT FORM 'country', //name $countriesList, $companyBranch->country, //value ['id' => 'country', 'class' => 'form-control', 'required'] //attributes ) }}
{{ Form::label('city', 'City', []) }} {{ Form::text('city', $companyBranch->city, ['class' => 'form-control', 'id' => 'city', 'autocomplete' => 'off', 'placeholder' => 'City']) }}
{{ Form::label('state', 'State', []) }} {{ Form::text('state', $companyBranch->state, ['class' => 'form-control', 'id' => 'state', 'autocomplete' => 'off', 'placeholder' => 'State']) }}
{!! Form::close() !!}