From 5747b86de4a0452f4183d5599eba68b6ecadca5e Mon Sep 17 00:00:00 2001 From: Nelson Elhage Date: Tue, 19 Jan 2010 10:59:35 -0500 Subject: [PATCH] Keep track of who owes what (and has paid what) using ledger --- ledger | 85 ++++++++++++++++++++++++++++++++++++++++++++++++ templates/ledger | 5 +++ 2 files changed, 90 insertions(+) create mode 100644 ledger create mode 100644 templates/ledger diff --git a/ledger b/ledger new file mode 100644 index 0000000..b1b2724 --- /dev/null +++ b/ledger @@ -0,0 +1,85 @@ +2009-12-28 Week 0 + User:ianyh -$5 + Pool:Owed:ianyh + +2010-01-04 Week 1 + User:ccpost -$5 + Pool:Owed:ccpost +2010-01-04 Week 1 + User:fyrrwulf -$5 + Pool:Owed:fyrrwulf +2010-01-04 Week 1 + User:kaduk -$5 + Pool:Owed:kaduk +2010-01-04 Week 1 + User:kaia -$5 + Pool:Owed:kaia +2010-01-04 Week 1 + User:keach -$5 + Pool:Owed:keach +2010-01-04 Week 1 + User:zhangc -$5 + Pool:Owed:zhangc + +2010-01-11 Week 2 + User:cbayley -$5 + Pool:Owed:cbayley +2010-01-11 Week 2 + User:havasi -$5 + Pool:Owed:havasi +2010-01-11 Week 2 + User:jhamrick -$5 + Pool:Owed:jhamrick +2010-01-11 Week 2 + User:kaduk -$5 + Pool:Owed:kaduk +2010-01-11 Week 2 + User:kaia -$5 + Pool:Owed:kaia +2010-01-11 Week 2 + User:kyoki -$5 + Pool:Owed:kyoki + +2010-01-18 Week 3 + User:adehnert -$5 + Pool:Owed:adehnert +2010-01-18 Week 3 + User:afarrell -$5 + Pool:Owed:afarrell +2010-01-18 Week 3 + User:cbayley -$5 + Pool:Owed:cbayley +2010-01-18 Week 3 + User:ccpost -$5 + Pool:Owed:ccpost +2010-01-18 Week 3 + User:geofft -$5 + Pool:Owed:geofft +2010-01-18 Week 3 + User:ianyh -$5 + Pool:Owed:ianyh +2010-01-18 Week 3 + User:ismith -$5 + Pool:Owed:ismith +2010-01-18 Week 3 + User:kaia -$5 + Pool:Owed:kaia +2010-01-18 Week 3 + User:keach -$5 + Pool:Owed:keach +2010-01-18 Week 3 + User:laura47 -$5 + Pool:Owed:laura47 +2010-01-18 Week 3 + User:lexrj -$5 + Pool:Owed:lexrj +2010-01-18 Week 3 + User:lizdenys -$5 + Pool:Owed:lizdenys +2010-01-18 Week 3 + User:price -$5 + Pool:Owed:price +2010-01-18 Week 3 + User:seborn -$5 + Pool:Owed:seborn + diff --git a/templates/ledger b/templates/ledger new file mode 100644 index 0000000..f3f8225 --- /dev/null +++ b/templates/ledger @@ -0,0 +1,5 @@ +% for u in sorted(lame, key=lambda u:u.username): +${week_end.strftime("%F")} Week ${week} + User:${u.username} -$5 + Pool:Owed:${u.username} +% endfor -- 2.39.5