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..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, @@ -81,7 +83,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', ];