From a473f04b91fcd671235a2b7b5d6f3acb74edc948 Mon Sep 17 00:00:00 2001 From: Nelson Elhage Date: Tue, 19 Jan 2010 12:06:04 -0500 Subject: [PATCH 1/1] Update ledger format so that hledger will accept it. --- ledger | 62 ++++++++++++++++++++++++------------------------ templates/ledger | 2 +- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/ledger b/ledger index f03051f..1990372 100644 --- a/ledger +++ b/ledger @@ -1,98 +1,98 @@ 2009-12-28 Week 0 - User:ianyh -$5 + User:ianyh $-5 Pool:Owed:ianyh 2010-01-04 Week 1 - User:ccpost -$5 + User:ccpost $-5 Pool:Owed:ccpost 2010-01-04 Week 1 - User:fyrrwulf -$5 + User:fyrrwulf $-5 Pool:Owed:fyrrwulf 2010-01-04 Week 1 - User:kaduk -$5 + User:kaduk $-5 Pool:Owed:kaduk 2010-01-04 Week 1 - User:kaia -$5 + User:kaia $-5 Pool:Owed:kaia 2010-01-04 Week 1 - User:keach -$5 + User:keach $-5 Pool:Owed:keach 2010-01-04 Week 1 - User:zhangc -$5 + User:zhangc $-5 Pool:Owed:zhangc 2010-01-11 Week 2 - User:cbayley -$5 + User:cbayley $-5 Pool:Owed:cbayley 2010-01-11 Week 2 - User:havasi -$5 + User:havasi $-5 Pool:Owed:havasi 2010-01-11 Week 2 - User:jhamrick -$5 + User:jhamrick $-5 Pool:Owed:jhamrick 2010-01-11 Week 2 - User:kaduk -$5 + User:kaduk $-5 Pool:Owed:kaduk 2010-01-11 Week 2 - User:kaia -$5 + User:kaia $-5 Pool:Owed:kaia 2010-01-11 Week 2 - User:kyoki -$5 + User:kyoki $-5 Pool:Owed:kyoki 2010-01-18 Week 3 - User:adehnert -$5 + User:adehnert $-5 Pool:Owed:adehnert 2010-01-18 Week 3 - User:afarrell -$5 + User:afarrell $-5 Pool:Owed:afarrell 2010-01-18 Week 3 - User:cbayley -$5 + User:cbayley $-5 Pool:Owed:cbayley 2010-01-18 Week 3 - User:ccpost -$5 + User:ccpost $-5 Pool:Owed:ccpost 2010-01-18 Week 3 - User:geofft -$5 + User:geofft $-5 Pool:Owed:geofft 2010-01-18 Week 3 - User:ianyh -$5 + User:ianyh $-5 Pool:Owed:ianyh 2010-01-18 Week 3 - User:ismith -$5 + User:ismith $-5 Pool:Owed:ismith 2010-01-18 Week 3 - User:kaia -$5 + User:kaia $-5 Pool:Owed:kaia 2010-01-18 Week 3 - User:keach -$5 + User:keach $-5 Pool:Owed:keach 2010-01-18 Week 3 - User:laura47 -$5 + User:laura47 $-5 Pool:Owed:laura47 2010-01-18 Week 3 - User:lexrj -$5 + User:lexrj $-5 Pool:Owed:lexrj 2010-01-18 Week 3 - User:lizdenys -$5 + User:lizdenys $-5 Pool:Owed:lizdenys 2010-01-18 Week 3 - User:price -$5 + User:price $-5 Pool:Owed:price 2010-01-18 Week 3 - User:seborn -$5 + User:seborn $-5 Pool:Owed:seborn 2010-01-18 Payment - Pool:Owed:kaduk -$10 + Pool:Owed:kaduk $-10 Pool:Paid 2010-01-18 Payment - Pool:Owed:adehnert -$5 + Pool:Owed:adehnert $-5 Pool:Paid 2010-01-18 Payment - Pool:Owed:zhangc -$5 + Pool:Owed:zhangc $-5 Pool:Paid 2010-01-18 Payment - Pool:Owed:lexrj -$5 + Pool:Owed:lexrj $-5 Pool:Paid diff --git a/templates/ledger b/templates/ledger index f3f8225..022477b 100644 --- a/templates/ledger +++ b/templates/ledger @@ -1,5 +1,5 @@ % for u in sorted(lame, key=lambda u:u.username): ${week_end.strftime("%F")} Week ${week} - User:${u.username} -$5 + User:${u.username} $-5 Pool:Owed:${u.username} % endfor -- 2.39.5