HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/brameda/brameda.nl/resources/views/shop/partials/orders/transactions.blade.php
@php
    /** @var \App\Komma\Shop\Orders\Models\Order $order */
    /** @var \App\Komma\Globalization\RegionInfo $regionInfo */
@endphp

@if(isset($order))
    @if($order->transactions->count() > 0)
        <table>
            <thead>
            <tr>
                <th>{{ __('shop/transactions.status_name') }}</th>
                <th>{{ __('shop/transactions.psp') }}</th>
                <th>{{ __('shop/transactions.psp_payment_reference') }}</th>
                <th>{{ __('shop/transactions.psp_transaction_id') }}</th>
                <th>{{ __('shop/transactions.amount') }}</th>
{{--                <th>{{ __('shop/transactions.currency_iso_4217_code') }}</th>--}}
                <th>{{ __('shop/transactions.issuer_id') }}</th>
                <th>{{ __('shop/transactions.payment_method') }}</th>
                <th>{{ __('shop/transactions.account_reference') }}</th>
                <th>{{ __('shop/transactions.account_holder_name') }}</th>
                <th>{{ __('shop/transactions.account_brand') }}</th>
                <th>{{ __('shop/transactions.payment_link') }}</th>
                <th>{{ __('shop/transactions.ip') }}</th>
                <th>{{ __('shop/transactions.error_code') }}</th>
                <th>{{ __('shop/transactions.expire_date') }}</th>
                <th>{{ __('shop/transactions.payment_date') }}</th>
            </tr>
            </thead>
            <tbody>
                @foreach($order->transactions as $transaction)
                @php /** @var \App\Komma\Shop\Payment\Transaction $transaction */@endphp
                <tr>
                    <td>{{ __('shop/transactions.status.'.$transaction->status) }}</td>
                    <td>{{ $transaction->psp ? $transaction->psp : __('kms/global.none') }}</td>
                    <td>{{ $transaction->psp_payment_reference ? $transaction->psp_payment_reference : __('kms/global.none') }}</td>
                    <td>{{ $transaction->psp_transaction_id ? $transaction->psp_transaction_id : __('kms/global.none') }}</td>
                    <td>{{ $transaction->amount ? $shopRegionInfo->getCurrencySymbol().$shopRegionInfo->getNumberFormat()->centsToCurrency($transaction->amount) : __('kms/global.none') }}</td>
{{--                    <td>{{ $transaction->currency_iso_4217_code ? $transaction->currency_iso_4217_code : __('kms/global.none') }}</td>--}}
                    <td>{{ $transaction->issuer_id ? $transaction->issuer_id : __('kms/global.none') }}</td>
                    <td>{{ $transaction->payment_method ? $transaction->payment_method : __('kms/global.none') }}</td>
                    <td>{{ $transaction->account_reference ? $transaction->account_reference : __('kms/global.none') }}</td>
                    <td>{{ $transaction->account_holder_name ? $transaction->account_holder_name : __('kms/global.none') }}</td>
                    <td>{{ $transaction->account_brand ? $transaction->account_brand : __('kms/global.none') }}</td>
                    <td>@if($transaction->payment_link)<button data-to-copy="{{ $transaction->payment_link }}">{{ __('kms/global.copy') }}</button>@else @lang('kms/global.none') @endif</td>
                    <td>{{ $transaction->ip ? $transaction->ip : __('kms/global.none') }}</td>
                    <td>{{ $transaction->error_code ? $transaction->error_code : __('kms/global.none') }}</td>
                    <td>{{ $transaction->expire_date ? $transaction->expire_date : __('kms/global.none') }}</td>
                    <td>{{ $transaction->payment_date ? $transaction->payment_date : __('kms/global.none') }}</td>
                </tr>
                @endforeach
            </tbody>
        </table>
    @endif
@endif