@foreach ($paymentMethods as $paymentMethod)
{{trans(name)))}}"> •••••{{$paymentMethod['last4']}} @if($paymentMethod['type']->id == PAYMENT_TYPE_ACH) {{ $paymentMethod['bank_name'] }} @if($paymentMethod['status'] == 'new') ({{trans('texts.complete_verification')}}) @elseif($paymentMethod['status'] == 'verification_failed') ({{trans('texts.verification_failed')}}) @endif @else {!! trans('texts.card_expiration', array('expires'=>Utils::fromSqlDate($paymentMethod['expiration'], false)->format('m/y'))) !!} @endif @if($paymentMethod['default']) ({{trans('texts.used_for_auto_bill')}}) @elseif($paymentMethod['type']->id != PAYMENT_TYPE_ACH || $paymentMethod['status'] == 'verified') ({{trans('texts.use_for_auto_bill')}}) @endif ×
@endforeach
{!! Button::success(strtoupper(trans('texts.add_credit_card'))) ->asLinkTo(URL::to('/client/paymentmethods/add/'.($gateway->getPaymentType() == PAYMENT_TYPE_STRIPE ? 'stripe_credit_card' : 'credit_card'))) !!} @if($gateway->getACHEnabled())   {!! Button::success(strtoupper(trans('texts.add_bank_account'))) ->asLinkTo(URL::to('/client/paymentmethods/add/stripe_ach')) !!} @endif
{!! Former::open(URL::to('/client/paymentmethods/default'))->id('defaultSourceForm') !!} {!! Former::close() !!}