Add gateway fee surcharge settings link

This commit is contained in:
Hillel Coren 2017-03-19 16:45:44 +02:00
parent eff34f9133
commit d753096268
2 changed files with 6 additions and 1 deletions

View File

@ -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'
); );

View File

@ -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>