@plasoft/boletos 1.0.9 → 1.0.11
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 +4 -4
- package/build/index.js +2 -4
- package/build/index.mjs +2 -4
- package/package.json +1 -1
package/build/ailos-boleto.hbs
CHANGED
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
<td width="15%">
|
|
182
182
|
<div class="td-content">
|
|
183
183
|
<strong>Carteira</strong>
|
|
184
|
-
<span>{{beneficiario.
|
|
184
|
+
<span>{{beneficiario.dadosBancario.carteira}}</span>
|
|
185
185
|
</div>
|
|
186
186
|
</td>
|
|
187
187
|
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
<div class="td-content">
|
|
220
220
|
<strong>Agência / Código do Beneficiário</strong>
|
|
221
221
|
<span>
|
|
222
|
-
{{beneficiario.
|
|
222
|
+
{{beneficiario.dadosBancario.agencia}}-{{beneficiario.dadosBancario.agenciaDigito}}/{{beneficiario.dadosBancario.conta}}-{{beneficiario.dadosBancario.contaDigito}}
|
|
223
223
|
</span>
|
|
224
224
|
</div>
|
|
225
225
|
</td>
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
<div class="td-content right">
|
|
291
291
|
<strong>Agência / Código do Beneficiário</strong>
|
|
292
292
|
<span>
|
|
293
|
-
{{beneficiario.
|
|
293
|
+
{{beneficiario.dadosBancario.agencia}}-{{beneficiario.dadosBancario.agenciaDigito}}/{{beneficiario.dadosBancario.conta}}-{{beneficiario.dadosBancario.contaDigito}}
|
|
294
294
|
</span>
|
|
295
295
|
</div>
|
|
296
296
|
</td>
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
<td>
|
|
359
359
|
<div class="td-content">
|
|
360
360
|
<strong>Carteira</strong>
|
|
361
|
-
<span>{{beneficiario.
|
|
361
|
+
<span>{{beneficiario.dadosBancario.carteira}}</span>
|
|
362
362
|
</div>
|
|
363
363
|
</td>
|
|
364
364
|
|
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) {
|