summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2024-11-28 11:48:49 +0100
committerÖzgür Kesim <oec@codeblau.de>2024-11-28 11:48:49 +0100
commit248f4a1276ee6eceae69d12042ed2d527c635ab6 (patch)
tree1e11772df07cab01a532ce25aa0091481d926eb4 /templates
parent574a953078e1b9a68a8528bf16e91860283542b3 (diff)
correction to report
Diffstat (limited to 'templates')
-rw-r--r--templates/report.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/report.t b/templates/report.t
index d89b921..c1e470e 100644
--- a/templates/report.t
+++ b/templates/report.t
@@ -8,13 +8,13 @@ Beneficiary: {{.Beneficiary}}{{- $p := .}}
{{range $wp, $t := .Totals }}
Total for {{ $wp }}:
- Budgeted: {{ printf "%8s" $t.Budgeted.AsDay }}
- - Planned: {{ printf "%8s" $t.Planned.AsDay }}{{with $t.Unaccounted }} !Unaccounted: {{.AsDay}}{{end}}
+ - Planned: {{ printf "%8s" $t.Planned.AsDay }}{{with $t.Unaccounted }} !Unaccounted: {{printf "%8s" .AsDay}}{{end}}
- Actual: {{ printf "%8s" $t.Actual.AsDay }}
- Per Task:
{{- range $n, $t := (index $p.Workpackages $wp).Tasks }}
- {{ $t.ID }} ({{ $n }}):{{ $tt := $p.TotalWPTask $wp $n }}
- - Budgeted: {{ printf "%8s" $tt.Budgeted.AsDay }}
- - Planned: {{ printf "%8s" $tt.Planned.AsDay }}{{with $tt.Unaccounted }} !Unaccounted: {{.AsDay}}{{end}}
- - Actual: {{ printf "%8s" $tt.Actual.AsDay }}
+ - Budgeted: {{ printf "%8s" $tt.Budgeted }}
+ - Planned: {{ printf "%8s" $tt.Planned }}{{with $tt.Unaccounted }} !Unaccounted: {{printf "%8s" .AsDay}}{{end}}
+ - Actual: {{ printf "%8s" $tt.Actual }}
{{ end }}
{{ end }}