mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 23:54:30 -04:00
Merge inclusive tax fix
This commit is contained in:
parent
4ce76ef138
commit
b86d0a7c43
@ -289,7 +289,7 @@ class InvoiceController extends BaseController
|
|||||||
$taxRateOptions = $account->present()->taxRateOptions;
|
$taxRateOptions = $account->present()->taxRateOptions;
|
||||||
if ($invoice->exists) {
|
if ($invoice->exists) {
|
||||||
foreach ($invoice->getTaxes() as $key => $rate) {
|
foreach ($invoice->getTaxes() as $key => $rate) {
|
||||||
$key = '0 ' . $key;
|
$key = '0 ' . $key; // mark it as a standard exclusive rate option
|
||||||
if (isset($taxRateOptions[$key])) {
|
if (isset($taxRateOptions[$key])) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user