X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/cc1f9442f83ebfa3a67b917548ffd70cdba7bc9a..aa93160fd2b4cccce4e14c96cc1c3e5e43218e4c:/invoice_view.php 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)