diff options
-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 }} |