{!! session_flush('PaymentGateway') !!} {{-- --}} @foreach ($data->OrdersPayment as $payment) {{-- --}} @endforeach
@t('Type') @t('Amount') @t('Paid Amount') @t('Deadline') @t('Status') @t('Created')
{{ $payment->payment }} {{ amount($payment->amount, ['to' => $order_currency->id]) }} {{ amount($payment->paid_amount, ['to' => $payment->currency_id]) }} @datetime($payment->deadline) {{ $payment->status }} @datetime($payment->created)

@t('Add payment') @if ($data->status == 'cancelled') {{ __('WARNING: this order has been cancelled') }} @endif
@include( 'Elements/Common/modal', [ 'id' => 'payment-modal-dialog', 'title' => t( 'New Payment. Remaining %s', amount($data->remaining_payment, ['to' => $order_currency->id]) ), 'form' => [ 'data-toggle' => 'validator', 'action' => action('Payment/OrdersPaymentsController@secure_add', [$venue->id, $data->id]), 'id' => 'orderspayment-form', 'class' => 'ready' ], 'content' => view( 'Plugins/Payment/Views/Elements/Order/payment_modal_form', [ 'venue' => $venue, 'currencies' => $currencies, 'settings' => $settings, 'fees' => $fees ] ), 'footer' => view( 'Plugins/Payment/Views/Elements/Order/payment_modal_footer' ) ] )