From 23f79c2f415aafd6894f51cd70c72f9dc6910525 Mon Sep 17 00:00:00 2001 From: marinaGD Date: Thu, 13 Sep 2018 15:51:17 -0300 Subject: [PATCH] =?UTF-8?q?fix=20'informa=C3=A7=C3=B5es=20adicionais'=20bo?= =?UTF-8?q?x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pytrustnfe/nfe/danfe.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pytrustnfe/nfe/danfe.py b/pytrustnfe/nfe/danfe.py index 822ba3f..63018c1 100644 --- a/pytrustnfe/nfe/danfe.py +++ b/pytrustnfe/nfe/danfe.py @@ -783,10 +783,10 @@ obsCont[@xCampo='NomeVendedor']") self.canvas.setFont('NimbusSanL-Regu', 5) self.string(self.nLeft + 1, self.nlin + 4, 'INFORMAÇÕES COMPLEMENTARES') - self.string((self.width / 2) + 1, self.nlin + 4, 'RESERVADO AO FISCO') + self.string(((self.width / 3)*2) + 1, self.nlin + 4, 'RESERVADO AO FISCO') self.rect(self.nLeft, self.nlin + 2, self.width - self.nLeft - self.nRight, 42) - self.vline(self.width / 2, self.nlin + 2, 42) + self.vline((self.width / 3)*2, self.nlin + 2, 42) # Conteúdo campos styles = getSampleStyleSheet() styleN = styles['Normal'] @@ -798,7 +798,7 @@ obsCont[@xCampo='NomeVendedor']") if fisco: observacoes = fisco + ' ' + observacoes P = Paragraph(observacoes, styles['Normal']) - w, h = P.wrap(92 * mm, 32 * mm) + w, h = P.wrap(128 * mm, 32 * mm) altura = (self.height - self.nlin - 5) * mm P.drawOn(self.canvas, (self.nLeft + 1) * mm, altura - h) self.nlin += 36