@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('user_id', trans("lang.booking_user_id"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('user_id', $user, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.booking_user_id_help") }}
{!! Form::label('driver_id', trans("lang.booking_driver_id"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('driver_id', $driver, null, ['data-empty'=>trans("lang.booking_driver_id_placeholder"),'class' => 'select2 not-required form-control']) !!}
{{ trans("lang.booking_driver_id_help") }}
{!! Form::label('booking_status_id', trans("lang.booking_booking_status_id"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('booking_status_id', $bookingStatus, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.booking_booking_status_id_help") }}
{!! Form::label('status', trans("lang.payment_status"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('status', [ 'Waiting for Client' => trans('lang.booking_pending'), 'Not Paid' => trans('lang.booking_not_paid'), 'Paid' => trans('lang.booking_paid'), ] , isset($booking->payment) ? $booking->payment->status : '', ['class' => 'select2 form-control']) !!}
{{ trans("lang.payment_status_help") }}
{!! Form::label('active', trans("lang.booking_active"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::label('tax', trans("lang.booking_tax"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::number('tax', null, ['class' => 'form-control', 'step'=>"any",'placeholder'=> trans("lang.booking_tax_placeholder")]) !!}
{{ trans("lang.booking_tax_help") }}
{!! Form::label('additional_fee', trans("lang.booking_additional_fee"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::number('additional_fee', null, ['class' => 'form-control','step'=>"any",'placeholder'=> trans("lang.booking_additional_fee_placeholder")]) !!}
{{ trans("lang.booking_additional_fee_help") }}
{!! Form::label('hint', trans("lang.booking_hint"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::textarea('hint', null, ['class' => 'form-control','placeholder'=> trans("lang.booking_hint_placeholder") ]) !!}
{{ trans("lang.booking_hint_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}