Updated files to produce accounting information.
This commit is contained in:
@@ -215,6 +215,13 @@ def getStatementHeader(datastore):
|
||||
return datastore['header']
|
||||
|
||||
|
||||
def getAccounting(datastore):
|
||||
try:
|
||||
return datastore['accounting']
|
||||
except:
|
||||
return {"payment_account":"", "loan_account":"", "interest_account": ""}
|
||||
|
||||
|
||||
def getEmailInformation(datastore):
|
||||
return datastore['email']
|
||||
|
||||
@@ -229,6 +236,7 @@ def loadLoanInformation(document_id):
|
||||
loanModel['lender'] = getLender(datastore)
|
||||
loanModel['borrower'] = getBorrower(datastore)
|
||||
loanModel['header'] = getStatementHeader(datastore)
|
||||
loanModel['accounting'] = getAccounting(datastore)
|
||||
return loanModel
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user