projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A few bugs fixed related to role revamp.
[timetracker.git]
/
WEB-INF
/
lib
/
ttTimeHelper.class.php
diff --git
a/WEB-INF/lib/ttTimeHelper.class.php
b/WEB-INF/lib/ttTimeHelper.class.php
index
7cbf4dd
..
222bcca
100644
(file)
--- a/
WEB-INF/lib/ttTimeHelper.class.php
+++ b/
WEB-INF/lib/ttTimeHelper.class.php
@@
-474,7
+474,7
@@
class ttTimeHelper {
$billable_part = $fields['billable'] ? ', billable = 1' : ', billable = 0';
}
$paid_part = '';
$billable_part = $fields['billable'] ? ', billable = 1' : ', billable = 0';
}
$paid_part = '';
- if ($user->can
ManageTeam(
) && $user->isPluginEnabled('ps')) {
+ if ($user->can
('manage_invoices'
) && $user->isPluginEnabled('ps')) {
$paid_part = $fields['paid'] ? ', paid = 1' : ', paid = 0';
}
$paid_part = $fields['paid'] ? ', paid = 1' : ', paid = 0';
}