1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Working on gateway fees

This commit is contained in:
Hillel Coren 2017-03-16 22:10:13 +02:00
parent 5122a2114c
commit 87507c06f4
2 changed files with 3 additions and 3 deletions

View File

@ -2415,7 +2415,7 @@ $LANG = array(
'online_payment_surcharge' => 'Online Payment Surcharge',
'gateway_fees' => 'Gateway Fees',
'fees_disabled' => 'Fees are disabled',
'gateway_fees_help' => 'Automatically add an online payment surcharge.',
'gateway_fees_help' => 'Automatically add an online payment surcharge [partial payments are not supported].',
);

View File

@ -168,7 +168,7 @@
<br/><div id="feeSample" class="help-block"></div>
@if (!$account->invoice_item_taxes && $account->invoice_taxes && count($taxRates))
@if (false && !$account->invoice_item_taxes && $account->invoice_taxes && count($taxRates))
<br/><div class="help-block">{{ trans('texts.fees_tax_help') }}</div>
@endif
@ -325,7 +325,7 @@
total += subtotal * taxRate2 / 100;
}
if (total > 0) {
if (total >= 0) {
var str = "{{ trans('texts.fees_sample') }}";
} else {
var str = "{{ trans('texts.discount_sample') }}";