]> wagnertech.de Git - timetracker.git/blobdiff - time.php
Fixed a bug with Monthly Quota plugin.
[timetracker.git] / time.php
index 4042d7c5dfa83d612b12c69429abc006587753a7..33b57639a2eb6127801ecfcd03302e70d3cd0466 100644 (file)
--- a/time.php
+++ b/time.php
@@ -71,6 +71,7 @@ if ($user->isPluginEnabled('mq')){
   $minutesLeft = ttTimeHelper::toMinutes($monthlyQuota) - ttTimeHelper::toMinutes($month_total);
   
   $smarty->assign('month_total', $month_total);
+  $smarty->assign('over_quota', $minutesLeft < 0);
   $smarty->assign('month_left', ttTimeHelper::fromMinutes($minutesLeft));
 }