@plasoft/boletos 1.0.13 → 1.0.15
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/ailos-boleto.hbs +2 -0
- package/build/index.d.mts +1 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +3 -3
- package/build/index.mjs +3 -3
- package/package.json +1 -1
package/build/ailos-boleto.hbs
CHANGED
package/build/index.d.mts
CHANGED
package/build/index.d.ts
CHANGED
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
|
|
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 ${
|
|
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 ${
|
|
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
|
|
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 ${
|
|
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 ${
|
|
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) {
|