{{ __('Primary contact person')}}

{!! Form::label('name', __('Name'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::text('name', isset($data['owners']) ? $data['owners'][0]['name'] : null, ['class' => 'form-control']) !!}
{!! Form::label('email', __('Email'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::email('email', isset($data['email']) ? $data['email'] : null, ['class' => 'form-control']) !!}
{!! Form::label('primary_number', __('Primary number'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::text('primary_number', isset($data['phone']) ? $data['phone'] : null, ['class' => 'form-control']) !!}
{!! Form::label('secondary_number', __('Secondary number'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::text('secondary_number', null, ['class' => 'form-control']) !!}

{{ __('Business information') }}

{!! Form::label('vat', __('Vat'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::text('vat', isset($data['vat']) ?$data['vat'] : null, ['class' => 'form-control']) !!}
{!! Form::label('company_name', __('Company name'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::text('company_name', isset($data['name']) ? $data['name'] : null, ['class' => 'form-control']) !!}
{!! Form::label('address', __('Address'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::text('address', isset($data['address']) ? $data['address'] : null, ['class' => 'form-control']) !!}
{!! Form::label('zipcode', __('Zipcode'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::text('zipcode', isset($data['zipcode']) ? $data['zipcode'] : null, ['class' => 'form-control']) !!}
{!! Form::label('city', __('City'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::text('city', isset($data['city']) ? $data['city'] : null, ['class' => 'form-control']) !!}
{!! Form::label('company_type', __('Company type'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::text('company_type', isset($data['companydesc']) ? $data['companydesc'] : null, ['class' => 'form-control']) !!}
{!! Form::label('industry', __('Industry'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::select('industry_id', $industries, null, ['class' => 'form-control ui search selection top right pointing search-select', 'id' => 'search-select']) !!}

{{ __('User') }}

{!! Form::label('user_id', __('Assign user'). ':', ['class' => 'control-label thin-weight']) !!} {!! Form::select('user_id', $users, null, ['class' => 'form-control ui search selection top right pointing search-select', 'id' => 'search-select']) !!}

{!! Form::submit($submitButtonText, ['class' => 'btn btn-md btn-brand', 'id' => 'submitClient']) !!}