From 59104dfb87efb0d765f6f976cb5da556e6766c5a Mon Sep 17 00:00:00 2001 From: robmachado Date: Sat, 6 Apr 2024 10:16:13 -0300 Subject: [PATCH 1/2] danfce formas de pagamento em maiusculas --- examples/nfe/fixtures/NFCeProd1.xml | 2 +- src/NFe/Traits/TraitBlocoV.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/nfe/fixtures/NFCeProd1.xml b/examples/nfe/fixtures/NFCeProd1.xml index a6b1328b..ecbc6d6f 100755 --- a/examples/nfe/fixtures/NFCeProd1.xml +++ b/examples/nfe/fixtures/NFCeProd1.xml @@ -205,7 +205,7 @@ 0 - 01 + 19 0.94 diff --git a/src/NFe/Traits/TraitBlocoV.php b/src/NFe/Traits/TraitBlocoV.php index f7a166d3..7b952ade 100644 --- a/src/NFe/Traits/TraitBlocoV.php +++ b/src/NFe/Traits/TraitBlocoV.php @@ -81,7 +81,7 @@ protected function pagType($type) 16 => 'Depósito Bancário', 17 => 'Pagamento Instantâneo (PIX)', 18 => 'Transferência bancária, Carteira Digital', - 19 => 'Programa de fidelidade, Cashback, Crédito Virtual', + 19 => 'Programa fidelidade, Cashback, Créd Virt', 90 => 'Sem pagamento', 99 => 'Outros', ]; From 78e04d0076becbf2a570336f235e12e1c3ade48d Mon Sep 17 00:00:00 2001 From: robmachado Date: Sat, 6 Apr 2024 10:18:52 -0300 Subject: [PATCH 2/2] danfce formas de pagamento em maiusculas --- src/NFe/Traits/TraitBlocoV.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NFe/Traits/TraitBlocoV.php b/src/NFe/Traits/TraitBlocoV.php index 7b952ade..ae344dd6 100644 --- a/src/NFe/Traits/TraitBlocoV.php +++ b/src/NFe/Traits/TraitBlocoV.php @@ -31,7 +31,7 @@ protected function blocoV($y) 'valor' => $valor ]; } - $aFont = ['font'=> $this->fontePadrao, 'size' => 7, 'style' => '']; + $aFont = ['font'=> $this->fontePadrao, 'size' => 7, 'style' => 'B']; $texto = "FORMA PAGAMENTO"; $this->pdf->textBox($this->margem, $y, $this->wPrint, 4, $texto, $aFont, 'T', 'L', false, '', false); $texto = "VALOR PAGO R$"; @@ -39,7 +39,9 @@ protected function blocoV($y) $z = $y + $y1; foreach ($arpgto as $p) { + $aFont = ['font'=> $this->fontePadrao, 'size' => 6, 'style' => '']; $this->pdf->textBox($this->margem, $z, $this->wPrint, 3, $p['tipo'], $aFont, 'T', 'L', false, '', false); + $aFont = ['font'=> $this->fontePadrao, 'size' => 7, 'style' => '']; $y2 = $this->pdf->textBox( $this->margem, $z,