diff options
author | Özgür Kesim <oec@codeblau.de> | 2024-11-28 12:52:01 +0100 |
---|---|---|
committer | Özgür Kesim <oec@codeblau.de> | 2024-11-28 12:52:01 +0100 |
commit | e95a45d5afe73744649b70209f7568eea67e0fb5 (patch) | |
tree | 1da008923d057a8b7a55787c67a924e03f342f3c | |
parent | b9bb978f0612a684ee0aaf292a1c910be8fef1a3 (diff) |
data as days
-rw-r--r-- | templates/report.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/report.t b/templates/report.t index c1e470e..484141e 100644 --- a/templates/report.t +++ b/templates/report.t @@ -13,8 +13,8 @@ Total for {{ $wp }}: - Per Task: {{- range $n, $t := (index $p.Workpackages $wp).Tasks }} - {{ $t.ID }} ({{ $n }}):{{ $tt := $p.TotalWPTask $wp $n }} - - Budgeted: {{ printf "%8s" $tt.Budgeted }} - - Planned: {{ printf "%8s" $tt.Planned }}{{with $tt.Unaccounted }} !Unaccounted: {{printf "%8s" .AsDay}}{{end}} - - Actual: {{ printf "%8s" $tt.Actual }} + - Budgeted: {{ printf "%8s" $tt.Budgeted.AsDay }} + - Planned: {{ printf "%8s" $tt.Planned.AsDay }}{{with $tt.Unaccounted }} !Unaccounted: {{printf "%8s" .AsDay}}{{end}} + - Actual: {{ printf "%8s" $tt.Actual.AsDay }} {{ end }} {{ end }} |