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:
parent
5122a2114c
commit
87507c06f4
@ -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].',
|
||||
|
||||
);
|
||||
|
||||
|
@ -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') }}";
|
||||
|
Loading…
Reference in New Issue
Block a user