Skip to content

Commit 38d1192

Browse files
committed
multa grafeno
1 parent 709d5c9 commit 38d1192

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Cnab/Remessa/Cnab400/Banco/Grafeno.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function addBoleto(BoletoContract $boleto)
150150
$this->add(38, 62, Util::formatCnab('X', $boleto->getNumeroControle(), 25)); // numero de controle
151151
$this->add(63, 65, $this->getCodigoBanco());
152152
$this->add(66, 66, $boleto->getMulta() > 0 ? '2' : '0');
153-
$this->add(67, 70, Util::formatCnab('9', Util::nFloat(($boleto->getMulta() / $boleto->getValor()) * 100), 4, 2));
153+
$this->add(67, 70, Util::formatCnab('9', Util::nFloat($boleto->getMulta(), 4, 2)));
154154
$this->add(71, 82, Util::formatCnab('9', $boleto->getNossoNumero(), 12));
155155
$this->add(83, 92, Util::formatCnab('9', $boleto->getDesconto(), 10, 2));
156156
$this->add(93, 93, '');

0 commit comments

Comments
 (0)