Skip to content

Commit

Permalink
moeda cnab abc
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardokum committed Aug 20, 2024
1 parent e4082b5 commit fe0e17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cnab/Remessa/Cnab400/Banco/Abc.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function addBoleto(BoletoContract $boleto)
$this->add(382, 385, Util::formatCnab('X', '', 4));
$this->add(386, 391, Util::formatCnab('X', '', 6));
$this->add(392, 393, Util::formatCnab('9', $boleto->getDiasProtesto('0'), 2));
$this->add(394, 394, $boleto->getMoeda());
$this->add(394, 394, $boleto->getMoeda() == 9 ? '1' : $boleto->getMoeda());
$this->add(395, 400, Util::formatCnab('9', $this->iRegistros + 1, 6));

if (count($boleto->getNotasFiscais()) > 0) {
Expand Down

0 comments on commit fe0e17a

Please sign in to comment.