@plasoft/boletos 1.0.61 → 1.0.62

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.mjs CHANGED
@@ -1829,9 +1829,7 @@ function gerarRemessa4({ dados }) {
1829
1829
  arquivo.add(" ".padEnd(5, " "));
1830
1830
  arquivo.add(dadosBancario.carteira);
1831
1831
  arquivo.add("0 22");
1832
- console.log(boleto.numeroDocumento);
1833
- const documento = `${boleto.numeroDocumento}/${Number(boleto.parcela)}`.padEnd(14, " ");
1834
- arquivo.add(documento.substring(0, 15));
1832
+ arquivo.add(`${boleto.numeroDocumento}/${Number(boleto.parcela)}`.padEnd(15, " "));
1835
1833
  arquivo.add(vencimento);
1836
1834
  arquivo.add(Number(boleto.valor).toFixed(2).replace(".", "").padStart(15, "0"));
1837
1835
  arquivo.add("00000");