@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('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('salon_id', trans("lang.e_service_salon_id"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('salon_id', $salon, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.e_service_salon_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") }}
{!! 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('enable_at_salon', trans("lang.e_service_enable_at_salon"),['class' => 'control-label my-0 mx-3'], false) !!} {!! Form::hidden('enable_at_salon', 0, ['id'=>"hidden_enable_at_salon"]) !!} {!! Form::checkbox('enable_at_salon', 1, null) !!}
{!! Form::label('enable_at_customer_address', trans("lang.e_service_enable_at_customer_address"),['class' => 'control-label my-0 mx-3'], false) !!} {!! Form::hidden('enable_at_customer_address', 0, ['id'=>"hidden_enable_at_customer_address"]) !!} {!! Form::checkbox('enable_at_customer_address', 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) !!}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}