{!! Form::label('name', __('models/companies.fields.name').':') !!}
{!! Form::text('name', null, ['class' => ($errors->has('name')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{!! Form::label('email', __('models/companies.fields.email').':') !!}
{!! Form::email('email', null, ['class' => ($errors->has('email')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
{!! Form::label('contact_person', __('models/companies.fields.contact_person').':') !!}
{!! Form::text('contact_person', null, ['class' => ($errors->has('contact_person')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('contact_person'))
{{ $errors->first('contact_person') }}
@endif
{!! Form::label('contact_no', __('models/companies.fields.contact_no').':') !!}
{!! Form::text('contact_no', null, ['class' => ($errors->has('contact_no')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('contact_no'))
{{ $errors->first('contact_no') }}
@endif
{!! Form::label('contact_no_two', __('models/companies.fields.contact_no_two').':') !!}
{!! Form::text('contact_no_two', null, ['class' => ($errors->has('contact_no_two')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('contact_no_two'))
{{ $errors->first('contact_no_two') }}
@endif
{!! Form::label('vat_no', __('models/companies.fields.vat_no').':') !!}
{!! Form::text('vat_no', null, ['class' => ($errors->has('vat_no')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('vat_no'))
{{ $errors->first('vat_no') }}
@endif
{!! Form::label('location', __('models/companies.fields.location').':') !!}
{!! Form::text('location', null, ['class' => 'form-control']) !!}
@section('scripts')
@parent
@endsection
{!! Form::label('billing_address', __('models/companies.fields.billing_address').':') !!}
{!! Form::text('billing_address', null, ['class' => ($errors->has('billing_address')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('billing_address'))
{{ $errors->first('billing_address') }}
@endif
{!! Form::label('billing_contact_person', __('models/companies.fields.billing_contact_person').':') !!}
{!! Form::text('billing_contact_person', null, ['class' => ($errors->has('billing_contact_person')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('billing_contact_person'))
{{ $errors->first('billing_contact_person') }}
@endif
{!! Form::label('billing_pob', __('models/companies.fields.billing_pob').':') !!}
{!! Form::text('billing_pob', null, ['class' => ($errors->has('billing_pob')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('billing_pob'))
{{ $errors->first('billing_pob') }}
@endif
{!! Form::label('billing_email', __('models/companies.fields.billing_email').':') !!}
{!! Form::text('billing_email', null, ['class' => ($errors->has('billing_email')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('billing_email'))
{{ $errors->first('billing_email') }}
@endif
{!! Form::label('shipping_address', __('models/companies.fields.shipping_address').':') !!}
{!! Form::text('shipping_address', null, ['class' => ($errors->has('shipping_address')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('shipping_address'))
{{ $errors->first('shipping_address') }}
@endif
{!! Form::label('shipping_contact_person', __('models/companies.fields.shipping_contact_person').':') !!}
{!! Form::text('shipping_contact_person', null, ['class' => ($errors->has('shipping_contact_person')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('shipping_contact_person'))
{{ $errors->first('shipping_contact_person') }}
@endif
{!! Form::label('shipping_pob', __('models/companies.fields.shipping_pob').':') !!}
{!! Form::text('shipping_pob', null, ['class' => ($errors->has('shipping_pob')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('shipping_pob'))
{{ $errors->first('shipping_pob') }}
@endif
{!! Form::label('shipping_email', __('models/companies.fields.shipping_email').':') !!}
{!! Form::text('shipping_email', null, ['class' => ($errors->has('shipping_email')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('shipping_email'))
{{ $errors->first('shipping_email') }}
@endif
{!! Form::label('payment_terms', __('models/companies.fields.payment_terms').':') !!}
{!! Form::text('payment_terms', null, ['class' => ($errors->has('payment_terms')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('payment_terms'))
{{ $errors->first('payment_terms') }}
@endif
{!! Form::label('credit_limit', __('models/companies.fields.credit_limit').':') !!}
{!! Form::text('credit_limit', null, ['class' => ($errors->has('credit_limit')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('credit_limit'))
{{ $errors->first('credit_limit') }}
@endif