def otros(self,pdf,y,orden):
encabezados_otros = ('LUGAR DE ENTREGA', 'PLAZO DE ENTREGA', 'FORMA DE PAGO')
otros = [(EMPRESA.direccion(),u"INMEDIATA",orden.forma_pago.descripcion)]
tabla_otros = Table([encabezados_otros] + otros,colWidths=[6 * cm, 3.5 * cm, 4.5 * cm], rowHeights=[0.6 * cm, 1 * cm])
tabla_otros.setStyle(TableStyle(
[
('ALIGN',(0,0),(2,0),'CENTER'),
('GRID', (0, 0), (2, 1), 1, colors.black),
('FONTSIZE', (0, 0), (-1, -1), 8),
]
))
tabla_otros.wrapOn(pdf, 800, 600)
tabla_otros.drawOn(pdf, 40,y+5)
评论列表
文章目录