@plasoft/boletos 1.0.8 → 1.0.10
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 +2 -4
- package/build/index.mjs +2 -4
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -287,13 +287,11 @@ 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
|
-
|
|
291
|
-
dadosPDF.boleto.instrucao1 = `AP\xD3S O VENCIMENTO, COBRAR JUROS DE R$ ${numberToReal(juros)} POR DIA DE ATRASO`;
|
|
290
|
+
dadosPDF.boleto.instrucao1 = `AP\xD3S O VENCIMENTO, COBRAR JUROS DE ${numberToReal(jurosMes)} %`;
|
|
292
291
|
}
|
|
293
292
|
const descontoVencimento = Number(((_b = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _b.desconto) || 0);
|
|
294
293
|
if (descontoVencimento > 0) {
|
|
295
|
-
|
|
296
|
-
dadosPDF.boleto.instrucao2 = `AT\xC9 O VENCIMENTO, CONCEDER DESCONTO DE R$ ${numberToReal(desconto)}`;
|
|
294
|
+
dadosPDF.boleto.instrucao2 = `AT\xC9 O VENCIMENTO, CONCEDER DESCONTO DE ${numberToReal(descontoVencimento)} %`;
|
|
297
295
|
}
|
|
298
296
|
const multaAtraso = Number(((_c = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _c.multa) || 0);
|
|
299
297
|
if (multaAtraso > 0) {
|
package/build/index.mjs
CHANGED
|
@@ -250,13 +250,11 @@ 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
|
-
|
|
254
|
-
dadosPDF.boleto.instrucao1 = `AP\xD3S O VENCIMENTO, COBRAR JUROS DE R$ ${numberToReal(juros)} POR DIA DE ATRASO`;
|
|
253
|
+
dadosPDF.boleto.instrucao1 = `AP\xD3S O VENCIMENTO, COBRAR JUROS DE ${numberToReal(jurosMes)} %`;
|
|
255
254
|
}
|
|
256
255
|
const descontoVencimento = Number(((_b = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _b.desconto) || 0);
|
|
257
256
|
if (descontoVencimento > 0) {
|
|
258
|
-
|
|
259
|
-
dadosPDF.boleto.instrucao2 = `AT\xC9 O VENCIMENTO, CONCEDER DESCONTO DE R$ ${numberToReal(desconto)}`;
|
|
257
|
+
dadosPDF.boleto.instrucao2 = `AT\xC9 O VENCIMENTO, CONCEDER DESCONTO DE ${numberToReal(descontoVencimento)} %`;
|
|
260
258
|
}
|
|
261
259
|
const multaAtraso = Number(((_c = dadosPDF.beneficiario.dadosBancario) == null ? void 0 : _c.multa) || 0);
|
|
262
260
|
if (multaAtraso > 0) {
|