mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Add number of places on ebticket
This commit is contained in:
@ -1058,7 +1058,7 @@ class EticketPDFView(CanViewMixin, DetailView):
|
||||
p.setFont("Helvetica-Bold", 16)
|
||||
p.drawCentredString(10.5 * cm, 22.6 * cm, eticket.event_date.strftime("%d %b %Y")) # FIXME with a locale
|
||||
p.setFont("Helvetica-Bold", 14)
|
||||
p.drawCentredString(10.5 * cm, 15 * cm, user.get_display_name())
|
||||
p.drawCentredString(10.5 * cm, 15 * cm, ''.join((user.get_display_name()," : ",str(self.object.quantity)," ",str(_("people(s)")))))
|
||||
p.setFont("Courier-Bold", 14)
|
||||
qrcode = QrCodeWidget(code)
|
||||
bounds = qrcode.getBounds()
|
||||
|
Reference in New Issue
Block a user