fix: Change alignment of 'RECIBO DE PAGO' header to right in PDF receipt
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ class Recibo(FPDF):
|
|||||||
def header(self):
|
def header(self):
|
||||||
self.set_font('Arial', 'B', 15)
|
self.set_font('Arial', 'B', 15)
|
||||||
self.cell(0, 10, "Comercialmeria S.L")
|
self.cell(0, 10, "Comercialmeria S.L")
|
||||||
self.cell(0, 10, 'RECIBO DE PAGO', ln=True, align='C')
|
self.cell(0, 10, 'RECIBO DE PAGO', ln=True, align='R')
|
||||||
self.ln(10)
|
self.ln(10)
|
||||||
|
|
||||||
def footer(self):
|
def footer(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user