@plasoft/boletos 1.0.72 → 1.0.73
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-hibrido.hbs +1 -2
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/index.mjs +1 -1
- package/build/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -172,7 +172,6 @@
|
|
|
172
172
|
</div>
|
|
173
173
|
|
|
174
174
|
<div class="header-beneficiario">
|
|
175
|
-
@
|
|
176
175
|
<span>{{beneficiario.nome}} (CNPJ: {{beneficiario.cnpj}})</span>
|
|
177
176
|
<span>{{beneficiario.endereco.logradouro}}, {{beneficiario.endereco.numero}},
|
|
178
177
|
{{beneficiario.endereco.bairro}}</span>
|
|
@@ -502,7 +501,7 @@
|
|
|
502
501
|
<td colspan="6" style="border-right: 0px;">
|
|
503
502
|
<div class="td-content">
|
|
504
503
|
<strong>Pagador</strong>
|
|
505
|
-
<span>{{pagador.nome}} (CNPJ: {{pagador.
|
|
504
|
+
<span>{{pagador.nome}} ({{#if pagador.isCnpj}}CNPJ:{{else}}CPF:{{/if}} {{pagador.cpfcnpj}})</span>
|
|
506
505
|
<span>{{pagador.endereco.logradouro}}, {{pagador.endereco.numero}}, {{pagador.endereco.bairro}}</span>
|
|
507
506
|
<span>{{pagador.endereco.municipio}}/{{pagador.endereco.uf}} — {{pagador.endereco.cep}}</span>
|
|
508
507
|
</div>
|
package/build/index.js
CHANGED
|
@@ -136,7 +136,7 @@ function numberToReal(numero) {
|
|
|
136
136
|
}
|
|
137
137
|
function codigoBarra(codigo) {
|
|
138
138
|
const formatter = new import_string_mask.default("00000.00000 00000.000000 00000.000000 0 000000000000000");
|
|
139
|
-
return formatter.apply(codigo);
|
|
139
|
+
return formatter.apply(codigo.replace(/\D/g, ""));
|
|
140
140
|
}
|
|
141
141
|
var maskFormat_default = {
|
|
142
142
|
numberToReal,
|