account statement stuff
This commit is contained in:
@ -20,10 +20,6 @@ def perform(dbh, params):
|
||||
)
|
||||
|
||||
template = getParam(params, 'template', 'accountStatement.tmpl')
|
||||
prefix = getParam(params, 'prefix', 'accountStatement')
|
||||
suffix = getParam(params, 'suffix', 'tex')
|
||||
input = { 'year': year, 'entries': accountEntries }
|
||||
outputFile = f"{prefix}-{year}.{suffix}"
|
||||
tmpl = Template(file=template, searchList=[ input ])
|
||||
with open(outputFile, 'w') as f:
|
||||
f.write(str(tmpl))
|
||||
print(tmpl)
|
||||
|
Reference in New Issue
Block a user