payment: fix cancellation notice email reference (#8178)
This commit is contained in:
parent
363cf2baad
commit
35a82d6bd0
|
@ -585,7 +585,7 @@ def notify_paid_invoice(invoice):
|
|||
notify_invoice(invoice, 'payment-invoice-paid-email')
|
||||
|
||||
def notify_canceled_invoice(invoice):
|
||||
notify_invoice(invoice, 'payment-invoice-deleted-email')
|
||||
notify_invoice(invoice, 'payment-invoice-canceled-email')
|
||||
|
||||
def notify_invoice(invoice, template):
|
||||
user = invoice.get_user()
|
||||
|
|
Reference in New Issue