Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardokum committed Jun 7, 2022
2 parents 94a4770 + f6b280b commit a0aae41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cnab/Remessa/Cnab240/Banco/Bancoob.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public function segmentoR(BoletoContract $boleto)
$this->add(43, 50, '00000000');
$this->add(51, 65, '000000000000000');
$this->add(66, 66, $boleto->getMulta() > 0 ? '2' : '0'); //0 = ISENTO | 1 = VALOR FIXO | 2 = PERCENTUAL
$this->add(67, 74, $boleto->getMulta() > 0 ? $boleto->getDataVencimento()->copy()->addDay()->format('dmY') : '00000000'); +
$this->add(67, 74, $boleto->getMulta() > 0 ? $boleto->getDataVencimento()->copy()->addDay()->format('dmY') : '00000000');
$this->add(75, 89, Util::formatCnab('9', $boleto->getMulta(), 15, 2)); //2,20 = 0000000000220
$this->add(90, 199, '');
$this->add(200, 207, '00000000');
Expand Down

0 comments on commit a0aae41

Please sign in to comment.