@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('user_id', trans("lang.order_user_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('user_id', $user, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.order_user_id_help") }}
{!! Form::label('driver_id', trans("lang.order_driver_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('driver_id', $driver, null, ['data-empty'=>trans("lang.order_driver_id_placeholder"),'class' => 'select2 not-required form-control']) !!}
{{ trans("lang.order_driver_id_help") }}
{!! Form::label('order_status_id', trans("lang.order_order_status_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('order_status_id', $orderStatus, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.order_order_status_id_help") }}
{!! Form::label('status', trans("lang.payment_status"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('status', [ 'Waiting for Client' => trans('lang.order_pending'), 'Not Paid' => trans('lang.order_not_paid'), 'Paid' => trans('lang.order_paid'), ] , isset($order->payment) ? $order->payment->status : '', ['class' => 'select2 form-control']) !!}
{{ trans("lang.payment_status_help") }}
{!! Form::label('active', trans("lang.order_active"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::label('tax', trans("lang.order_tax"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('tax', null, ['class' => 'form-control', 'step'=>"any",'placeholder'=> trans("lang.order_tax_placeholder")]) !!}
{{ trans("lang.order_tax_help") }}
{!! Form::label('delivery_fee', trans("lang.order_delivery_fee"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('delivery_fee', null, ['class' => 'form-control','step'=>"any",'placeholder'=> trans("lang.order_delivery_fee_placeholder")]) !!}
{{ trans("lang.order_delivery_fee_help") }}
{!! Form::label('hint', trans("lang.order_hint"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::textarea('hint', null, ['class' => 'form-control','placeholder'=> trans("lang.order_hint_placeholder") ]) !!}
{{ trans("lang.order_hint_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}