mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:14:30 -04:00
Tweak texts
This commit is contained in:
parent
81671152e5
commit
1fb06295d4
@ -1026,7 +1026,7 @@ class InvoiceRepository extends BaseRepository
|
|||||||
}
|
}
|
||||||
|
|
||||||
// once an invoice with fee surcharge has been paid don't clear it
|
// once an invoice with fee surcharge has been paid don't clear it
|
||||||
if (($location == FEE_LOCATION_CHARGE1 || $location == FEE_LOCATION_CHARGE2) && $invoice->amount != $invoice->balance) {
|
if ($account->hasGatewayFeeSurcharge() && $invoice->amount != $invoice->balance) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2416,7 +2416,7 @@ $LANG = array(
|
|||||||
'online_payment_surcharge' => 'Online Payment Surcharge',
|
'online_payment_surcharge' => 'Online Payment Surcharge',
|
||||||
'gateway_fees' => 'Gateway Fees',
|
'gateway_fees' => 'Gateway Fees',
|
||||||
'fees_disabled' => 'Fees are disabled',
|
'fees_disabled' => 'Fees are disabled',
|
||||||
'gateway_fees_help' => 'Automatically add an online payment surcharge or line item.<br/>Use \'Line item\' to support partial/deposit payments.',
|
'gateway_fees_help' => 'Automatically add an online payment surcharge or line item.<br/>Surcharges aren\'t affected by discounts, line item supports partial payments.',
|
||||||
'gateway' => 'Gateway',
|
'gateway' => 'Gateway',
|
||||||
'gateway_fee_change_warning' => 'If there are unpaid invoices with fees they need to be removed to prevent duplicate fees from being charged.',
|
'gateway_fee_change_warning' => 'If there are unpaid invoices with fees they need to be removed to prevent duplicate fees from being charged.',
|
||||||
'fees_surcharge_help' => 'Customize surcharge :link.',
|
'fees_surcharge_help' => 'Customize surcharge :link.',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user