{!! session_flush('PaymentGateway') !!}
@t('Type') | @t('Processor') | @t('Amount') | @t('Paid Amount') | @t('Fee') | @if ($settings->vat !== '0')@t('VAT') | @endif @if ( isset($settings->content->payment->service) && $settings->content->payment->service )@t('Service') | @endif @if ( isset($settings->content->payment->tax) && $settings->content->payment->tax )@t('Tax') | @endif {{--@t('Deadline') | --}}@t('Status') | @t('Created') | @t('Expire on') | @t('Notes') | @if ($data->status != 'partial_refund')@endif |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ 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 ($settings->vat !== '0')@if ($payment->status == 'pending') @t('N/A') @else {{ amount($payment->fee_vat, ['to' => $payment->currency_id]) }} @endif | @endif @if ( isset($settings->content->payment->services) && $settings->content->payment->service )
@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
|
@endif
@if (
isset($settings->content->payment->tax) &&
$settings->content->payment->tax
)
@if (isset($payment->tax_amount) && $payment->tax_amount) {{ amount($payment->tax_amount, ['to' => $payment->currency_id]) }} @endif | @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 ($data->status != 'partial_refund')
@if ($payment->amount > 0 && $payment->status != 'cancelled')
|
@endif