diff options
author | Özgür Kesim <oec@codeblau.de> | 2024-11-28 14:37:32 +0100 |
---|---|---|
committer | Özgür Kesim <oec@codeblau.de> | 2024-11-28 14:37:32 +0100 |
commit | 0ff7cb7e40c656e545494c62f2349bfd357fd317 (patch) | |
tree | 0560b0bbb3d0f03608e430550160dae7f50ce29d /zeitgeist.go | |
parent | 2de8fe8b48580852013b87c16c199c6df4a46de9 (diff) |
start work on wp-totals
Diffstat (limited to 'zeitgeist.go')
-rw-r--r-- | zeitgeist.go | 5 |
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!? |