{!! Form::hidden('id', null, ['id' => 'id']) !!} {!! Form::hidden('type_id', $type_id, ['id' => 'type_id']) !!} @if ($facilities_allowed) {!! Form::hidden('facilities_allowed', "yes", ['id' => 'facilities_allowed']) !!} @else {!! Form::hidden('facilities_allowed', "no", ['id' => 'facilities_allowed']) !!} @endif

{{ ucfirst(trans('hilbit.'.$provider_type.'.dashboard')) }}

@if (isset($active_record))
{{ucfirst(trans('hilbit.'.$provider_type.'.description')) }} Code:
{{ $provider->code }}
Created at:
{!! App\Helpers\DisplayHelper::formatDateTime($provider->created_at) !!}
@if ($provider->facility_confirmed)
facility confirmed: {!! App\Helpers\DisplayHelper::formatDate($provider->facility_confirm_date) !!}
@endif @if ($provider->facility_unconfirmed)
facility unconfirmed: {!! App\Helpers\DisplayHelper::formatDate($provider->facility_unconfirm_date) !!}
@endif
@endif
{!! Form::label('code', 'Code:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('code', null, ['class' => 'form-control', 'required', 'maxlength' => 6, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('name', 'Name:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('name', null, ['class' => 'form-control', 'maxlength' => 30, 'required','v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('language_id', 'Language:', ['class' => 'control-label col-sm-2', ]) !!}
{!! Form::select('language_id', $language_list, null, ['class' => 'form-control', 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('vat_registered', 'Vat registered?', ['class' => 'control-label col-sm-2']) !!}
{!! Form::checkbox('vat_registered', null, null, ['v-bind:disabled' => 'disable_input', 'v-model' => 'vat_registered']) !!}
{!! Form::label('vat_registration', 'Vat Reg:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('vat_registration', null, ['class' => 'form-control', 'maxlength' => 20, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('registrationID', 'Reg. ID:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('registrationID', null, ['class' => 'form-control', 'maxlength' => 20, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('address1', 'Physical Address:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('address1', null, ['class' => 'form-control margin-bottom', 'maxlength' => 40,'v-bind:disabled' => 'disable_input']) !!} {!! Form::text('address2', null, ['class' => 'form-control margin-bottom', 'maxlength' => 40, 'v-bind:disabled' => 'disable_input']) !!} {!! Form::text('address3', null, ['class' => 'form-control margin-bottom', 'maxlength' => 40, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('postalcode', 'Post Code:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('postalcode', null, ['class' => 'form-control', 'maxlength' => 20, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('address1', 'Postal Address:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('post_address1', null, ['class' => 'form-control margin-bottom', 'maxlength' => 40, 'v-bind:disabled' => 'disable_input']) !!} {!! Form::text('post_address2', null, ['class' => 'form-control margin-bottom', 'maxlength' => 40, 'v-bind:disabled' => 'disable_input']) !!} {!! Form::text('post_address3', null, ['class' => 'form-control margin-bottom', 'maxlength' => 40, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('post_postalcode', 'Post Code:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('post_postalcode', null, ['class' => 'form-control', 'maxlength' => 20, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('work_phone', 'Tel (w):', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('work_phone', null, ['class' => 'form-control', 'maxlength' => 20, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('home_phone', 'Tel (h):', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('home_phone', null, ['class' => 'form-control', 'maxlength' => 20, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('fax', 'Fax:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('fax', null, ['class' => 'form-control', 'maxlength' => 20, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('cell', 'Cell:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('cell', null, ['class' => 'form-control', 'maxlength' => 20, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('email', 'Email:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::email('email', null, ['class' => 'form-control', 'maxlength' => 50, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('url', 'URL:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::url('url', null, ['class' => 'form-control', 'maxlength' => 100, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('contact', 'Contact:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('contact', null, ['class' => 'form-control', 'maxlength' => 50, 'v-bind:disabled' => 'disable_input']) !!}
{!! Form::label('facility_code', 'Facility No:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('facility_code', null, ['class' => 'form-control', 'required', 'maxlength' => 9, 'v-bind:disabled' => 'disable_facility_input']) !!}
{!! Form::label('facility_date', 'Facility Date:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::formattedDate('facility_date', ['class' => 'form-control', 'required', 'type'=> 'text', 'v-bind:disabled' => 'disable_facility_input']) !!}
{!! Form::label('facility_signatory', 'Signatory:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('facility_signatory', null, ['class' => 'form-control', 'maxlength' => 100, 'v-bind:disabled' => 'disable_facility_input']) !!}
{!! Form::label('facility_limit', 'Facility Limit:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('facility_limit', null, ['class' => 'form-control', 'type' => 'number', 'required', 'v-bind:disabled' => 'disable_facility_input']) !!}
@if (!$facilities_allowed)
{!! Form::label('payment_term_id', 'Payment Terms:', ['class' => 'control-label col-sm-2', ]) !!}
{!! Form::select('payment_term_id', $payment_term_list, null, ['class' => 'form-control', 'required', 'v-bind:disabled' => 'disable_facility_input']) !!}
{!! Form::label('facility_discount_percent', 'Settlement Discount:', ['class' => 'control-label col-sm-2']) !!}
{!! Form::text('facility_discount_percent', null, ['class' => 'form-control', 'type' => 'number', 'v-bind:disabled' => 'disable_facility_input']) !!}
@endif

Assets

Income


@if ($can_update)
{!! Form::submit($submitButtonText, ['class' => 'btn btn-success btn-sm']) !!}
@endif