diff options
Diffstat (limited to 'templates/report.t')
-rw-r--r-- | templates/report.t | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/report.t b/templates/report.t index 679c9e6..1f6de14 100644 --- a/templates/report.t +++ b/templates/report.t @@ -8,11 +8,11 @@ Beneficiary: {{.Beneficiary}} # Planning -Budgeted : {{ $totals.Budgeted }} - Planned : {{ $totals.Planned }}{{with $totals.Unaccounted}} - ! Open !: {{ . }}{{end}} - Done : {{ $totals.Done }}{{ with $totals.Open }} - ! Todo !: {{ . }}{{end}} +Budgeted : {{ printf "%8s" $totals.Budgeted }} + Planned : {{ printf "%8s" $totals.Planned }}{{with $totals.Unaccounted}} + ! Open !: {{ printf "%8s" . }}{{end}} + Done : {{ printf "%8s" $totals.Done }}{{ with $totals.Open }} + ! Todo !: {{ printf "%8s" . }}{{end}} {{ range .ParallelWPTotals }}{{.}} {{ end }} @@ -21,12 +21,12 @@ Budgeted : {{ $totals.Budgeted }} 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}} + - 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}} + - Actual: {{ printf "%8s" $tt.Done.AsDay }}{{with $tt.Open }} !Todo!: {{printf "%8s" .AsDay}}{{end}} {{ end }} {{ end }} |