X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttExportHelper.class.php;h=aa8f6c76ada1fa0694e4bc90b0f160a5d54b56fe;hb=e732e1dd5c8a5cfaa24f5690ede39be2a90d0e3d;hp=4a607fbf5ba9b97e5268b99f1be27d82621f09f5;hpb=4c41dc3fad985fa9b71a81222b6402ebd5041c42;p=timetracker.git diff --git a/WEB-INF/lib/ttExportHelper.class.php b/WEB-INF/lib/ttExportHelper.class.php index 4a607fbf..aa8f6c76 100644 --- a/WEB-INF/lib/ttExportHelper.class.php +++ b/WEB-INF/lib/ttExportHelper.class.php @@ -61,10 +61,12 @@ class ttExportHelper { fwrite($file, "\n"); // Write team info. - fwrite($file, "currency."\" lock_spec=\"".$user->lock_spec."\" lock_interval=\"".$user->lock_interval."\" lang=\"".$user->lang."\" decimal_mark=\"".$user->decimal_mark."\" date_format=\"".$user->date_format."\" time_format=\"".$user->time_format."\" week_start=\"".$user->week_start. - "\" plugins=\"".$user->plugins."\" tracking_mode=\"".$user->tracking_mode."\" record_type=\"".$user->record_type."\">\n"); + fwrite($file, "currency."\" lock_spec=\"".$user->lock_spec."\" lang=\"".$user->lang. + "\" decimal_mark=\"".$user->decimal_mark."\" date_format=\"".$user->date_format."\" time_format=\"".$user->time_format. + "\" week_start=\"".$user->week_start."\" workday_hours=\"".$user->workday_hours. + "\" plugins=\"".$user->plugins."\" tracking_mode=\"".$user->tracking_mode."\" task_required=\"".$user->task_required. + "\" record_type=\"".$user->record_type."\">\n"); fwrite($file, " team."]]>\n"); - fwrite($file, "
address."]]>
\n"); fwrite($file, "
\n"); // Prepare user map. @@ -199,6 +201,14 @@ class ttExportHelper { fwrite($file, "\n"); unset($custom_field_options); + // Write monthly quotas. + $quotas = ttTeamHelper::getMonthlyQuotas($user->team_id); + fwrite($file, "\n"); + foreach ($quotas as $quota) { + fwrite($file, " \n"); + } + fwrite($file, "\n"); + // Write time log entries. fwrite($file, "\n"); $key = 0;