mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Tweak payment settings page
This commit is contained in:
parent
c9f00274b1
commit
4dded687b5
@ -1324,7 +1324,8 @@ $LANG = array(
|
||||
'auto_bill_notification_placeholder' => 'This invoice will automatically be billed to your Visa card ending in 4242 on the due date.',
|
||||
'payment_settings' => 'Payment Settings',
|
||||
|
||||
'auto_bill_on_due_date' => 'Auto bill on due date instead of send date',
|
||||
'on_send_date' => 'On send date',
|
||||
'on_due_date' => 'On due date',
|
||||
'auto_bill_ach_date_help' => 'ACH auto bill will always happen on the due date',
|
||||
'warn_change_auto_bill' => 'Due to NACHA rules, changes to this invoice may prevent ACH auto bill.',
|
||||
|
||||
@ -1333,6 +1334,7 @@ $LANG = array(
|
||||
'wepay_payment_tos_agree' => 'I agree to the WePay :terms and :privacy_policy.',
|
||||
'privacy_policy' => 'Privacy Policy',
|
||||
'wepay_payment_tos_agree_required' => 'You must agree to the WePay Terms of Service and Privacy Policy.',
|
||||
'payment_settings_supported_gateways' => 'These options are supported by the WePay, Stripe, and Braintree gateways.'
|
||||
);
|
||||
|
||||
return $LANG;
|
||||
|
@ -14,14 +14,18 @@
|
||||
<h3 class="panel-title">{!! trans('texts.payment_settings') !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
|
||||
{!! Former::select('token_billing_type_id')
|
||||
->options($tokenBillingOptions)
|
||||
->help(trans('texts.token_billing_help')) !!}
|
||||
{!! Former::checkbox('auto_bill_on_due_date')
|
||||
{!! Former::inline_radios('auto_bill_on_due_date')
|
||||
->label(trans('texts.auto_bill'))
|
||||
->text(trans('texts.auto_bill_on_due_date'))
|
||||
->help(trans('texts.auto_bill_ach_date_help')) !!}
|
||||
->radios([
|
||||
trans('texts.on_send_date') => ['value'=>0, 'name'=>'auto_bill_on_due_date'],
|
||||
trans('texts.on_due_date') => ['value'=>1, 'name'=>'auto_bill_on_due_date'],
|
||||
])->help(trans('texts.auto_bill_ach_date_help')) !!}
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-4 col-sm-8"><p>{!! trans('texts.payment_settings_supported_gateways') !!}</p></div>
|
||||
</div>
|
||||
{!! Former::actions( Button::success(trans('texts.save'))->submit()->appendIcon(Icon::create('floppy-disk')) ) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user