]> asedeno.scripts.mit.edu Git - bluechips.git/blob - bluechips/controllers/status.py
fa084481011f62fbb8d0289c5ce9a7904064ac9d
[bluechips.git] / bluechips / controllers / status.py
1 """
2 Calculate the current state of the books
3 """
4
5 import logging
6
7 from bluechips.lib.base import *
8 from bluechips.lib.totals import *
9
10 log = logging.getLogger(__name__)
11
12 class StatusController(BaseController):
13     def index(self):
14         c.debts = debts()
15         c.settle = settle(c.debts)
16         
17         return render('/status/index.mako')