projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed export and import for locking specification.
[timetracker.git]
/
invoice_view.php
diff --git
a/invoice_view.php
b/invoice_view.php
index
a40d9b6
..
2bb9876
100644
(file)
--- a/
invoice_view.php
+++ b/
invoice_view.php
@@
-52,7
+52,7
@@
$tax = 0;
foreach($invoice_items as $item)
$subtotal += $item['cost'];
if ($tax_percent) {
foreach($invoice_items as $item)
$subtotal += $item['cost'];
if ($tax_percent) {
- $tax_expenses =
in_array('et', explode(',', $user->plugins)
);
+ $tax_expenses =
$user->isPluginEnabled('et'
);
foreach($invoice_items as $item) {
if ($item['type'] == 2 && !$tax_expenses)
continue;
foreach($invoice_items as $item) {
if ($item['type'] == 2 && !$tax_expenses)
continue;