]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/ttExportHelper.class.php
Fixed export-import of fav reports to inclide show_ip and show_paid fields.
[timetracker.git] / WEB-INF / lib / ttExportHelper.class.php
index fa35842024d5a1356c7fd736f8ca4e4fef877343..ab691c99555e888d45d1319b000e8bbbfdc3c87b 100644 (file)
@@ -291,6 +291,8 @@ class ttExportHelper {
         " period_end=\"".$fav_report['period_end']."\"".
         " show_client=\"".$fav_report['show_client']."\"".
         " show_invoice=\"".$fav_report['show_invoice']."\"".
+        " show_paid=\"".$fav_report['show_paid']."\"".
+        " show_ip=\"".$fav_report['show_ip']."\"".
         " show_project=\"".$fav_report['show_project']."\"".
         " show_start=\"".$fav_report['show_start']."\"".
         " show_duration=\"".$fav_report['show_duration']."\"".
@@ -363,6 +365,9 @@ class ttExportHelper {
    *   2) Admin usage - used infrequently.
    *   3) Export - used infrequently.
    *
+   * TODO: we also have user registration process without initialized user.
+   * Perhaps we need a separate helper class for this. Think about it.
+   *
    * It is tempting to have a generic function to get things done for
    * all situations. However, as export and admin access are one-off
    * operations, while regular system usage is daily and must be efficient,