@if($client->getCreditCardGateway() || $client->getBankTransferGateway())
@if($client->getCreditCardGateway()) {{ ctrans('texts.credit_card') }} @endif @if($client->getBankTransferGateway()) {{ ctrans('texts.bank_account') }} @endif @if($client->getBACSGateway()) {{ ctrans('texts.bacs') }} @endif
@endif
@forelse($payment_methods as $payment_method) @empty @endforelse
{{ ctrans('texts.created_at') }} {{ ctrans('texts.payment_type_id') }} {{ ctrans('texts.type') }} {{ ctrans('texts.expires') }} {{ ctrans('texts.card_number') }} {{ ctrans('texts.default') }}
{{ $payment_method->formatDateTimestamp($payment_method->created_at, $client->date_format()) }} {{ App\Models\GatewayType::getAlias($payment_method->gateway_type_id) }} {{ property_exists($payment_method->meta, 'brand') ? ucfirst($payment_method->meta?->brand) : '' }} @if(isset($payment_method->meta->exp_month) && isset($payment_method->meta->exp_year)) {{ $payment_method->meta->exp_month}} / {{ $payment_method->meta->exp_year }} @endif @isset($payment_method->meta->last4) **** {{ $payment_method->meta->last4 }} @endisset @if($payment_method->is_default) @endif @lang('texts.view')
{{ ctrans('texts.no_results') }}
@if($payment_methods->total() > 0) @endif {{ $payment_methods->links('portal/ninja2020/vendor/pagination') }}