- @if ($accountGateway->gateway_id == GATEWAY_BRAINTREE)
-
- @else
- {!! Former::select(!empty($tokenize) ? '' : 'expiration_month')
- ->id('expiration_month')
- ->autocomplete('cc-exp-month')
- ->placeholder(trans('texts.expiration_month'))
- ->addOption('01 - ' . trans('texts.january'), '1')
- ->addOption('02 - ' . trans('texts.february'), '2')
- ->addOption('03 - ' . trans('texts.march'), '3')
- ->addOption('04 - ' . trans('texts.april'), '4')
- ->addOption('05 - ' . trans('texts.may'), '5')
- ->addOption('06 - ' . trans('texts.june'), '6')
- ->addOption('07 - ' . trans('texts.july'), '7')
- ->addOption('08 - ' . trans('texts.august'), '8')
- ->addOption('09 - ' . trans('texts.september'), '9')
- ->addOption('10 - ' . trans('texts.october'), '10')
- ->addOption('11 - ' . trans('texts.november'), '11')
- ->addOption('12 - ' . trans('texts.december'), '12')->label('')
- !!}
- @endif
-
- @if ($accountGateway->gateway_id == GATEWAY_BRAINTREE)
-
- @else
- {!! Former::select(!empty($tokenize) ? '' : 'expiration_year')
- ->id('expiration_year')
- ->autocomplete('cc-exp-year')
- ->placeholder(trans('texts.expiration_year'))
- ->options(
- array_combine(
- range(date('Y'), date('Y') + 10),
- range(date('Y'), date('Y') + 10)
+
+
+ @if ($accountGateway->gateway_id == GATEWAY_BRAINTREE)
+
+ @else
+ {!! Former::select(!empty($tokenize) ? '' : 'expiration_month')
+ ->id('expiration_month')
+ ->autocomplete('cc-exp-month')
+ ->placeholder(trans('texts.expiration_month'))
+ ->addOption('01 - ' . trans('texts.january'), '1')
+ ->addOption('02 - ' . trans('texts.february'), '2')
+ ->addOption('03 - ' . trans('texts.march'), '3')
+ ->addOption('04 - ' . trans('texts.april'), '4')
+ ->addOption('05 - ' . trans('texts.may'), '5')
+ ->addOption('06 - ' . trans('texts.june'), '6')
+ ->addOption('07 - ' . trans('texts.july'), '7')
+ ->addOption('08 - ' . trans('texts.august'), '8')
+ ->addOption('09 - ' . trans('texts.september'), '9')
+ ->addOption('10 - ' . trans('texts.october'), '10')
+ ->addOption('11 - ' . trans('texts.november'), '11')
+ ->addOption('12 - ' . trans('texts.december'), '12')->label('')
+ !!}
+ @endif
+
+
+ @if ($accountGateway->gateway_id == GATEWAY_BRAINTREE)
+
+ @else
+ {!! Former::select(!empty($tokenize) ? '' : 'expiration_year')
+ ->id('expiration_year')
+ ->autocomplete('cc-exp-year')
+ ->placeholder(trans('texts.expiration_year'))
+ ->options(
+ array_combine(
+ range(date('Y'), date('Y') + 10),
+ range(date('Y'), date('Y') + 10)
+ )
)
- )
- ->label('') !!}
- @endif
+ ->label('') !!}
+ @endif
+
+
+ @if ($accountGateway->gateway_id == GATEWAY_BRAINTREE)
+
+ @else
+ {!! Former::text(!empty($tokenize) ? '' : 'cvv')
+ ->id('cvv')
+ ->placeholder(trans('texts.cvv'))
+ ->autocomplete('off')
+ ->label('') !!}
+ @endif
+
-
- @if ($accountGateway->gateway_id == GATEWAY_BRAINTREE)
-
- @else
- {!! Former::text(!empty($tokenize) ? '' : 'cvv')
- ->id('cvv')
- ->placeholder(trans('texts.cvv'))
- ->autocomplete('off')
- ->label('') !!}
- @endif
+
+
-
-
-
-
- @if (isset($amount) && $client && $account->showTokenCheckbox($storageGateway/* will contain gateway id */))
- selectTokenCheckbox() ? 'CHECKED' : '' }} value="1" style="margin-left:0px; vertical-align:top">
-
-
- @if ($storageGateway == GATEWAY_STRIPE)
- {!! trans('texts.token_billing_secure', ['link' => link_to('https://stripe.com/', 'Stripe.com', ['target' => '_blank'])]) !!}
- @elseif ($storageGateway == GATEWAY_BRAINTREE)
- {!! trans('texts.token_billing_secure', ['link' => link_to('https://www.braintreepayments.com/', 'Braintree', ['target' => '_blank'])]) !!}
- @endif
-
- @endif
-
+
-
-