this is a function
This commit is contained in:
parent
13efe137b8
commit
b6c79a9cdd
|
@ -53,7 +53,7 @@ class BaseTicket(CreatedUpdatedModel, UUIDModel):
|
||||||
return qrcode_base64
|
return qrcode_base64
|
||||||
|
|
||||||
def get_qr_code_url(self):
|
def get_qr_code_url(self):
|
||||||
return 'data:image/png;base64,{}'.format(self.get_qr_code_base64)
|
return 'data:image/png;base64,{}'.format(self.get_qr_code_base64())
|
||||||
|
|
||||||
def generate_pdf(self):
|
def generate_pdf(self):
|
||||||
return generate_pdf_letter(
|
return generate_pdf_letter(
|
||||||
|
|
Loading…
Reference in a new issue