From f6b280b4352235d35d7dd874e4ba0f128536d74e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Gusm=C3=A3o?= Date: Tue, 7 Jun 2022 11:00:54 -0300 Subject: [PATCH] ajuste issue #662 --- src/Cnab/Remessa/Cnab240/Banco/Bancoob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cnab/Remessa/Cnab240/Banco/Bancoob.php b/src/Cnab/Remessa/Cnab240/Banco/Bancoob.php index b168c6c6..54cf64d4 100644 --- a/src/Cnab/Remessa/Cnab240/Banco/Bancoob.php +++ b/src/Cnab/Remessa/Cnab240/Banco/Bancoob.php @@ -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');