locale stuff
This commit is contained in:
@ -25,3 +25,10 @@ SELECT o.id, o.description, o.amount, o.fee_type, o.startdate, o.enddate
|
||||
"params": (tenancyId, )
|
||||
}
|
||||
)
|
||||
|
||||
def get_account_saldo(user, token_info, accountId=None):
|
||||
return dbGetOne(user, token_info, {
|
||||
"statement": "SELECT sum(amount) as saldo FROM account_entry_t WHERE account=%s",
|
||||
"params": (accountId, )
|
||||
}
|
||||
)
|
Reference in New Issue
Block a user