X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/b5c16658c0a91c98bb4e41bb6c0e1cc254222a68..a4298d704504e90da27dfdae71aaf6cc2faa9844:/WEB-INF/lib/ttGroupExportHelper.class.php diff --git a/WEB-INF/lib/ttGroupExportHelper.class.php b/WEB-INF/lib/ttGroupExportHelper.class.php index e18f8c9f..b1aa35c0 100644 --- a/WEB-INF/lib/ttGroupExportHelper.class.php +++ b/WEB-INF/lib/ttGroupExportHelper.class.php @@ -445,6 +445,18 @@ class ttGroupExportHelper { fwrite($this->file, $this->indentation." \n"); unset($expense_items); + // Write monthly quotas. + $quotas = ttTeamHelper::getMonthlyQuotas($this->group_id); + fwrite($this->file, $this->indentation." \n"); + foreach ($quotas as $quota) { + $quota_part = $this->indentation.' '."file, $quota_part); + } + fwrite($this->file, $this->indentation." \n"); + // Call self recursively for all subgroups. foreach ($this->subgroups as $subgroup) { $subgroup_helper = new ttGroupExportHelper($subgroup['id'], $this->file, $this->indentation.' ');