summaryrefslogtreecommitdiff
path: root/zeitgeist.go
diff options
context:
space:
mode:
Diffstat (limited to 'zeitgeist.go')
-rw-r--r--zeitgeist.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/zeitgeist.go b/zeitgeist.go
index 64bdc0d..32d8fd6 100644
--- a/zeitgeist.go
+++ b/zeitgeist.go
@@ -814,6 +814,11 @@ type Totals struct {
Actual Amount
}
+type WPTotals struct {
+ *Totals
+ Tasks map[string]*Totals
+}
+
func (t *Totals) Unaccounted() Amount {
d := t.Budgeted - t.Planned
// TODO: rounding OK!?