{!! session_flush('PaymentGateway') !!} @if ($settings->vat !== '0') @endif @if ( isset($settings->content->payment->service) && $settings->content->payment->service ) @endif @if ( isset($settings->content->payment->tax) && $settings->content->payment->tax ) @endif {{-- --}} @if ($data->status != 'partial_refund') @endif @foreach ($data->OrdersPayment as $payment) amount < 0) data-toggle="tooltip" title="{{ $payment->description }}" @endif> @if ($settings->vat !== '0') @endif @if ( isset($settings->content->payment->services) && $settings->content->payment->service ) @endif @if ( isset($settings->content->payment->tax) && $settings->content->payment->tax ) @endif {{-- --}} @if ($data->status != 'partial_refund') @endif @endforeach
@t('Type') @t('Processor') @t('Amount') @t('Paid Amount') @t('Fee') @t('VAT') @t('Service') @t('Tax') @t('Deadline') @t('Status') @t('Created') @t('Expire on') @t('Notes')
{{ oa($payment_options)[$payment->payment] }} @if ($payment->paid) @t('on') @date($payment->paid) @endif @if ($payment->last4) ยทยทยทยท{{ $payment->last4 }} @endif {{ $payment->processor }} @if ($payment->card_merchant) ({{ ucwords($payment->card_merchant) }}) @endif @if ($payment->status == 'pending') {{ amount($payment->amount, ['to' => $order_currency->id]) }} @else {{ amount($payment->net_amount, ['to' => $order_currency->id]) }} @endif @if ($payment->status == 'pending') @t('N/A') @else {{ amount($payment->paid_amount - (isset($payment->card_fee) ? $payment->card_fee : 0), ['to' => $payment->currency_id]) }} @endif @if ($payment->status == 'pending' || $payment->amount <= 0) @t('N/A') @else {{ amount($payment->fee, ['to' => $payment->currency_id]) }} @endif @if ($payment->status == 'pending') @t('N/A') @else {{ amount($payment->fee_vat, ['to' => $payment->currency_id]) }} @endif @if (isset($payment->service_amount) && count(oa($payment->service_amount))) @foreach (oa($payment->service_amount) as $key => $value)
@if ($settings->content->payment->services[$key]->label) {{ $settings->content->payment->services[$key]->label }}: @else @t('Service: ') @endif {{ amount($value, ['to' => $payment->currency_id]) }}
@endforeach @endif
@if (isset($payment->tax_amount) && $payment->tax_amount) {{ amount($payment->tax_amount, ['to' => $payment->currency_id]) }} @endif @datetime($payment->deadline) @if ($payment->status == 'pending' && $payment->payment != 'card') {{ $payment->status }} @else @if ($payment->amount > 0) {{ $payment->status }} @else @t('refund') @endif @endif @datetime($payment->created) @date($payment->deadline) {{ $payment->description }} @if ($payment->amount > 0 && $payment->status != 'cancelled')
@endif