#import time #import dailyspents.util as util #import os #import cherrypy #include util.HTMLPATH + 'common' + os.sep + 'head.html'
#include util.HTMLPATH + 'common' + os.sep + 'top.html' #include util.HTMLPATH + 'common' + os.sep + 'menu.html'
statistics
#include util.HTMLPATH + 'common' + os.sep + 'errorMessages.html'
statistics from $cherrypy.session['spents'][-1].date to $cherrypy.session['spents'][0].date
$cherrypy.session.user.settings.currency $total

total per category

#for k, v in $totalPerCategory.items(): #end for
category total percentage
$k $v[0] #echo '%.2f' % $v[1] %
#set img = '/static/tmp/category' + $cherrypy.session['_id'] + '.png'

total per payment

#for k, v in $totalPerPayment.items(): #end for
payment total percentage
$k $v[0] #echo '%.2f' % $v[1] %
#set img = '/static/tmp/payment' + $cherrypy.session['_id'] + '.png'
#include util.HTMLPATH + 'common' + os.sep + 'bottom.html'