]> wagnertech.de Git - timetracker.git/blobdiff - reports.php
Added this day and last day to report interval options.
[timetracker.git] / reports.php
index 08ac64fef92500172c5b8c704b0e410592e0fb55..9062abf8e9ce095bf828b49dffaaddbd48386208 100644 (file)
@@ -164,7 +164,9 @@ $form->addInput(array('type'=>'combobox',
   'data'=>array(INTERVAL_THIS_MONTH=>$i18n->getKey('dropdown.this_month'),
     INTERVAL_LAST_MONTH=>$i18n->getKey('dropdown.last_month'),
     INTERVAL_THIS_WEEK=>$i18n->getKey('dropdown.this_week'),
-    INTERVAL_LAST_WEEK=>$i18n->getKey('dropdown.last_week')),
+    INTERVAL_LAST_WEEK=>$i18n->getKey('dropdown.last_week'),
+    INTERVAL_THIS_DAY=>$i18n->getKey('dropdown.this_day'),
+    INTERVAL_LAST_DAY=>$i18n->getKey('dropdown.last_day')),
   'empty'=>array(''=>$i18n->getKey('dropdown.select'))));
 // Add controls for start and end dates.
 $form->addInput(array('type'=>'datefield','maxlength'=>'20','name'=>'start_date'));