@section('site_title', formatTitle([__('Payment methods'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('dashboard'), 'title' => __('Home')], ['url' => route('settings'), 'title' => __('Settings')], ['url' => route('settings.payments.methods'), 'title' => __('Payment methods')], ]])

{{ __('Payment methods') }}

{{ __('New') }}
{{ __('Payment methods') }}
@include('shared.message') @if($paymentMethods == null || count($paymentMethods) == 0) {{ __('No results found.') }} @else
{{ __('Card number') }}
{{ __('Expiration date') }}
@foreach($paymentMethods as $payment)
@include('icons.payments.' . (in_array($payment->card->brand, config('payments')) ? $payment->card->brand : 'unknown'), ['class' => 'flex-shrink-0 width-6']) •••• {{ $payment->card->last4 }} @if($defaultPaymentMethod && $defaultPaymentMethod->id == $payment->id) {{ __('Default') }}@endif
{{ date('m / y', strtotime('01-'.$payment->card->exp_month.'-'.$payment->card->exp_year)) }}
@endforeach
@endif