mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-24 10:21:27 +01:00
fix(transactions): paying transaction doesn't trigger update rules
This commit is contained in:
@@ -316,6 +316,7 @@ def transaction_pay(request, transaction_id):
|
||||
new_is_paid = False if transaction.is_paid else True
|
||||
transaction.is_paid = new_is_paid
|
||||
transaction.save()
|
||||
transaction_updated.send(sender=transaction)
|
||||
|
||||
response = render(
|
||||
request,
|
||||
|
||||
Reference in New Issue
Block a user