summaryrefslogtreecommitdiff
path: root/templates/report.t
diff options
context:
space:
mode:
Diffstat (limited to 'templates/report.t')
-rw-r--r--templates/report.t14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/report.t b/templates/report.t
index 460a83d..679c9e6 100644
--- a/templates/report.t
+++ b/templates/report.t
@@ -6,7 +6,7 @@ Beneficiary: {{.Beneficiary}}
{{- $p := . }}
{{- $totals := .Totals }}
-# Planing
+# Planning
Budgeted : {{ $totals.Budgeted }}
Planned : {{ $totals.Planned }}{{with $totals.Unaccounted}}
@@ -19,14 +19,14 @@ Budgeted : {{ $totals.Budgeted }}
{{range $wp, $t := $totals.WP }}
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.Done.AsDay }}{{with $t.Open }} !TODO: {{printf "%8s" .AsDay }}{{end}}
+ - Budgeted: {{ printf "%8s" $t.Budgeted.AsDay }}
+ - Planned: {{ printf "%8s" $t.Planned.AsDay }}{{with $t.Unaccounted }} !Unaccounted: {{printf "%8s" .AsDay}}{{end}}
+ - Actual: {{ printf "%8s" $t.Done.AsDay }}{{with $t.Open }} !TODO: {{printf "%8s" .AsDay }}{{end}}
- Per Task:
{{- range $n, $t := $t.Tasks }}
- {{ $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.Done.AsDay }}{{with $tt.Open }} !TODO: {{printf "%8s" .AsDay}}{{end}}
+ - Budgeted: {{ printf "%8s" $tt.Budgeted.AsDay }}
+ - Planned: {{ printf "%8s" $tt.Planned.AsDay }}{{with $tt.Unaccounted }} !Unaccounted: {{printf "%8s" .AsDay}}{{end}}
+ - Actual: {{ printf "%8s" $tt.Done.AsDay }}{{with $tt.Open }} !TODO: {{printf "%8s" .AsDay}}{{end}}
{{ end }}
{{ end }}