@plasoft/boletos 1.0.13 → 1.0.14

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
@@ -287,15 +287,15 @@ function gerarPDF(_0) {
287
287
  }
288
288
  const jurosMes = Number(((_a = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _a.juros) || 0);
289
289
  if (jurosMes > 0) {
290
- dadosPDF.boleto.instrucao1 = `JUROS PARA ${numberToReal(jurosMes)}% AO M\xCAS AP\xD3S O VENCIMENTO`;
290
+ dadosPDF.boleto.instrucao1 = `COBRAR JUROS DE ${jurosMes}% AO M\xCAS, AP\xD3S O VENCIMENTO`;
291
291
  }
292
292
  const descontoVencimento = Number(((_b = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _b.desconto) || 0);
293
293
  if (descontoVencimento > 0) {
294
- dadosPDF.boleto.instrucao2 = `AT\xC9 O VENCIMENTO, CONCEDER DESCONTO DE ${numberToReal(descontoVencimento)}%`;
294
+ dadosPDF.boleto.instrucao2 = `AT\xC9 O VENCIMENTO, CONCEDER DESCONTO DE ${descontoVencimento}%`;
295
295
  }
296
296
  const multaAtraso = Number(((_c = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _c.multa) || 0);
297
297
  if (multaAtraso > 0) {
298
- dadosPDF.boleto.instrucao3 = `MULTA DE ${numberToReal(multaAtraso)} %`;
298
+ dadosPDF.boleto.instrucao3 = `MULTA DE ${multaAtraso} %`;
299
299
  }
300
300
  const protestoDias = Number(((_d = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _d.protesto) || 0);
301
301
  if (protestoDias > 0) {
package/build/index.mjs CHANGED
@@ -250,15 +250,15 @@ function gerarPDF(_0) {
250
250
  }
251
251
  const jurosMes = Number(((_a = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _a.juros) || 0);
252
252
  if (jurosMes > 0) {
253
- dadosPDF.boleto.instrucao1 = `JUROS PARA ${numberToReal(jurosMes)}% AO M\xCAS AP\xD3S O VENCIMENTO`;
253
+ dadosPDF.boleto.instrucao1 = `COBRAR JUROS DE ${jurosMes}% AO M\xCAS, AP\xD3S O VENCIMENTO`;
254
254
  }
255
255
  const descontoVencimento = Number(((_b = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _b.desconto) || 0);
256
256
  if (descontoVencimento > 0) {
257
- dadosPDF.boleto.instrucao2 = `AT\xC9 O VENCIMENTO, CONCEDER DESCONTO DE ${numberToReal(descontoVencimento)}%`;
257
+ dadosPDF.boleto.instrucao2 = `AT\xC9 O VENCIMENTO, CONCEDER DESCONTO DE ${descontoVencimento}%`;
258
258
  }
259
259
  const multaAtraso = Number(((_c = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _c.multa) || 0);
260
260
  if (multaAtraso > 0) {
261
- dadosPDF.boleto.instrucao3 = `MULTA DE ${numberToReal(multaAtraso)} %`;
261
+ dadosPDF.boleto.instrucao3 = `MULTA DE ${multaAtraso} %`;
262
262
  }
263
263
  const protestoDias = Number(((_d = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _d.protesto) || 0);
264
264
  if (protestoDias > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasoft/boletos",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "main": "build",
5
5
  "license": "ISC",
6
6
  "scripts": {