Skip to content

Commit

Permalink
danfce formas de pagamento em maiusculas
Browse files Browse the repository at this point in the history
  • Loading branch information
robmachado committed Apr 6, 2024
1 parent bc077c8 commit 78e04d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/NFe/Traits/TraitBlocoV.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,17 @@ 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$";
$y1 = $this->pdf->textBox($this->margem, $y, $this->wPrint, 4, $texto, $aFont, 'T', 'R', false, '', false);

$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,
Expand Down

0 comments on commit 78e04d0

Please sign in to comment.