@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('image', trans("lang.clinic_image"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{{ trans('lang.media_select')}}
{{ trans("lang.clinic_image_help") }}
@prepend('scripts') @endprepend
{!! Form::label('name', trans("lang.clinic_name"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::text('name', null, ['class' => 'form-control','placeholder'=> trans("lang.clinic_name_placeholder")]) !!}
{{ trans("lang.clinic_name_help") }}
{!! Form::label('clinic_level_id', trans("lang.clinic_level_id"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('clinic_level_id', $clinicLevel, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.clinic_level_id_help") }}
{!! Form::label('users[]', trans("lang.clinic_users"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('users[]', $user, $usersSelected, ['class' => 'select2 form-control' , 'multiple'=>'multiple']) !!}
{{ trans("lang.clinic_users_help") }}
{!! Form::label('description', trans("lang.clinic_description"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::textarea('description', null, ['class' => 'form-control','placeholder'=> trans("lang.clinic_description_placeholder") ]) !!}
{{ trans("lang.clinic_description_help") }}
{!! Form::label('phone_number', trans("lang.clinic_phone_number"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::text('phone_number', null, ['class' => 'form-control','placeholder'=> trans("lang.clinic_phone_number_placeholder")]) !!}
{{ trans("lang.clinic_phone_number_help") }}
{!! Form::label('mobile_number', trans("lang.clinic_mobile_number"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::text('mobile_number', null, ['class' => 'form-control','placeholder'=> trans("lang.clinic_mobile_number_placeholder")]) !!}
{{ trans("lang.clinic_mobile_number_help") }}
{!! Form::label('address_id', trans("lang.clinic_address"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('address_id', $address, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.clinic_address_help") }}
{!! Form::label('taxes[]', trans("lang.clinic_taxes"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('taxes[]', $tax, $taxesSelected, ['class' => 'select2 form-control' , 'multiple'=>'multiple']) !!}
{{ trans("lang.clinic_taxes_help") }}
{!! Form::label('availability_range', trans("lang.clinic_availability_range"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::number('availability_range', null, ['class' => 'form-control','step'=>'any', 'min'=>'0', 'placeholder'=> trans("lang.clinic_availability_range_placeholder")]) !!}
{{trans("lang.app_setting_".setting('distance_unit','mi'))}}
{{ trans("lang.clinic_availability_range_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
@role('admin')
{!! Form::label('accepted', trans("lang.clinic_accepted"),['class' => 'control-label my-0 mx-3']) !!} {!! Form::hidden('accepted', 0, ['id'=>"hidden_accepted"]) !!} {!! Form::checkbox('accepted', 1, null) !!}
@endrole
{!! Form::label('available', trans("lang.clinic_available"),['class' => 'control-label my-0 mx-3']) !!} {!! Form::hidden('available', 0, ['id'=>"hidden_available"]) !!} {!! Form::checkbox('available', 1, null) !!}
{!! Form::label('featured', trans("lang.clinic_featured"),['class' => 'control-label my-0 mx-3']) !!} {!! Form::hidden('featured', 0, ['id'=>"hidden_featured"]) !!} {!! Form::checkbox('featured', 1, null) !!}
{{trans('lang.cancel')}}