From 0ff7cb7e40c656e545494c62f2349bfd357fd317 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Thu, 28 Nov 2024 14:37:32 +0100 Subject: start work on wp-totals --- zeitgeist.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'zeitgeist.go') 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!? -- cgit v1.2.3