@if (!empty($braintreeClientToken)) @elseif($gateway->gateway_id == GATEWAY_WEPAY && $gateway->getAchEnabled()) @endif @if(!empty($paymentMethods) && count($paymentMethods))

{{ trans('texts.payment_methods') }}

@foreach ($paymentMethods as $paymentMethod)
{{ trans(payment_type->name))) }}"> @if($paymentMethod->payment_type_id == PAYMENT_TYPE_ACH) @if($paymentMethod->bank_name) {{ $paymentMethod->bank_name }} @else {{ trans('texts.bank_account') }} @endif @elseif($paymentMethod->payment_type_id == PAYMENT_TYPE_PAYPAL) {{ trans('texts.paypal') . ': ' . $paymentMethod->email }} @else {{ trans('texts.credit_card') }} @endif - {{ trans('texts.added_on', ['date' => Utils::dateToString($paymentMethod->created_at)]) }} @if($paymentMethod->payment_type_id == PAYMENT_TYPE_ACH) @if($paymentMethod->status == PAYMENT_METHOD_STATUS_NEW) @if($gateway->gateway_id == GATEWAY_STRIPE) ({{trans('texts.complete_verification')}}) @else [{{ trans('texts.verification_pending') }}] @endif @elseif($paymentMethod->status == PAYMENT_METHOD_STATUS_VERIFICATION_FAILED) [{{trans('texts.verification_failed')}}] @endif @endif @if($paymentMethod->id == $paymentMethod->account_gateway_token->default_payment_method_id) [{{trans('texts.used_for_auto_bill')}}] @elseif($paymentMethod->payment_type_id != PAYMENT_TYPE_ACH || $paymentMethod->status == PAYMENT_METHOD_STATUS_VERIFIED) [{{trans('texts.use_for_auto_bill')}}] @endif ×
@endforeach @endif
@if (false && $account->getGatewayByType(GATEWAY_TYPE_CREDIT_CARD) && $account->getGatewayByType(GATEWAY_TYPE_TOKEN)) {!! Button::success(strtoupper(trans('texts.add_credit_card'))) ->asLinkTo(URL::to('/client/add/credit_card')) !!}   @endif @if (false && $account->getGatewayByType(GATEWAY_TYPE_BANK_TRANSFER) && $account->getGatewayByType(GATEWAY_TYPE_TOKEN)) {!! Button::success(strtoupper(trans('texts.add_bank_account'))) ->withAttributes(['id'=>'add-ach']) ->asLinkTo(URL::to('/client/add/bank_transfer')) !!}   @endif @if (false && $account->getGatewayByType(GATEWAY_TYPE_PAYPAL) && $account->getGatewayByType(GATEWAY_TYPE_TOKEN)) {!! Button::success(strtoupper(trans('texts.add_paypal_account'))) ->withAttributes(['id'=>'add-paypal']) ->asLinkTo(URL::to('/client/add/paypal')) !!}
@endif
{!! Former::open(URL::to('/client/payment_methods/default'))->id('defaultSourceForm') !!} {!! Former::close() !!}