projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed approve_all_reports right assignment and check.
[timetracker.git]
/
report.php
diff --git
a/report.php
b/report.php
index
31cee67
..
53c73ee
100644
(file)
--- a/
report.php
+++ b/
report.php
@@
-91,7
+91,7
@@
$options = ttReportHelper::getReportOptions($bean);
// - We can sssign items to invoices.
// - We can assign items to a timesheet.
// Determine these conditions separately.
// - We can sssign items to invoices.
// - We can assign items to a timesheet.
// Determine these conditions separately.
-if ($bean->getAttribute('chapproved') && ($user->can('approve_reports') || $user->can('approve_all_eports')))
+if ($bean->getAttribute('chapproved') && ($user->can('approve_reports') || $user->can('approve_all_
r
eports')))
$useMarkApproved = true;
if ($bean->getAttribute('chpaid') && $user->can('manage_invoices'))
$useMarkPaid = true;
$useMarkApproved = true;
if ($bean->getAttribute('chpaid') && $user->can('manage_invoices'))
$useMarkPaid = true;