@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('name', trans("lang.e_service_name"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::text('name', null, ['class' => 'form-control','placeholder'=> trans("lang.e_service_name_placeholder")]) !!}
{{ trans("lang.e_service_name_help") }}
{!! Form::label('categories[]', trans("lang.e_service_categories"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('categories[]', $category, $categoriesSelected, ['class' => 'select2 form-control not-required' , 'data-empty'=>trans('lang.e_service_categories_placeholder'),'multiple'=>'multiple']) !!}
{{ trans("lang.e_service_categories_help") }}
{!! Form::label('price', trans("lang.e_service_price"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::number('price', null, ['class' => 'form-control','step'=>'any', 'min'=>'0', 'placeholder'=> trans("lang.e_service_price_placeholder")]) !!}
{{setting('default_currency','$')}}
{{ trans("lang.e_service_price_help") }}
{!! Form::label('discount_price', trans("lang.e_service_discount_price"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::number('discount_price', null, ['class' => 'form-control','step'=>'any', 'min'=>'0', 'placeholder'=> trans("lang.e_service_discount_price_placeholder")]) !!}
{{setting('default_currency','$')}}
{{ trans("lang.e_service_discount_price_help") }}
{!! Form::label('price_unit', trans("lang.e_service_price_unit"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('price_unit', ['hourly' => trans('lang.e_service_price_unit_hourly'),'fixed'=> trans('lang.e_service_price_unit_fixed')], null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.e_service_price_unit_help") }}
{!! Form::label('quantity_unit', trans("lang.e_service_quantity_unit"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::text('quantity_unit', null, ['class' => 'form-control','placeholder'=> trans("lang.e_service_quantity_unit_placeholder")]) !!}
{{ trans("lang.e_service_quantity_unit_help") }}
{!! Form::label('duration', trans("lang.e_service_duration"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::text('duration', null, ['class' => 'form-control datetimepicker-input','placeholder'=> trans("lang.e_service_duration_placeholder"), 'data-target'=>'.timepicker.duration','data-toggle'=>'datetimepicker','autocomplete'=>'off']) !!}
{{ trans("lang.e_service_duration_help") }}
{!! Form::label('e_provider_id', trans("lang.e_service_e_provider_id"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('e_provider_id', $eProvider, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.e_service_e_provider_id_help") }}
{!! Form::label('image', trans("lang.e_service_image"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{{ trans('lang.media_select')}}
{{ trans("lang.e_service_image_help") }}
@prepend('scripts') @endprepend
{!! Form::label('description', trans("lang.e_service_description"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::textarea('description', null, ['class' => 'form-control','placeholder'=> trans("lang.e_service_description_placeholder") ]) !!}
{{ trans("lang.e_service_description_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{!! Form::label('featured', trans("lang.e_service_featured"),['class' => 'control-label my-0 mx-3']) !!} {!! Form::hidden('featured', 0, ['id'=>"hidden_featured"]) !!} {!! Form::checkbox('featured', 1, null) !!}
{!! Form::label('enable_booking', trans("lang.e_service_enable_booking"),['class' => 'control-label my-0 mx-3'], false) !!} {!! Form::hidden('enable_booking', 0, ['id'=>"hidden_enable_booking"]) !!} {!! Form::checkbox('enable_booking', 1, null) !!}
{!! Form::label('available', trans("lang.e_service_available"),['class' => 'control-label my-0 mx-3']) !!} {!! Form::hidden('available', 0, ['id'=>"hidden_available"]) !!} {!! Form::checkbox('available', 1, null) !!}
{{trans('lang.cancel')}}