2016-06-20 16:14:43 +02:00
|
|
|
@extends('payments.bank_transfer')
|
|
|
|
|
|
|
|
@section('payment_details')
|
|
|
|
|
2016-06-21 18:10:22 +02:00
|
|
|
{!! Former::vertical_open($url) !!}
|
|
|
|
|
2016-06-20 16:14:43 +02:00
|
|
|
<h3>{{ trans('texts.bank_account') }}</h3>
|
|
|
|
|
|
|
|
@if (!empty($details))
|
|
|
|
<div>{{$details->bank_account_name}}</div>
|
|
|
|
<div>•••••{{$details->bank_account_last_four}}</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
{!! Former::checkbox('authorize_ach')
|
|
|
|
->text(trans('texts.ach_authorization', ['company'=>$account->getDisplayName(), 'email' => $account->work_email]))
|
2017-01-09 16:01:51 +01:00
|
|
|
->label(' ')
|
|
|
|
->value(1) !!}
|
2016-06-20 16:14:43 +02:00
|
|
|
|
|
|
|
{!! Former::checkbox('tos_agree')
|
|
|
|
->text(trans('texts.wepay_payment_tos_agree', [
|
|
|
|
'terms' => '<a href="https://go.wepay.com/terms-of-service-us" target="_blank">'.trans('texts.terms_of_service').'</a>',
|
|
|
|
'privacy_policy' => '<a href="https://go.wepay.com/privacy-policy-us" target="_blank">'.trans('texts.privacy_policy').'</a>',
|
|
|
|
]))
|
|
|
|
->help(trans('texts.payment_processed_through_wepay'))
|
2017-01-09 16:01:51 +01:00
|
|
|
->label(' ')
|
|
|
|
->value(1) !!}
|
2016-06-20 16:14:43 +02:00
|
|
|
|
|
|
|
<input type="hidden" name="sourceToken" value="{{$sourceId}}">
|
|
|
|
|
|
|
|
<p> </p>
|
|
|
|
|
|
|
|
<center>
|
|
|
|
@if(isset($amount) && empty($paymentMethodPending))
|
2016-10-20 16:17:47 +02:00
|
|
|
{!! Button::success(strtoupper(trans('texts.pay_now') . ' - ' . $account->formatMoney($amount, $client, CURRENCY_DECORATOR_CODE) ))
|
2016-06-20 16:14:43 +02:00
|
|
|
->submit()
|
|
|
|
->large() !!}
|
|
|
|
@else
|
|
|
|
{!! Button::success(strtoupper(trans('texts.add_bank_account') ))
|
|
|
|
->submit()
|
|
|
|
->large() !!}
|
|
|
|
@endif
|
|
|
|
</center>
|
|
|
|
|
2016-07-13 15:34:26 +02:00
|
|
|
{!! Former::close() !!}
|
|
|
|
|
2016-06-20 16:14:43 +02:00
|
|
|
@stop
|