summaryrefslogtreecommitdiff
path: root/postgresqleu/confreg/invoicehandler.py
diff options
context:
space:
mode:
authorMagnus Hagander2024-11-06 14:53:08 +0000
committerMagnus Hagander2024-11-06 14:54:44 +0000
commit45362d57faa5f097b2902756ca59a29183813fbd (patch)
tree46b1fd54d6c4819415d3beadb5451740221b0203 /postgresqleu/confreg/invoicehandler.py
parentad798bc8a92e5a38db5bacd22393fbef4e1a7b0e (diff)
Include invoice num in log of invoice created/canceled for regs
Diffstat (limited to 'postgresqleu/confreg/invoicehandler.py')
-rw-r--r--postgresqleu/confreg/invoicehandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/confreg/invoicehandler.py b/postgresqleu/confreg/invoicehandler.py
index 6abe81ab..6b6ad325 100644
--- a/postgresqleu/confreg/invoicehandler.py
+++ b/postgresqleu/confreg/invoicehandler.py
@@ -54,7 +54,7 @@ class InvoiceProcessor(object):
# Unlink this invoice from the registration. This will automatically
# "unlock" the registration
reg.invoice = None
- reglog(reg, "Invoice canceled, unlinking from reg")
+ reglog(reg, "Invoice #{} canceled, unlinking from reg".format(invoice.id))
# If this registration holds any additional options that are about to expire, release
# them for others to use at this point.