@extends('payments.bank_transfer')
@section('payment_details')
{!! Former::vertical_open($url) !!}
{{ trans('texts.bank_account') }}
@if (!empty($details))
{{$details->bank_account_name}}
•••••{{$details->bank_account_last_four}}
@endif
{!! Former::checkbox('authorize_ach')
->text(trans('texts.ach_authorization', ['company'=>$account->getDisplayName(), 'email' => $account->work_email]))
->label(' ') !!}
{!! Former::checkbox('tos_agree')
->text(trans('texts.wepay_payment_tos_agree', [
'terms' => ''.trans('texts.terms_of_service').'',
'privacy_policy' => ''.trans('texts.privacy_policy').'',
]))
->help(trans('texts.payment_processed_through_wepay'))
->label(' ') !!}
@if(isset($amount) && empty($paymentMethodPending))
{!! Button::success(strtoupper(trans('texts.pay_now') . ' - ' . $account->formatMoney($amount, $client, true) ))
->submit()
->large() !!}
@else
{!! Button::success(strtoupper(trans('texts.add_bank_account') ))
->submit()
->large() !!}
@endif
{!! Former::close() !!}
@stop