{!! 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::close() !!}
{!! Form::text('company_name', null, array('placeholder' => 'Company Name','class' => 'form-control form-control-sm')) !!}
@error('company_name')
{{ $message }}
@enderror
{!! Form::text('company_code', null, array('placeholder' => 'Company Code','class' => 'form-control form-control-sm','id' => 'company_code')) !!}
@error('company_code')
{{ $message }}
@enderror
{!! Form::text('gst_number', null, array('placeholder' => 'GST Number','class' => 'form-control form-control-sm','maxlength'=>15)) !!}
@error('gst_number')
{{ $message }}
@enderror
{!! Form::file('company_logo', array('placeholder' => 'Company Logo','class' => 'custom-file-input','id' => 'company_logo')) !!}
@error('company_logo')
{{ $message }}
@enderror
@if($company->company_logo)
@else
@endif
{!! Form::radio('company_type', 'manufacturer'); !!}
{!! Form::radio('company_type', 'distributer'); !!} @error('company_type') {{ $message }} @enderror
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('country', $countries,$company->country, array('class' => 'form-control form-control-sm','id' => 'country')) !!}
@error('countries')
{{ $message }}
@enderror
{!! Form::text('pin', null, array('placeholder' => 'PIN','class' => 'form-control form-control-sm')) !!}
@error('pin')
{{ $message }}
@enderror
Contact Person
@foreach($contact_persons as $contact_person)
@endforeach
{!! Form::text('contact_name[]', null, array('placeholder' => 'Name','class' => 'form-control form-control-sm','id' => 'contact_name')) !!}
@error('contact_name')
{{ $message }}
@enderror
{!! Form::text('contact_designation[]', null, array('placeholder' => 'Designation','class' => 'form-control form-control-sm','id' => 'contact_designation')) !!}
@error('contact_designation')
{{ $message }}
@enderror
{!! Form::text('contact_email[]', null, array('placeholder' => 'Email ID','class' => 'form-control form-control-sm','id' => 'contact_email')) !!}
@error('contact_email')
{{ $message }}
@enderror
{!! Form::text('contact_mob_code1[]', 91, array('placeholder' => 'Code','class' => 'form-control form-control-sm','id' => 'contact_mob_code1', 'maxlength'=>3)) !!}
{!! Form::text('contact_mobile1[]', null, array('placeholder' => 'Mobile Number','class' => 'form-control form-control-sm','id' => 'contact_mobile1','maxlength'=>10)) !!}
{!! Form::text('contact_mob_code2[]', 91, array('placeholder' => 'Code','class' => 'form-control form-control-sm','id' => 'contact_mob_code2', 'maxlength'=>3)) !!}
{!! Form::text('contact_mobile2[]', null, array('placeholder' => 'Additional Mobile Number','class' => 'form-control form-control-sm','id' => 'contact_mobile2','maxlength'=>10)) !!}