Fixed fav report export by adding missing fields.
authorNik Okuntseff <support@anuko.com>
Wed, 27 Feb 2019 14:50:20 +0000 (14:50 +0000)
committerNik Okuntseff <support@anuko.com>
Wed, 27 Feb 2019 14:50:20 +0000 (14:50 +0000)
WEB-INF/lib/ttGroupExportHelper.class.php
WEB-INF/templates/footer.tpl

index 11104a5..06a3697 100644 (file)
@@ -522,6 +522,10 @@ class ttGroupExportHelper {
         $fav_report_part .= " project_id=\"".$this->projectMap[$fav_report['project_id']]."\"";
         $fav_report_part .= " task_id=\"".$this->taskMap[$fav_report['task_id']]."\"";
         $fav_report_part .= " billable=\"".$fav_report['billable']."\"";
+        $fav_report_part .= " approved=\"".$fav_report['approved']."\"";
+        $fav_report_part .= " invoice=\"".$fav_report['invoice']."\"";
+        $fav_report_part .= " timesheet=\"".$fav_report['timesheet']."\"";
+        $fav_report_part .= " paid_status=\"".$fav_report['paid_status']."\"";
         $fav_report_part .= " users=\"".$user_list."\"";
         $fav_report_part .= " period=\"".$fav_report['period']."\"";
         $fav_report_part .= " period_start=\"".$fav_report['period_start']."\"";
@@ -531,18 +535,20 @@ class ttGroupExportHelper {
         $fav_report_part .= " show_paid=\"".$fav_report['show_paid']."\"";
         $fav_report_part .= " show_ip=\"".$fav_report['show_ip']."\"";
         $fav_report_part .= " show_project=\"".$fav_report['show_project']."\"";
+        $fav_report_part .= " show_timesheet=\"".$fav_report['show_timesheet']."\"";
         $fav_report_part .= " show_start=\"".$fav_report['show_start']."\"";
         $fav_report_part .= " show_duration=\"".$fav_report['show_duration']."\"";
         $fav_report_part .= " show_cost=\"".$fav_report['show_cost']."\"";
         $fav_report_part .= " show_task=\"".$fav_report['show_task']."\"";
         $fav_report_part .= " show_end=\"".$fav_report['show_end']."\"";
         $fav_report_part .= " show_note=\"".$fav_report['show_note']."\"";
+        $fav_report_part .= " show_approved=\"".$fav_report['show_approved']."\"";
+        $fav_report_part .= " show_totals_only=\"".$fav_report['show_totals_only']."\"";
         $fav_report_part .= " show_custom_field_1=\"".$fav_report['show_custom_field_1']."\"";
         $fav_report_part .= " show_work_units=\"".$fav_report['show_work_units']."\"";
         $fav_report_part .= " group_by1=\"".$fav_report['group_by1']."\"";
         $fav_report_part .= " group_by2=\"".$fav_report['group_by2']."\"";
         $fav_report_part .= " group_by3=\"".$fav_report['group_by3']."\"";
-        $fav_report_part .= " show_totals_only=\"".$fav_report['show_totals_only']."\"";
         $fav_report_part .= "></fav_report>\n";
         fwrite($this->file, $fav_report_part);
       }
index 6475123..e8eb58e 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.45.4787 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.45.4788 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>