X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=invoice_view.php;h=8168c3ad89544d6ed51255cc5e23b5b036b2a06f;hb=de20a2009639bd1064c8d2b61a79d449c352409c;hp=22383c0265523332ff03b57b8b328981340f9a09;hpb=cc1f9442f83ebfa3a67b917548ffd70cdba7bc9a;p=timetracker.git diff --git a/invoice_view.php b/invoice_view.php index 22383c02..8168c3ad 100644 --- a/invoice_view.php +++ b/invoice_view.php @@ -61,7 +61,7 @@ $subtotal = 0; $tax = 0; foreach($invoice_items as $item) $subtotal += $item['cost']; -if ($tax_percent) { +if ($tax_percent > 0) { $tax_expenses = $user->isPluginEnabled('et'); foreach($invoice_items as $item) { if ($item['type'] == 2 && !$tax_expenses)