Edit Company Details
{!! Form::model($company, ['method' => 'PATCH','route' => ['companies.update', $company->id],'files'=> true,'id'=>'company_form']) !!}
{!! Form::radio('company_type', 'manufacturer'); !!} {!! Form::radio('company_type', 'distributer'); !!} @error('company_type') {{ $message }} @enderror
{!! Form::text('company_name', null, array('placeholder' => 'Company Name','class' => 'form-control form-control-sm')) !!}
@error('company_name')
{{ $message }}
@enderror
{!! Form::radio('company_type', 'manufacturer'); !!} {!! Form::radio('company_type', 'distributer'); !!} @error('company_type') {{ $message }} @enderror
{!! Form::text('company_code', null, array('placeholder' => 'Company Code','class' => 'form-control form-control-sm')) !!}
@error('company_code')
{{ $message }}
@enderror
{!! Form::file('company_logo', array('placeholder' => 'Company Logo','class' => 'custom-file-input')) !!}
@error('company_logo')
{{ $message }}
@enderror
@if($company->company_logo)
@else
@endif
Contact Information
{!! Form::text('telephone_code', 91, array('placeholder' => 'Code','class' => 'form-control form-control-sm','maxlength'=>3)) !!}
@error('telephone_code')
{{ $message }}
@enderror
{!! Form::text('telephone', null, array('placeholder' => 'Contact Number','class' => 'form-control form-control-sm')) !!}
@error('telephone')
{{ $message }}
@enderror
{!! Form::text('email', null, array('placeholder' => 'Email','class' => 'form-control form-control-sm', 'id' => 'company_email_id')) !!}
@error('email')
{{ $message }}
@enderror
{!! Form::text('website', null, array('placeholder' => 'Website','class' => 'form-control form-control-sm')) !!}
@error('website')
{{ $message }}
@enderror
{!! Form::text('building_name', null, array('placeholder' => 'Building Name','class' => 'form-control form-control-sm')) !!}
@error('building_name')
{{ $message }}
@enderror
{!! Form::text('area', null, array('placeholder' => 'Area','class' => 'form-control form-control-sm')) !!}
@error('area')
{{ $message }}
@enderror
{!! Form::text('landmark', null, array('placeholder' => 'Landmark','class' => 'form-control form-control-sm')) !!}
@error('landmark')
{{ $message }}
@enderror
{!! Form::text('town', null, array('placeholder' => 'Town','class' => 'form-control form-control-sm')) !!}
@error('town')
{{ $message }}
@enderror
{!! Form::select('countries[]', $countries,$company->country, array('class' => 'form-control form-control-sm')) !!}
@error('countries')
{{ $message }}
@enderror
{!! Form::text('state', null, array('placeholder' => 'State','class' => 'form-control form-control-sm')) !!}
@error('state')
{{ $message }}
@enderror
{!! Form::text('pin', null, array('placeholder' => 'PIN','class' => 'form-control form-control-sm')) !!}
@error('pin')
{{ $message }}
@enderror
Company Categories
{!! Form::select('categories[]', $categories,$companyCategory, array('class' => 'form-control form-control-sm','multiple')) !!}
@error('categories')
{{ $message }}
@enderror