summaryrefslogtreecommitdiff
path: root/templates/report.t
diff options
context:
space:
mode:
Diffstat (limited to 'templates/report.t')
-rw-r--r--templates/report.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/report.t b/templates/report.t
index b42aabe..9a807e5 100644
--- a/templates/report.t
+++ b/templates/report.t
@@ -10,12 +10,12 @@ Beneficiary: {{.Beneficiary}}
Total for {{ $wp }}:
- Budgeted: {{ printf "%8s" $t.Budgeted.AsDay }}
- Planned: {{ printf "%8s" $t.Planned.AsDay }}{{with $t.Unaccounted }} !Unaccounted: {{printf "%8s" .AsDay}}{{end}}
- - Actual: {{ printf "%8s" $t.Actual.AsDay }}
+ - Actual: {{ printf "%8s" $t.Done.AsDay }}{{with $t.Open }} !TODO: {{printf "%8s" .AsDay }}{{end}}
- 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: {{printf "%8s" .AsDay}}{{end}}
- - Actual: {{ printf "%8s" $tt.Actual.AsDay }}
+ - Actual: {{ printf "%8s" $tt.Done.AsDay }}{{with $tt.Open }} !TODO: {{printf "%8s" .AsDay}}{{end}}
{{ end }}
{{ end }}