mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 18:34:30 -04:00
Add link to WePay's privacy policy
This commit is contained in:
parent
e2df3b64d1
commit
5c31818cc7
@ -85,10 +85,13 @@
|
|||||||
->text(trans('texts.enable_ach'))
|
->text(trans('texts.enable_ach'))
|
||||||
->value(1) !!}
|
->value(1) !!}
|
||||||
|
|
||||||
{!! Former::checkbox('tos_agree')->label(' ')->text(trans('texts.wepay_tos_agree',
|
{!! Former::checkbox('tos_agree')->label(' ')
|
||||||
['link'=>'<a id="wepay-tos-link" href="https://go.wepay.com/terms-of-service-us" target="_blank">'.trans('texts.wepay_tos_link_text').'</a>']
|
->text(trans('texts.wepay_payment_tos_agree', [
|
||||||
))->value('true')
|
'terms' => '<a href="https://go.wepay.com/terms-of-service" target="_blank">'.trans('texts.terms_of_service').'</a>',
|
||||||
->inlineHelp('standard_fees_apply') !!}
|
'privacy_policy' => '<a href="https://go.wepay.com/privacy-policy" target="_blank">'.trans('texts.privacy_policy').'</a>',
|
||||||
|
]))
|
||||||
|
->value('true')
|
||||||
|
->inlineHelp('standard_fees_apply') !!}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -178,7 +181,6 @@
|
|||||||
var country = $('#wepay-country input:checked').val();
|
var country = $('#wepay-country input:checked').val();
|
||||||
if (country) {
|
if (country) {
|
||||||
$('#wepay-accept-debit').toggle(country == 'CA');
|
$('#wepay-accept-debit').toggle(country == 'CA');
|
||||||
$('#wepay-tos-link').attr('href', 'https://go.wepay.com/terms-of-service-' + country.toLowerCase());
|
|
||||||
$('#canadaFees').toggle(country == 'CA');
|
$('#canadaFees').toggle(country == 'CA');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
|
|
||||||
{!! Former::checkbox('tos_agree')
|
{!! Former::checkbox('tos_agree')
|
||||||
->text(trans('texts.wepay_payment_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>',
|
'terms' => '<a href="https://go.wepay.com/terms-of-service" 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>',
|
'privacy_policy' => '<a href="https://go.wepay.com/privacy-policy" target="_blank">'.trans('texts.privacy_policy').'</a>',
|
||||||
]))
|
]))
|
||||||
->help(trans('texts.payment_processed_through_wepay'))
|
->help(trans('texts.payment_processed_through_wepay'))
|
||||||
->label(' ')
|
->label(' ')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user