forked from brmlab/brmbar-github
Change to receipt_reimbursement.
This commit is contained in:
parent
5d658a7406
commit
e31165d668
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ class Shop:
|
|||
#self.profits.credit(transaction, credit, user.name)
|
||||
#user.credit(transaction, credit, "Credit from receipt: " + description)
|
||||
self.db.execute_and_fetch(
|
||||
"SELECT public.buy_for_cash(%s, %s, %s, %s, %s)",
|
||||
"SELECT public.receipt_reimbursement(%s, %s, %s, %s, %s)",
|
||||
[self.profits.id, user.id, user.name, credit, description]
|
||||
)[0]
|
||||
self.db.commit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue