Merge inclusive tax fix

This commit is contained in:
Hillel Coren 2017-03-24 14:59:58 +03:00
parent 4ce76ef138
commit b86d0a7c43

View File

@ -289,7 +289,7 @@ class InvoiceController extends BaseController
$taxRateOptions = $account->present()->taxRateOptions;
if ($invoice->exists) {
foreach ($invoice->getTaxes() as $key => $rate) {
$key = '0 ' . $key;
$key = '0 ' . $key; // mark it as a standard exclusive rate option
if (isset($taxRateOptions[$key])) {
continue;
}