summaryrefslogtreecommitdiff
path: root/templates/wp-total.md
diff options
context:
space:
mode:
Diffstat (limited to 'templates/wp-total.md')
-rw-r--r--templates/wp-total.md22
1 files changed, 12 insertions, 10 deletions
diff --git a/templates/wp-total.md b/templates/wp-total.md
index c664634..8b30eca 100644
--- a/templates/wp-total.md
+++ b/templates/wp-total.md
@@ -1,18 +1,20 @@
Total for {{ .WP }}:
-------------------
-Budgeted : {{ printf "%8s" .Budgeted.AsDay }}
- Planned : {{ printf "%8s" .Planned.AsDay }}{{with .Unaccounted }}
- ! Open !: {{ printf "%8s" .AsDay}}{{end}}
- Done : {{ printf "%8s" .Done.AsDay }}{{with .Open }}
- ! Todo !: {{ printf "%8s" .AsDay }}{{end}}
+Budgeted : {{ printf "%8s" .Budgeted.AsMonth }}
+ Planned : {{ printf "%8s" .Planned.AsMonth }}{{with .Unaccounted }}
+ ! Open !: {{ printf "%8s" .AsMonth}}{{end}}
+ Done : {{ printf "%8s" .Done.AsMonth }}
+ {{ printf " %5.2f%%" .Percent }}
+ Diff : {{ printf "%8s" .Difference.AsMonth }}{{with .Open }}
+ ! Todo !: {{ printf "%8s" .AsMonth }}{{end}}
Per Task:
{{- range $n, $t := .Tasks }}
»{{ $n }}«:
-Budgeted : {{ printf "%8s" $t.Budgeted.AsDay }}
- Planned : {{ printf "%8s" $t.Planned.AsDay }}{{with $t.Unaccounted }}
- ! Open !: {{ printf "%8s" .AsDay}}{{end}}
- Done : {{ printf "%8s" $t.Done.AsDay }}{{with $t.Open }}
- ! Todo !: {{ printf "%8s" .AsDay}}{{end}}
+Budgeted : {{ printf "%8s" $t.Budgeted.AsMonth }}
+ Planned : {{ printf "%8s" $t.Planned.AsMonth }}{{with $t.Unaccounted }}
+ ! Open !: {{ printf "%8s" .AsMonth}}{{end}}
+ Done : {{ printf "%8s" $t.Done.AsMonth }}{{with $t.Open }}
+ ! Todo !: {{ printf "%8s" .AsMonth}}{{end}}
{{- end }} \ No newline at end of file