@alexssmusica/node-pdf-nfe 1.2.4 → 1.2.8
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/lib/application/helpers/generate-pdf/nfe/campo.js +14 -15
- package/lib/application/helpers/generate-pdf/nfe/cria-layout.js +147 -148
- package/lib/application/helpers/generate-pdf/nfe/default.js +26 -26
- package/lib/application/helpers/generate-pdf/nfe/gerar-itens.js +276 -277
- package/lib/application/helpers/generate-pdf/nfe/get-dados-adicionais.js +52 -53
- package/lib/application/helpers/generate-pdf/nfe/get-dados-emitente.js +333 -319
- package/lib/application/helpers/generate-pdf/nfe/get-destinatario-remetente.js +153 -154
- package/lib/application/helpers/generate-pdf/nfe/get-fatura-duplicata.js +63 -64
- package/lib/application/helpers/generate-pdf/nfe/get-homologacao.js +36 -37
- package/lib/application/helpers/generate-pdf/nfe/get-imposto.js +218 -219
- package/lib/application/helpers/generate-pdf/nfe/get-iss.js +73 -74
- package/lib/application/helpers/generate-pdf/nfe/get-menu-itens.js +198 -199
- package/lib/application/helpers/generate-pdf/nfe/get-nota-cancelada.js +16 -17
- package/lib/application/helpers/generate-pdf/nfe/get-recibo.js +100 -101
- package/lib/application/helpers/generate-pdf/nfe/get-transporte.js +178 -179
- package/lib/application/helpers/generate-pdf/nfe/italico.js +15 -16
- package/lib/application/helpers/generate-pdf/nfe/linha-horizontal-tracejada.js +7 -8
- package/lib/application/helpers/generate-pdf/nfe/linha-horizontal.js +15 -16
- package/lib/application/helpers/generate-pdf/nfe/linha-vertical.js +9 -10
- package/lib/application/helpers/generate-pdf/nfe/load-fontes.js +30 -31
- package/lib/application/helpers/generate-pdf/nfe/negrito.js +15 -16
- package/lib/application/helpers/generate-pdf/nfe/normal.js +15 -16
- package/lib/application/helpers/generate-pdf/nfe/options-doc.js +14 -14
- package/lib/application/helpers/generate-pdf/nfe/secao.js +16 -17
- package/lib/application/helpers/generate-pdf/nfe/titulo.js +16 -17
- package/lib/application/helpers/xml/deserialize.js +24 -25
- package/lib/application/helpers/xml/index.js +17 -17
- package/lib/domain/use-cases/pdf/index.js +25 -26
- package/lib/domain/use-cases/pdf/pdf-NFCe.js +688 -688
- package/lib/domain/use-cases/pdf/pdf-NFe.js +54 -54
- package/lib/domain/use-cases/utils/current-date.js +8 -12
- package/lib/domain/use-cases/utils/format-cnpj.js +8 -9
- package/lib/domain/use-cases/utils/format-cpf.js +8 -9
- package/lib/domain/use-cases/utils/format-date-time.js +10 -11
- package/lib/domain/use-cases/utils/format-date.js +9 -10
- package/lib/domain/use-cases/utils/format-key.js +6 -7
- package/lib/domain/use-cases/utils/format-number.js +6 -7
- package/lib/domain/use-cases/utils/format-phone.js +20 -21
- package/lib/domain/use-cases/utils/format-plate.js +16 -17
- package/lib/domain/use-cases/utils/format-postal-code.js +12 -9
- package/lib/domain/use-cases/utils/format-protocol.js +8 -9
- package/lib/domain/use-cases/utils/format-state-registration.js +49 -50
- package/lib/domain/use-cases/utils/format-time.js +8 -9
- package/lib/domain/use-cases/utils/index.js +30 -30
- package/lib/domain/use-cases/utils/return-font-size-carrier.js +23 -24
- package/lib/index.js +5 -5
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/generate-pdf.js +2 -2
- package/lib/types/index.js +19 -19
- package/lib/types/nfe-proc.js +2 -2
- package/lib/types/schema.js +2 -2
- package/package.json +76 -72
- package/lib/application/helpers/generate-pdf/nfe/campo.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/cria-layout.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/default.d.ts +0 -23
- package/lib/application/helpers/generate-pdf/nfe/gerar-itens.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/get-dados-adicionais.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/get-dados-emitente.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/get-destinatario-remetente.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/get-fatura-duplicata.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/get-homologacao.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/get-imposto.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/get-iss.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/get-menu-itens.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/get-nota-cancelada.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/get-recibo.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/get-transporte.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/italico.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/linha-horizontal-tracejada.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/linha-horizontal.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/linha-vertical.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/load-fontes.d.ts +0 -3
- package/lib/application/helpers/generate-pdf/nfe/negrito.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/normal.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/options-doc.d.ts +0 -10
- package/lib/application/helpers/generate-pdf/nfe/secao.d.ts +0 -2
- package/lib/application/helpers/generate-pdf/nfe/titulo.d.ts +0 -2
- package/lib/application/helpers/xml/deserialize.d.ts +0 -2
- package/lib/application/helpers/xml/index.d.ts +0 -1
- package/lib/domain/use-cases/pdf/index.d.ts +0 -3
- package/lib/domain/use-cases/pdf/pdf-NFCe.d.ts +0 -3
- package/lib/domain/use-cases/pdf/pdf-NFe.d.ts +0 -3
- package/lib/domain/use-cases/utils/current-date.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-cnpj.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-cpf.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-date-time.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-date.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-key.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-number.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-phone.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-plate.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-postal-code.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-protocol.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-state-registration.d.ts +0 -1
- package/lib/domain/use-cases/utils/format-time.d.ts +0 -1
- package/lib/domain/use-cases/utils/index.d.ts +0 -14
- package/lib/domain/use-cases/utils/return-font-size-carrier.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/types/generate-pdf.d.ts +0 -259
- package/lib/types/index.d.ts +0 -3
- package/lib/types/nfe-proc.d.ts +0 -42
- package/lib/types/schema.d.ts +0 -875
|
@@ -1,219 +1,218 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getImposto =
|
|
4
|
-
const utils_1 = require("../../../../domain/use-cases/utils");
|
|
5
|
-
const campo_1 = require("./campo");
|
|
6
|
-
const default_1 = require("./default");
|
|
7
|
-
const linha_horizontal_1 = require("./linha-horizontal");
|
|
8
|
-
const linha_vertical_1 = require("./linha-vertical");
|
|
9
|
-
const secao_1 = require("./secao");
|
|
10
|
-
const titulo_1 = require("./titulo");
|
|
11
|
-
function getImposto({ y, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo, larguraDoFormulario, total }) {
|
|
12
|
-
(0, linha_horizontal_1.linhaHorizontal)({ x1: 0, x2: 0, y: y + 16.2, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo });
|
|
13
|
-
(0, linha_horizontal_1.linhaHorizontal)({ x1: 0, x2: 0, y: y + 36.2, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo });
|
|
14
|
-
(0, linha_horizontal_1.linhaHorizontal)({ x1: 0, x2: 0, y: y + 56.2, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo });
|
|
15
|
-
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 0, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
16
|
-
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
17
|
-
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7 * 2 + 0.3, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
18
|
-
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7 * 3 + 0.4, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
19
|
-
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7 * 4 + 0.4, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
20
|
-
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7 * 5 + 0.6, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
21
|
-
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7 * 5 + 51.8, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
22
|
-
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: larguraDoFormulario, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
23
|
-
(0, secao_1.secao)({ doc, value: 'CÁLCULO DO IMPOSTO', x: 1.5, y: y + 8.7, largura: 0, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
24
|
-
(0, titulo_1.titulo)({ value: 'BASE DE CÁLCULO DO ICMS', x: 1.5, y: y + 17.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
25
|
-
(0, campo_1.campo)({
|
|
26
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vBC, 2),
|
|
27
|
-
x: 1.5,
|
|
28
|
-
y: y + 26.2,
|
|
29
|
-
largura: 84,
|
|
30
|
-
alinhamento: 'right',
|
|
31
|
-
ajusteX,
|
|
32
|
-
ajusteY,
|
|
33
|
-
doc,
|
|
34
|
-
margemEsquerda,
|
|
35
|
-
margemTopo
|
|
36
|
-
});
|
|
37
|
-
(0, titulo_1.titulo)({ value: 'VALOR DO ICMS', x: 89, y: y + 17.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
38
|
-
(0, campo_1.campo)({
|
|
39
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vICMS, 2),
|
|
40
|
-
x: 89,
|
|
41
|
-
y: y + 26.2,
|
|
42
|
-
largura: 84,
|
|
43
|
-
alinhamento: 'right',
|
|
44
|
-
ajusteX,
|
|
45
|
-
ajusteY,
|
|
46
|
-
doc,
|
|
47
|
-
margemEsquerda,
|
|
48
|
-
margemTopo
|
|
49
|
-
});
|
|
50
|
-
(0, titulo_1.titulo)({ value: 'BASE DE CÁLC. ICMS S.T.', x: 177, y: y + 17.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
51
|
-
(0, campo_1.campo)({
|
|
52
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vBCST, 2),
|
|
53
|
-
x: 177,
|
|
54
|
-
y: y + 26.2,
|
|
55
|
-
largura: 84,
|
|
56
|
-
alinhamento: 'right',
|
|
57
|
-
ajusteX,
|
|
58
|
-
ajusteY,
|
|
59
|
-
doc,
|
|
60
|
-
margemEsquerda,
|
|
61
|
-
margemTopo
|
|
62
|
-
});
|
|
63
|
-
(0, titulo_1.titulo)({ value: 'VALOR DO ICMS SUBST.', x: 265, y: y + 17.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
64
|
-
(0, campo_1.campo)({
|
|
65
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vST, 2),
|
|
66
|
-
x: 265,
|
|
67
|
-
y: y + 26.2,
|
|
68
|
-
largura: 84,
|
|
69
|
-
alinhamento: 'right',
|
|
70
|
-
ajusteX,
|
|
71
|
-
ajusteY,
|
|
72
|
-
doc,
|
|
73
|
-
margemEsquerda,
|
|
74
|
-
margemTopo
|
|
75
|
-
});
|
|
76
|
-
(0, titulo_1.titulo)({ value: 'VALOR IMP. IMPORTAÇÃO', x: 353, y: y + 17.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
77
|
-
(0, campo_1.campo)({
|
|
78
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.
|
|
79
|
-
x: 353,
|
|
80
|
-
y: y + 26.2,
|
|
81
|
-
largura: 84,
|
|
82
|
-
alinhamento: 'right',
|
|
83
|
-
ajusteX,
|
|
84
|
-
ajusteY,
|
|
85
|
-
doc,
|
|
86
|
-
margemEsquerda,
|
|
87
|
-
margemTopo
|
|
88
|
-
});
|
|
89
|
-
(0, titulo_1.titulo)({ value: 'VALOR DO PIS', x: 441, y: y + 17.2, largura: 47, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
90
|
-
(0, campo_1.campo)({
|
|
91
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vPIS, 2),
|
|
92
|
-
x: 441,
|
|
93
|
-
y: y + 26.2,
|
|
94
|
-
largura: 47,
|
|
95
|
-
alinhamento: 'right',
|
|
96
|
-
ajusteX,
|
|
97
|
-
ajusteY,
|
|
98
|
-
doc,
|
|
99
|
-
margemEsquerda,
|
|
100
|
-
margemTopo
|
|
101
|
-
});
|
|
102
|
-
(0, titulo_1.titulo)({ value: 'VALOR TOTAL DOS PRODUTOS', x: 492, y: y + 17.2, largura: 93, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
103
|
-
(0, campo_1.campo)({
|
|
104
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vProd, 2),
|
|
105
|
-
x: 492,
|
|
106
|
-
y: y + 26.2,
|
|
107
|
-
largura: 93,
|
|
108
|
-
alinhamento: 'right',
|
|
109
|
-
ajusteX,
|
|
110
|
-
ajusteY,
|
|
111
|
-
doc,
|
|
112
|
-
margemEsquerda,
|
|
113
|
-
margemTopo
|
|
114
|
-
});
|
|
115
|
-
(0, titulo_1.titulo)({ value: 'VALOR DO FRETE', x: 1.5, y: y + 37.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
116
|
-
(0, campo_1.campo)({
|
|
117
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vFrete, 2),
|
|
118
|
-
x: 1.5,
|
|
119
|
-
y: y + 46.2,
|
|
120
|
-
largura: 84,
|
|
121
|
-
alinhamento: 'right',
|
|
122
|
-
ajusteX,
|
|
123
|
-
ajusteY,
|
|
124
|
-
doc,
|
|
125
|
-
margemEsquerda,
|
|
126
|
-
margemTopo
|
|
127
|
-
});
|
|
128
|
-
(0, titulo_1.titulo)({ value: 'VALOR DO SEGURO', x: 89, y: y + 37.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
129
|
-
(0, campo_1.campo)({
|
|
130
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vSeg, 2),
|
|
131
|
-
x: 89,
|
|
132
|
-
y: y + 46.2,
|
|
133
|
-
largura: 84,
|
|
134
|
-
alinhamento: 'right',
|
|
135
|
-
ajusteX,
|
|
136
|
-
ajusteY,
|
|
137
|
-
doc,
|
|
138
|
-
margemEsquerda,
|
|
139
|
-
margemTopo
|
|
140
|
-
});
|
|
141
|
-
(0, titulo_1.titulo)({ value: 'DESCONTO', x: 177, y: y + 37.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
142
|
-
(0, campo_1.campo)({
|
|
143
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vDesc, 2),
|
|
144
|
-
x: 177,
|
|
145
|
-
y: y + 46.2,
|
|
146
|
-
largura: 84,
|
|
147
|
-
alinhamento: 'right',
|
|
148
|
-
ajusteX,
|
|
149
|
-
ajusteY,
|
|
150
|
-
doc,
|
|
151
|
-
margemEsquerda,
|
|
152
|
-
margemTopo
|
|
153
|
-
});
|
|
154
|
-
(0, titulo_1.titulo)({ value: 'OUTRAS DESPESAS', x: 265, y: y + 37.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
155
|
-
(0, campo_1.campo)({
|
|
156
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vOutro, 2),
|
|
157
|
-
x: 265,
|
|
158
|
-
y: y + 46.2,
|
|
159
|
-
largura: 84,
|
|
160
|
-
alinhamento: 'right',
|
|
161
|
-
ajusteX,
|
|
162
|
-
ajusteY,
|
|
163
|
-
doc,
|
|
164
|
-
margemEsquerda,
|
|
165
|
-
margemTopo
|
|
166
|
-
});
|
|
167
|
-
(0, titulo_1.titulo)({ value: 'VALOR TOTAL DO IPI', x: 353, y: y + 37.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
168
|
-
(0, campo_1.campo)({
|
|
169
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vIPI, 2),
|
|
170
|
-
x: 353,
|
|
171
|
-
y: y + 46.2,
|
|
172
|
-
largura: 84,
|
|
173
|
-
alinhamento: 'right',
|
|
174
|
-
ajusteX,
|
|
175
|
-
ajusteY,
|
|
176
|
-
doc,
|
|
177
|
-
margemEsquerda,
|
|
178
|
-
margemTopo
|
|
179
|
-
});
|
|
180
|
-
(0, titulo_1.titulo)({
|
|
181
|
-
value: 'VALOR DA COFINS',
|
|
182
|
-
x: 440.5,
|
|
183
|
-
y: y + 37.2,
|
|
184
|
-
largura: 47,
|
|
185
|
-
ajusteX,
|
|
186
|
-
ajusteY,
|
|
187
|
-
doc,
|
|
188
|
-
margemEsquerda,
|
|
189
|
-
margemTopo,
|
|
190
|
-
tamanho: default_1.DEFAULT_NFE.tamanhoDaFonteDoTitulo - 1
|
|
191
|
-
});
|
|
192
|
-
(0, campo_1.campo)({
|
|
193
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vCOFINS, 2),
|
|
194
|
-
x: 440.5,
|
|
195
|
-
y: y + 46.2,
|
|
196
|
-
largura: 47,
|
|
197
|
-
alinhamento: 'right',
|
|
198
|
-
ajusteX,
|
|
199
|
-
ajusteY,
|
|
200
|
-
doc,
|
|
201
|
-
margemEsquerda,
|
|
202
|
-
margemTopo
|
|
203
|
-
});
|
|
204
|
-
(0, titulo_1.titulo)({ value: 'VALOR TOTAL DA NOTA', x: 492, y: y + 37.2, largura: 93, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
205
|
-
(0, campo_1.campo)({
|
|
206
|
-
value: (0, utils_1.formatNumber)(total.ICMSTot.vNF, 2),
|
|
207
|
-
x: 492,
|
|
208
|
-
y: y + 46.2,
|
|
209
|
-
largura: 93,
|
|
210
|
-
alinhamento: 'right',
|
|
211
|
-
ajusteX,
|
|
212
|
-
ajusteY,
|
|
213
|
-
doc,
|
|
214
|
-
margemEsquerda,
|
|
215
|
-
margemTopo
|
|
216
|
-
});
|
|
217
|
-
return doc.y;
|
|
218
|
-
}
|
|
219
|
-
exports.getImposto = getImposto;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getImposto = getImposto;
|
|
4
|
+
const utils_1 = require("../../../../domain/use-cases/utils");
|
|
5
|
+
const campo_1 = require("./campo");
|
|
6
|
+
const default_1 = require("./default");
|
|
7
|
+
const linha_horizontal_1 = require("./linha-horizontal");
|
|
8
|
+
const linha_vertical_1 = require("./linha-vertical");
|
|
9
|
+
const secao_1 = require("./secao");
|
|
10
|
+
const titulo_1 = require("./titulo");
|
|
11
|
+
function getImposto({ y, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo, larguraDoFormulario, total }) {
|
|
12
|
+
(0, linha_horizontal_1.linhaHorizontal)({ x1: 0, x2: 0, y: y + 16.2, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo });
|
|
13
|
+
(0, linha_horizontal_1.linhaHorizontal)({ x1: 0, x2: 0, y: y + 36.2, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo });
|
|
14
|
+
(0, linha_horizontal_1.linhaHorizontal)({ x1: 0, x2: 0, y: y + 56.2, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo });
|
|
15
|
+
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 0, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
16
|
+
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
17
|
+
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7 * 2 + 0.3, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
18
|
+
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7 * 3 + 0.4, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
19
|
+
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7 * 4 + 0.4, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
20
|
+
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7 * 5 + 0.6, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
21
|
+
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: 87.7 * 5 + 51.8, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
22
|
+
(0, linha_vertical_1.linhaVertical)({ y1: y + 16.2, y2: y + 56.2, x: larguraDoFormulario, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
23
|
+
(0, secao_1.secao)({ doc, value: 'CÁLCULO DO IMPOSTO', x: 1.5, y: y + 8.7, largura: 0, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
24
|
+
(0, titulo_1.titulo)({ value: 'BASE DE CÁLCULO DO ICMS', x: 1.5, y: y + 17.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
25
|
+
(0, campo_1.campo)({
|
|
26
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vBC, 2),
|
|
27
|
+
x: 1.5,
|
|
28
|
+
y: y + 26.2,
|
|
29
|
+
largura: 84,
|
|
30
|
+
alinhamento: 'right',
|
|
31
|
+
ajusteX,
|
|
32
|
+
ajusteY,
|
|
33
|
+
doc,
|
|
34
|
+
margemEsquerda,
|
|
35
|
+
margemTopo
|
|
36
|
+
});
|
|
37
|
+
(0, titulo_1.titulo)({ value: 'VALOR DO ICMS', x: 89, y: y + 17.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
38
|
+
(0, campo_1.campo)({
|
|
39
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vICMS, 2),
|
|
40
|
+
x: 89,
|
|
41
|
+
y: y + 26.2,
|
|
42
|
+
largura: 84,
|
|
43
|
+
alinhamento: 'right',
|
|
44
|
+
ajusteX,
|
|
45
|
+
ajusteY,
|
|
46
|
+
doc,
|
|
47
|
+
margemEsquerda,
|
|
48
|
+
margemTopo
|
|
49
|
+
});
|
|
50
|
+
(0, titulo_1.titulo)({ value: 'BASE DE CÁLC. ICMS S.T.', x: 177, y: y + 17.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
51
|
+
(0, campo_1.campo)({
|
|
52
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vBCST, 2),
|
|
53
|
+
x: 177,
|
|
54
|
+
y: y + 26.2,
|
|
55
|
+
largura: 84,
|
|
56
|
+
alinhamento: 'right',
|
|
57
|
+
ajusteX,
|
|
58
|
+
ajusteY,
|
|
59
|
+
doc,
|
|
60
|
+
margemEsquerda,
|
|
61
|
+
margemTopo
|
|
62
|
+
});
|
|
63
|
+
(0, titulo_1.titulo)({ value: 'VALOR DO ICMS SUBST.', x: 265, y: y + 17.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
64
|
+
(0, campo_1.campo)({
|
|
65
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vST, 2),
|
|
66
|
+
x: 265,
|
|
67
|
+
y: y + 26.2,
|
|
68
|
+
largura: 84,
|
|
69
|
+
alinhamento: 'right',
|
|
70
|
+
ajusteX,
|
|
71
|
+
ajusteY,
|
|
72
|
+
doc,
|
|
73
|
+
margemEsquerda,
|
|
74
|
+
margemTopo
|
|
75
|
+
});
|
|
76
|
+
(0, titulo_1.titulo)({ value: 'VALOR IMP. IMPORTAÇÃO', x: 353, y: y + 17.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
77
|
+
(0, campo_1.campo)({
|
|
78
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vIPI, 2),
|
|
79
|
+
x: 353,
|
|
80
|
+
y: y + 26.2,
|
|
81
|
+
largura: 84,
|
|
82
|
+
alinhamento: 'right',
|
|
83
|
+
ajusteX,
|
|
84
|
+
ajusteY,
|
|
85
|
+
doc,
|
|
86
|
+
margemEsquerda,
|
|
87
|
+
margemTopo
|
|
88
|
+
});
|
|
89
|
+
(0, titulo_1.titulo)({ value: 'VALOR DO PIS', x: 441, y: y + 17.2, largura: 47, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
90
|
+
(0, campo_1.campo)({
|
|
91
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vPIS, 2),
|
|
92
|
+
x: 441,
|
|
93
|
+
y: y + 26.2,
|
|
94
|
+
largura: 47,
|
|
95
|
+
alinhamento: 'right',
|
|
96
|
+
ajusteX,
|
|
97
|
+
ajusteY,
|
|
98
|
+
doc,
|
|
99
|
+
margemEsquerda,
|
|
100
|
+
margemTopo
|
|
101
|
+
});
|
|
102
|
+
(0, titulo_1.titulo)({ value: 'VALOR TOTAL DOS PRODUTOS', x: 492, y: y + 17.2, largura: 93, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
103
|
+
(0, campo_1.campo)({
|
|
104
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vProd, 2),
|
|
105
|
+
x: 492,
|
|
106
|
+
y: y + 26.2,
|
|
107
|
+
largura: 93,
|
|
108
|
+
alinhamento: 'right',
|
|
109
|
+
ajusteX,
|
|
110
|
+
ajusteY,
|
|
111
|
+
doc,
|
|
112
|
+
margemEsquerda,
|
|
113
|
+
margemTopo
|
|
114
|
+
});
|
|
115
|
+
(0, titulo_1.titulo)({ value: 'VALOR DO FRETE', x: 1.5, y: y + 37.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
116
|
+
(0, campo_1.campo)({
|
|
117
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vFrete, 2),
|
|
118
|
+
x: 1.5,
|
|
119
|
+
y: y + 46.2,
|
|
120
|
+
largura: 84,
|
|
121
|
+
alinhamento: 'right',
|
|
122
|
+
ajusteX,
|
|
123
|
+
ajusteY,
|
|
124
|
+
doc,
|
|
125
|
+
margemEsquerda,
|
|
126
|
+
margemTopo
|
|
127
|
+
});
|
|
128
|
+
(0, titulo_1.titulo)({ value: 'VALOR DO SEGURO', x: 89, y: y + 37.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
129
|
+
(0, campo_1.campo)({
|
|
130
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vSeg, 2),
|
|
131
|
+
x: 89,
|
|
132
|
+
y: y + 46.2,
|
|
133
|
+
largura: 84,
|
|
134
|
+
alinhamento: 'right',
|
|
135
|
+
ajusteX,
|
|
136
|
+
ajusteY,
|
|
137
|
+
doc,
|
|
138
|
+
margemEsquerda,
|
|
139
|
+
margemTopo
|
|
140
|
+
});
|
|
141
|
+
(0, titulo_1.titulo)({ value: 'DESCONTO', x: 177, y: y + 37.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
142
|
+
(0, campo_1.campo)({
|
|
143
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vDesc, 2),
|
|
144
|
+
x: 177,
|
|
145
|
+
y: y + 46.2,
|
|
146
|
+
largura: 84,
|
|
147
|
+
alinhamento: 'right',
|
|
148
|
+
ajusteX,
|
|
149
|
+
ajusteY,
|
|
150
|
+
doc,
|
|
151
|
+
margemEsquerda,
|
|
152
|
+
margemTopo
|
|
153
|
+
});
|
|
154
|
+
(0, titulo_1.titulo)({ value: 'OUTRAS DESPESAS', x: 265, y: y + 37.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
155
|
+
(0, campo_1.campo)({
|
|
156
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vOutro, 2),
|
|
157
|
+
x: 265,
|
|
158
|
+
y: y + 46.2,
|
|
159
|
+
largura: 84,
|
|
160
|
+
alinhamento: 'right',
|
|
161
|
+
ajusteX,
|
|
162
|
+
ajusteY,
|
|
163
|
+
doc,
|
|
164
|
+
margemEsquerda,
|
|
165
|
+
margemTopo
|
|
166
|
+
});
|
|
167
|
+
(0, titulo_1.titulo)({ value: 'VALOR TOTAL DO IPI', x: 353, y: y + 37.2, largura: 84, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
168
|
+
(0, campo_1.campo)({
|
|
169
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vIPI, 2),
|
|
170
|
+
x: 353,
|
|
171
|
+
y: y + 46.2,
|
|
172
|
+
largura: 84,
|
|
173
|
+
alinhamento: 'right',
|
|
174
|
+
ajusteX,
|
|
175
|
+
ajusteY,
|
|
176
|
+
doc,
|
|
177
|
+
margemEsquerda,
|
|
178
|
+
margemTopo
|
|
179
|
+
});
|
|
180
|
+
(0, titulo_1.titulo)({
|
|
181
|
+
value: 'VALOR DA COFINS',
|
|
182
|
+
x: 440.5,
|
|
183
|
+
y: y + 37.2,
|
|
184
|
+
largura: 47,
|
|
185
|
+
ajusteX,
|
|
186
|
+
ajusteY,
|
|
187
|
+
doc,
|
|
188
|
+
margemEsquerda,
|
|
189
|
+
margemTopo,
|
|
190
|
+
tamanho: default_1.DEFAULT_NFE.tamanhoDaFonteDoTitulo - 1
|
|
191
|
+
});
|
|
192
|
+
(0, campo_1.campo)({
|
|
193
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vCOFINS, 2),
|
|
194
|
+
x: 440.5,
|
|
195
|
+
y: y + 46.2,
|
|
196
|
+
largura: 47,
|
|
197
|
+
alinhamento: 'right',
|
|
198
|
+
ajusteX,
|
|
199
|
+
ajusteY,
|
|
200
|
+
doc,
|
|
201
|
+
margemEsquerda,
|
|
202
|
+
margemTopo
|
|
203
|
+
});
|
|
204
|
+
(0, titulo_1.titulo)({ value: 'VALOR TOTAL DA NOTA', x: 492, y: y + 37.2, largura: 93, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
205
|
+
(0, campo_1.campo)({
|
|
206
|
+
value: (0, utils_1.formatNumber)(total.ICMSTot.vNF, 2),
|
|
207
|
+
x: 492,
|
|
208
|
+
y: y + 46.2,
|
|
209
|
+
largura: 93,
|
|
210
|
+
alinhamento: 'right',
|
|
211
|
+
ajusteX,
|
|
212
|
+
ajusteY,
|
|
213
|
+
doc,
|
|
214
|
+
margemEsquerda,
|
|
215
|
+
margemTopo
|
|
216
|
+
});
|
|
217
|
+
return doc.y;
|
|
218
|
+
}
|
|
@@ -1,74 +1,73 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getIss =
|
|
4
|
-
const campo_1 = require("./campo");
|
|
5
|
-
const linha_horizontal_1 = require("./linha-horizontal");
|
|
6
|
-
const linha_vertical_1 = require("./linha-vertical");
|
|
7
|
-
const secao_1 = require("./secao");
|
|
8
|
-
const titulo_1 = require("./titulo");
|
|
9
|
-
function getIss({ y, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo, larguraDoFormulario, emit, total }) {
|
|
10
|
-
if (total.ISSQNtot?.vServ !== undefined || total.ISSQNtot?.vBC !== undefined || total.ISSQNtot?.vISS !== undefined) {
|
|
11
|
-
(0, linha_horizontal_1.linhaHorizontal)({ x1: 0, x2: 0, y: 762.2, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo });
|
|
12
|
-
(0, linha_horizontal_1.linhaHorizontal)({ x1: 0, x2: 0, y: 782.2, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo });
|
|
13
|
-
(0, linha_vertical_1.linhaVertical)({ y1: 762.2, y2: 782.2, x: 0, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
14
|
-
(0, linha_vertical_1.linhaVertical)({ y1: 762.2, y2: 782.2, x: 136.1, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
15
|
-
(0, linha_vertical_1.linhaVertical)({ y1: 762.2, y2: 782.2, x: 136.1 * 2 - 0.1, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
16
|
-
(0, linha_vertical_1.linhaVertical)({ y1: 762.2, y2: 782.2, x: 136.1 * 3 - 0.1, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
17
|
-
(0, linha_vertical_1.linhaVertical)({ y1: 762.2, y2: 782.2, x: larguraDoFormulario, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
18
|
-
(0, secao_1.secao)({ doc, value: 'CÁLCULO DO ISSQN', x: 1.5, y: 754.5, largura: 0, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
19
|
-
(0, titulo_1.titulo)({ value: 'INSCRIÇÃO MUNICIPAL', x: 1.5, y: 763, largura: 132.5, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
20
|
-
(0, campo_1.campo)({
|
|
21
|
-
value: emit?.IM ?? '',
|
|
22
|
-
x: 1.5,
|
|
23
|
-
y: 771,
|
|
24
|
-
largura: 132.5,
|
|
25
|
-
alinhamento: 'left',
|
|
26
|
-
ajusteX,
|
|
27
|
-
ajusteY,
|
|
28
|
-
doc,
|
|
29
|
-
margemEsquerda,
|
|
30
|
-
margemTopo
|
|
31
|
-
});
|
|
32
|
-
(0, titulo_1.titulo)({ value: 'VALOR TOTAL DOS SERVIÇOS', x: 137.5, y: 763, largura: 132.5, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
33
|
-
(0, campo_1.campo)({
|
|
34
|
-
value: total.ISSQNtot?.vServ ?? '',
|
|
35
|
-
x: 137.5,
|
|
36
|
-
y: 771,
|
|
37
|
-
largura: 132.5,
|
|
38
|
-
alinhamento: 'right',
|
|
39
|
-
ajusteX,
|
|
40
|
-
ajusteY,
|
|
41
|
-
doc,
|
|
42
|
-
margemEsquerda,
|
|
43
|
-
margemTopo
|
|
44
|
-
});
|
|
45
|
-
(0, titulo_1.titulo)({ value: 'BASE DE CÁLCULO DO ISSQN', x: 273.5, y: 763, largura: 132.5, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
46
|
-
(0, campo_1.campo)({
|
|
47
|
-
value: total.ISSQNtot?.vBC ?? '',
|
|
48
|
-
x: 273.5,
|
|
49
|
-
y: 771,
|
|
50
|
-
largura: 132.5,
|
|
51
|
-
alinhamento: 'right',
|
|
52
|
-
ajusteX,
|
|
53
|
-
ajusteY,
|
|
54
|
-
doc,
|
|
55
|
-
margemEsquerda,
|
|
56
|
-
margemTopo
|
|
57
|
-
});
|
|
58
|
-
(0, titulo_1.titulo)({ value: 'VALOR TOTAL DO ISSQN', x: 409.5, y: 763, largura: 175.5, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
59
|
-
(0, campo_1.campo)({
|
|
60
|
-
value: total.ISSQNtot?.vISS ?? '',
|
|
61
|
-
x: 409.5,
|
|
62
|
-
y: 771,
|
|
63
|
-
largura: 175.5,
|
|
64
|
-
alinhamento: 'right',
|
|
65
|
-
ajusteX,
|
|
66
|
-
ajusteY,
|
|
67
|
-
doc,
|
|
68
|
-
margemEsquerda,
|
|
69
|
-
margemTopo
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
return doc.y;
|
|
73
|
-
}
|
|
74
|
-
exports.getIss = getIss;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getIss = getIss;
|
|
4
|
+
const campo_1 = require("./campo");
|
|
5
|
+
const linha_horizontal_1 = require("./linha-horizontal");
|
|
6
|
+
const linha_vertical_1 = require("./linha-vertical");
|
|
7
|
+
const secao_1 = require("./secao");
|
|
8
|
+
const titulo_1 = require("./titulo");
|
|
9
|
+
function getIss({ y, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo, larguraDoFormulario, emit, total }) {
|
|
10
|
+
if (total.ISSQNtot?.vServ !== undefined || total.ISSQNtot?.vBC !== undefined || total.ISSQNtot?.vISS !== undefined) {
|
|
11
|
+
(0, linha_horizontal_1.linhaHorizontal)({ x1: 0, x2: 0, y: 762.2, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo });
|
|
12
|
+
(0, linha_horizontal_1.linhaHorizontal)({ x1: 0, x2: 0, y: 782.2, doc, ajusteX, ajusteY, margemDireita, margemEsquerda, margemTopo });
|
|
13
|
+
(0, linha_vertical_1.linhaVertical)({ y1: 762.2, y2: 782.2, x: 0, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
14
|
+
(0, linha_vertical_1.linhaVertical)({ y1: 762.2, y2: 782.2, x: 136.1, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
15
|
+
(0, linha_vertical_1.linhaVertical)({ y1: 762.2, y2: 782.2, x: 136.1 * 2 - 0.1, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
16
|
+
(0, linha_vertical_1.linhaVertical)({ y1: 762.2, y2: 782.2, x: 136.1 * 3 - 0.1, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
17
|
+
(0, linha_vertical_1.linhaVertical)({ y1: 762.2, y2: 782.2, x: larguraDoFormulario, doc, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
18
|
+
(0, secao_1.secao)({ doc, value: 'CÁLCULO DO ISSQN', x: 1.5, y: 754.5, largura: 0, ajusteX, ajusteY, margemEsquerda, margemTopo });
|
|
19
|
+
(0, titulo_1.titulo)({ value: 'INSCRIÇÃO MUNICIPAL', x: 1.5, y: 763, largura: 132.5, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
20
|
+
(0, campo_1.campo)({
|
|
21
|
+
value: emit?.IM ?? '',
|
|
22
|
+
x: 1.5,
|
|
23
|
+
y: 771,
|
|
24
|
+
largura: 132.5,
|
|
25
|
+
alinhamento: 'left',
|
|
26
|
+
ajusteX,
|
|
27
|
+
ajusteY,
|
|
28
|
+
doc,
|
|
29
|
+
margemEsquerda,
|
|
30
|
+
margemTopo
|
|
31
|
+
});
|
|
32
|
+
(0, titulo_1.titulo)({ value: 'VALOR TOTAL DOS SERVIÇOS', x: 137.5, y: 763, largura: 132.5, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
33
|
+
(0, campo_1.campo)({
|
|
34
|
+
value: total.ISSQNtot?.vServ ?? '',
|
|
35
|
+
x: 137.5,
|
|
36
|
+
y: 771,
|
|
37
|
+
largura: 132.5,
|
|
38
|
+
alinhamento: 'right',
|
|
39
|
+
ajusteX,
|
|
40
|
+
ajusteY,
|
|
41
|
+
doc,
|
|
42
|
+
margemEsquerda,
|
|
43
|
+
margemTopo
|
|
44
|
+
});
|
|
45
|
+
(0, titulo_1.titulo)({ value: 'BASE DE CÁLCULO DO ISSQN', x: 273.5, y: 763, largura: 132.5, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
46
|
+
(0, campo_1.campo)({
|
|
47
|
+
value: total.ISSQNtot?.vBC ?? '',
|
|
48
|
+
x: 273.5,
|
|
49
|
+
y: 771,
|
|
50
|
+
largura: 132.5,
|
|
51
|
+
alinhamento: 'right',
|
|
52
|
+
ajusteX,
|
|
53
|
+
ajusteY,
|
|
54
|
+
doc,
|
|
55
|
+
margemEsquerda,
|
|
56
|
+
margemTopo
|
|
57
|
+
});
|
|
58
|
+
(0, titulo_1.titulo)({ value: 'VALOR TOTAL DO ISSQN', x: 409.5, y: 763, largura: 175.5, ajusteX, ajusteY, doc, margemEsquerda, margemTopo });
|
|
59
|
+
(0, campo_1.campo)({
|
|
60
|
+
value: total.ISSQNtot?.vISS ?? '',
|
|
61
|
+
x: 409.5,
|
|
62
|
+
y: 771,
|
|
63
|
+
largura: 175.5,
|
|
64
|
+
alinhamento: 'right',
|
|
65
|
+
ajusteX,
|
|
66
|
+
ajusteY,
|
|
67
|
+
doc,
|
|
68
|
+
margemEsquerda,
|
|
69
|
+
margemTopo
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
return doc.y;
|
|
73
|
+
}
|