mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add gateway fee surcharge settings link
This commit is contained in:
parent
eff34f9133
commit
d753096268
@ -2419,6 +2419,8 @@ $LANG = array(
|
|||||||
'gateway_fees_help' => 'Automatically add an online payment surcharge or line item.<br/>Use \'Line item\' to support partial payments.',
|
'gateway_fees_help' => 'Automatically add an online payment surcharge or line item.<br/>Use \'Line item\' to support partial payments.',
|
||||||
'gateway' => 'Gateway',
|
'gateway' => 'Gateway',
|
||||||
'gateway_fee_change_warning' => 'If there are unpaid invoices with fees applied they need to be removed to prevent duplicate fees.',
|
'gateway_fee_change_warning' => 'If there are unpaid invoices with fees applied they need to be removed to prevent duplicate fees.',
|
||||||
|
'fees_surcharge_help' => 'Customize surcharge :link.',
|
||||||
|
'label_and_taxes' => 'label and taxes'
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -170,7 +170,10 @@
|
|||||||
<div class="help-block">
|
<div class="help-block">
|
||||||
<span id="feeSample"></span>
|
<span id="feeSample"></span>
|
||||||
@if ($account->gateway_fee_location == FEE_LOCATION_ITEM && !$account->invoice_item_taxes && $account->invoice_taxes && count($taxRates))
|
@if ($account->gateway_fee_location == FEE_LOCATION_ITEM && !$account->invoice_item_taxes && $account->invoice_taxes && count($taxRates))
|
||||||
{{ trans('texts.fees_tax_help') }}
|
<br/>{{ trans('texts.fees_tax_help') }}
|
||||||
|
@endif
|
||||||
|
@if ($account->gateway_fee_location == FEE_LOCATION_CHARGE1 || $account->gateway_fee_location == 2)
|
||||||
|
<br/>{!! trans('texts.fees_surcharge_help', ['link' => link_to('/settings/invoice_settings#invoice_surcharges', trans('texts.label_and_taxes'), ['target' => '_blank'])]) !!}
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user