@plasoft/boletos 1.0.23 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +1 -1
- package/build/index.mjs +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -1387,7 +1387,7 @@ function gerarRemessa3({ dados }) {
|
|
|
1387
1387
|
desconto = dadosBancario.descontoPagamento.toFixed(2).replace(".", "").padStart(13, "0");
|
|
1388
1388
|
dataDesconto = (0, import_date_fns4.format)(new Date(boleto.vencimento), "ddMMyy");
|
|
1389
1389
|
}
|
|
1390
|
-
let valorJurosDias = Number(boleto.valor)
|
|
1390
|
+
let valorJurosDias = Number(boleto.valor) * Number(dadosBancario.jurosMes) / 100 / 30;
|
|
1391
1391
|
let multaAtraso = String(dadosBancario.multaAtraso * 100);
|
|
1392
1392
|
arquivo.add("1");
|
|
1393
1393
|
arquivo.add("AAA");
|
package/build/index.mjs
CHANGED
|
@@ -1350,7 +1350,7 @@ function gerarRemessa3({ dados }) {
|
|
|
1350
1350
|
desconto = dadosBancario.descontoPagamento.toFixed(2).replace(".", "").padStart(13, "0");
|
|
1351
1351
|
dataDesconto = format3(new Date(boleto.vencimento), "ddMMyy");
|
|
1352
1352
|
}
|
|
1353
|
-
let valorJurosDias = Number(boleto.valor)
|
|
1353
|
+
let valorJurosDias = Number(boleto.valor) * Number(dadosBancario.jurosMes) / 100 / 30;
|
|
1354
1354
|
let multaAtraso = String(dadosBancario.multaAtraso * 100);
|
|
1355
1355
|
arquivo.add("1");
|
|
1356
1356
|
arquivo.add("AAA");
|