@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('restaurant_id', trans("lang.earning_restaurant_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('restaurant_id', $restaurant, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.earning_restaurant_id_help") }}
{!! Form::label('total_orders', trans("lang.earning_total_orders"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('total_orders', null, ['class' => 'form-control','placeholder'=> trans("lang.earning_total_orders_placeholder")]) !!}
{{ trans("lang.earning_total_orders_help") }}
{!! Form::label('total_earning', trans("lang.earning_total_earning"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('total_earning', null, ['class' => 'form-control','placeholder'=> trans("lang.earning_total_earning_placeholder")]) !!}
{{ trans("lang.earning_total_earning_help") }}
{!! Form::label('admin_earning', trans("lang.earning_admin_earning"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('admin_earning', null, ['class' => 'form-control','placeholder'=> trans("lang.earning_admin_earning_placeholder")]) !!}
{{ trans("lang.earning_admin_earning_help") }}
{!! Form::label('restaurant_earning', trans("lang.earning_restaurant_earning"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('restaurant_earning', null, ['class' => 'form-control','placeholder'=> trans("lang.earning_restaurant_earning_placeholder")]) !!}
{{ trans("lang.earning_restaurant_earning_help") }}
{!! Form::label('delivery_fee', trans("lang.earning_delivery_fee"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('delivery_fee', null, ['class' => 'form-control','placeholder'=> trans("lang.earning_delivery_fee_placeholder")]) !!}
{{ trans("lang.earning_delivery_fee_help") }}
{!! Form::label('tax', trans("lang.earning_tax"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('tax', null, ['class' => 'form-control','placeholder'=> trans("lang.earning_tax_placeholder")]) !!}
{{ trans("lang.earning_tax_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}