@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.js CHANGED
@@ -1864,9 +1864,7 @@ function gerarRemessa4({ dados }) {
1864
1864
  arquivo.add(" ".padEnd(5, " "));
1865
1865
  arquivo.add(dadosBancario.carteira);
1866
1866
  arquivo.add("0 22");
1867
- console.log(boleto.numeroDocumento);
1868
- const documento = `${boleto.numeroDocumento}/${Number(boleto.parcela)}`.padEnd(14, " ");
1869
- arquivo.add(documento.substring(0, 15));
1867
+ arquivo.add(`${boleto.numeroDocumento}/${Number(boleto.parcela)}`.padEnd(15, " "));
1870
1868
  arquivo.add(vencimento);
1871
1869
  arquivo.add(Number(boleto.valor).toFixed(2).replace(".", "").padStart(15, "0"));
1872
1870
  arquivo.add("00000");