{!! Form::label('data[payment]', t('Type')) !!}
{!! Form::select(
'data[payment]',
$payment_options,
null
) !!}
{!! Form::label('data[currency_id]', t('Currency')) !!}
{!! Form::label('data[amount]', t('Amount')) !!}
{!! Form::number(
'data[amount]',
(isset($order->remaining_payment) && $order->remaining_payment > 0 ?
$order->remaining_payment -
(isset($order->remaining_service_charge) ? array_sum(oa($order->remaining_service_charge)) : 0) -
(isset($order->remaining_tax_charge) ? $order->remaining_tax_charge : 0)
:
null),
[
'step' => '0.01',
'required',
]
) !!}
{!! Form::label('data[paid]', t('Date')) !!}
{!! Form::text(
'data[paid]',
null,
[
'class' => 'form-control datepicker'
]
) !!}
{!! Form::label('data[deadline]', t('Offer expire date')) !!}
{!! Form::text(
'data[deadline]',
null,
[
'class' => 'form-control datepicker'
]
) !!}
{!! Form::label('data[description]', t('Notes')) !!}
{!! Form::text(
'data[description]',
null,
[
'class' => 'form-control'
]
) !!}
{!! \Libs\Payment\Processor::element(payment_processor($venue->id), ['venue_id' => $venue->id]) !!}
@include('Plugins/Payment/Views/Elements/Order/payment_total')
{{--
@include('Plugins/Payment/Views/Elements/Order/payment_total')
--}}
{{--
{!! Form::label('data[OrdersPayment][deadline]', t('Payment Deadline')) !!}
{!! Form::text(
'data[OrdersPayment][deadline]',
null,
[
'class' => 'form-control datepicker'
]
) !!}
{!! Form::label('data[OrdersPayment][status]', t('Status')) !!}
{!! Form::select(
'data[OrdersPayment][status]',
[
'completed' => t('Completed'),
'refund' => t('Refund'),
'cancelled' => t('Cancelled'),
'pending' => t('Pending')
],
null
) !!}
--}}