shareneus 1.5.46 → 1.5.48
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/dist/accounting/invoice/invoice-pdf.service.js +1 -1
- package/dist/accounting/invoice/unified-invoice-pdf.service.d.ts +323 -326
- package/dist/accounting/invoice/unified-invoice-pdf.service.js +756 -792
- package/dist/index.d.ts +0 -2
- package/dist/index.js +1 -5
- package/package.json +1 -1
- package/dist/accounting/invoice/invoice-print.service.d.ts +0 -597
- package/dist/accounting/invoice/invoice-print.service.js +0 -2824
|
@@ -16,6 +16,6 @@ function GetInvoicePDF(invoiceData, entityData, taxCodes, image = null, numberof
|
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
const invoicePrintData = inv_print_service_1.InvPrintService.GetInvoicePrintInfo(invoiceData, entityData, image, options.ShowGST, options.ConsolidateGST, taxCodes, false, options.PartInvoice, options.LaborInvoice);
|
|
19
|
-
const invPrint = unified_invoice_pdf_service_1.
|
|
19
|
+
const invPrint = (0, unified_invoice_pdf_service_1.GetInvoicePrint)(invoicePrintData, numberofCopies, withPass, options.Size, options.MoreDiscDetails, options.Orientation);
|
|
20
20
|
return invPrint;
|
|
21
21
|
}
|
|
@@ -1,343 +1,340 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export declare function GetInvoicePrint(invoicePdfData: any, numberofCopies: any, withPass: boolean, size: any, moreDiscDetails: boolean, orientation?: 'portrait' | 'landscape'): {
|
|
2
|
+
watermark: string | {
|
|
3
|
+
text: string;
|
|
4
|
+
opacity: number;
|
|
5
|
+
};
|
|
6
|
+
info: {
|
|
7
|
+
title: string;
|
|
8
|
+
};
|
|
9
|
+
background: (currentPage: any, pageSize: any) => any;
|
|
10
|
+
header: (currentPage: any, pageCount: any) => {
|
|
11
|
+
text: string;
|
|
12
|
+
alignment: string;
|
|
13
|
+
marginRight: number;
|
|
14
|
+
fontSize: number;
|
|
15
|
+
marginTop: number;
|
|
16
|
+
};
|
|
17
|
+
pageBreakBefore: (currentNode: any, followingNodesOnPage: any, nodesOnNextPage: any, previousNodesOnPage: any) => boolean;
|
|
18
|
+
pageMargins: number[];
|
|
19
|
+
pageOrientation: "portrait" | "landscape";
|
|
20
|
+
pageSize: string;
|
|
21
|
+
content: any[];
|
|
22
|
+
styles: {
|
|
23
|
+
temp2header: {
|
|
24
|
+
fontSize: number;
|
|
25
|
+
bold: boolean;
|
|
26
|
+
alignment: string;
|
|
27
|
+
};
|
|
28
|
+
tableheader1: {
|
|
29
|
+
bold: boolean;
|
|
30
|
+
fontFamily: string;
|
|
31
|
+
margin: number[];
|
|
32
|
+
alignment: string;
|
|
33
|
+
};
|
|
34
|
+
header: {
|
|
35
|
+
fontSize: number;
|
|
36
|
+
bold: boolean;
|
|
37
|
+
alignment: string;
|
|
38
|
+
};
|
|
39
|
+
meetingHeader: {
|
|
40
|
+
fontSize: number;
|
|
41
|
+
bold: boolean;
|
|
42
|
+
};
|
|
43
|
+
Receiptheader: {
|
|
44
|
+
fontSize: number;
|
|
45
|
+
bold: boolean;
|
|
46
|
+
alignment: string;
|
|
47
|
+
margin: number[];
|
|
48
|
+
};
|
|
49
|
+
InlineHeader: {
|
|
50
|
+
fontSize: number;
|
|
51
|
+
bold: boolean;
|
|
52
|
+
alignment: string;
|
|
53
|
+
margin: number[];
|
|
54
|
+
};
|
|
55
|
+
TaskHeading: {
|
|
56
|
+
fontSize: number;
|
|
57
|
+
bold: boolean;
|
|
58
|
+
margin: number[];
|
|
7
59
|
};
|
|
8
|
-
|
|
9
|
-
|
|
60
|
+
lettersSize: {
|
|
61
|
+
fontSize: number;
|
|
62
|
+
margin: number[];
|
|
63
|
+
};
|
|
64
|
+
tablexample: {
|
|
65
|
+
margin: number[];
|
|
66
|
+
};
|
|
67
|
+
hedstyl: {
|
|
68
|
+
margin: number[];
|
|
10
69
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
70
|
+
header2: {
|
|
71
|
+
fontSize: number;
|
|
72
|
+
bold: boolean;
|
|
14
73
|
alignment: string;
|
|
15
|
-
|
|
74
|
+
margin: number[];
|
|
75
|
+
};
|
|
76
|
+
header1: {
|
|
16
77
|
fontSize: number;
|
|
78
|
+
bold: boolean;
|
|
79
|
+
alignment: string;
|
|
80
|
+
decoration: string;
|
|
81
|
+
margin: number[];
|
|
82
|
+
};
|
|
83
|
+
ws_adrs_center: {
|
|
84
|
+
fontSize: number;
|
|
85
|
+
alignment: string;
|
|
86
|
+
};
|
|
87
|
+
ws_adrs_center1: {
|
|
88
|
+
fontSize: number;
|
|
89
|
+
alignment: string;
|
|
90
|
+
};
|
|
91
|
+
ws_adrs_left: {
|
|
92
|
+
fontSize: number;
|
|
93
|
+
alignment: string;
|
|
94
|
+
};
|
|
95
|
+
ws_adrs_left1: {
|
|
96
|
+
fontSize: number;
|
|
97
|
+
alignment: string;
|
|
98
|
+
};
|
|
99
|
+
columnheader: {
|
|
100
|
+
margin: number[];
|
|
101
|
+
};
|
|
102
|
+
tableExample: {
|
|
103
|
+
margin: number[];
|
|
104
|
+
fontSize: number;
|
|
105
|
+
};
|
|
106
|
+
tableExamplemargin: {
|
|
107
|
+
margin: number[];
|
|
108
|
+
fontSize: number;
|
|
109
|
+
};
|
|
110
|
+
textcust: {
|
|
111
|
+
fontSize: number;
|
|
112
|
+
margin: number[];
|
|
113
|
+
};
|
|
114
|
+
column: {
|
|
115
|
+
margin: number[];
|
|
116
|
+
};
|
|
117
|
+
tableheader: {
|
|
118
|
+
bold: boolean;
|
|
119
|
+
fontSize: number;
|
|
120
|
+
margin: number[];
|
|
121
|
+
alignment: string;
|
|
122
|
+
};
|
|
123
|
+
tableheader2: {
|
|
124
|
+
fontSize: number;
|
|
125
|
+
margin: number[];
|
|
126
|
+
alignment: string;
|
|
127
|
+
opacity: number;
|
|
128
|
+
};
|
|
129
|
+
hed: {
|
|
130
|
+
fontSize: number;
|
|
131
|
+
bold: boolean;
|
|
132
|
+
};
|
|
133
|
+
hed2: {
|
|
134
|
+
fontSize: number;
|
|
135
|
+
};
|
|
136
|
+
TotalsStyles: {
|
|
17
137
|
marginTop: number;
|
|
138
|
+
lineHeight: number;
|
|
139
|
+
fontSize: number;
|
|
140
|
+
margin: number[];
|
|
18
141
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
pageSize: string;
|
|
23
|
-
content: any[];
|
|
24
|
-
styles: {
|
|
25
|
-
temp2header: {
|
|
26
|
-
fontSize: number;
|
|
27
|
-
bold: boolean;
|
|
28
|
-
alignment: string;
|
|
29
|
-
};
|
|
30
|
-
tableheader1: {
|
|
31
|
-
bold: boolean;
|
|
32
|
-
fontFamily: string;
|
|
33
|
-
margin: number[];
|
|
34
|
-
alignment: string;
|
|
35
|
-
};
|
|
36
|
-
header: {
|
|
37
|
-
fontSize: number;
|
|
38
|
-
bold: boolean;
|
|
39
|
-
alignment: string;
|
|
40
|
-
};
|
|
41
|
-
meetingHeader: {
|
|
42
|
-
fontSize: number;
|
|
43
|
-
bold: boolean;
|
|
44
|
-
};
|
|
45
|
-
Receiptheader: {
|
|
46
|
-
fontSize: number;
|
|
47
|
-
bold: boolean;
|
|
48
|
-
alignment: string;
|
|
49
|
-
margin: number[];
|
|
50
|
-
};
|
|
51
|
-
InlineHeader: {
|
|
52
|
-
fontSize: number;
|
|
53
|
-
bold: boolean;
|
|
54
|
-
alignment: string;
|
|
55
|
-
margin: number[];
|
|
56
|
-
};
|
|
57
|
-
TaskHeading: {
|
|
58
|
-
fontSize: number;
|
|
59
|
-
bold: boolean;
|
|
60
|
-
margin: number[];
|
|
61
|
-
};
|
|
62
|
-
lettersSize: {
|
|
63
|
-
fontSize: number;
|
|
64
|
-
margin: number[];
|
|
65
|
-
};
|
|
66
|
-
tablexample: {
|
|
67
|
-
margin: number[];
|
|
68
|
-
};
|
|
69
|
-
hedstyl: {
|
|
70
|
-
margin: number[];
|
|
71
|
-
};
|
|
72
|
-
header2: {
|
|
73
|
-
fontSize: number;
|
|
74
|
-
bold: boolean;
|
|
75
|
-
alignment: string;
|
|
76
|
-
margin: number[];
|
|
77
|
-
};
|
|
78
|
-
header1: {
|
|
79
|
-
fontSize: number;
|
|
80
|
-
bold: boolean;
|
|
81
|
-
alignment: string;
|
|
82
|
-
decoration: string;
|
|
83
|
-
margin: number[];
|
|
84
|
-
};
|
|
85
|
-
ws_adrs_center: {
|
|
86
|
-
fontSize: number;
|
|
87
|
-
alignment: string;
|
|
88
|
-
};
|
|
89
|
-
ws_adrs_center1: {
|
|
90
|
-
fontSize: number;
|
|
91
|
-
alignment: string;
|
|
92
|
-
};
|
|
93
|
-
ws_adrs_left: {
|
|
94
|
-
fontSize: number;
|
|
95
|
-
alignment: string;
|
|
96
|
-
};
|
|
97
|
-
ws_adrs_left1: {
|
|
98
|
-
fontSize: number;
|
|
99
|
-
alignment: string;
|
|
100
|
-
};
|
|
101
|
-
columnheader: {
|
|
102
|
-
margin: number[];
|
|
103
|
-
};
|
|
104
|
-
tableExample: {
|
|
105
|
-
margin: number[];
|
|
106
|
-
fontSize: number;
|
|
107
|
-
};
|
|
108
|
-
tableExamplemargin: {
|
|
109
|
-
margin: number[];
|
|
110
|
-
fontSize: number;
|
|
111
|
-
};
|
|
112
|
-
textcust: {
|
|
113
|
-
fontSize: number;
|
|
114
|
-
margin: number[];
|
|
115
|
-
};
|
|
116
|
-
column: {
|
|
117
|
-
margin: number[];
|
|
118
|
-
};
|
|
119
|
-
tableheader: {
|
|
120
|
-
bold: boolean;
|
|
121
|
-
fontSize: number;
|
|
122
|
-
margin: number[];
|
|
123
|
-
alignment: string;
|
|
124
|
-
};
|
|
125
|
-
tableheader2: {
|
|
126
|
-
fontSize: number;
|
|
127
|
-
margin: number[];
|
|
128
|
-
alignment: string;
|
|
129
|
-
opacity: number;
|
|
130
|
-
};
|
|
131
|
-
hed: {
|
|
132
|
-
fontSize: number;
|
|
133
|
-
bold: boolean;
|
|
134
|
-
};
|
|
135
|
-
hed2: {
|
|
136
|
-
fontSize: number;
|
|
137
|
-
};
|
|
138
|
-
TotalsStyles: {
|
|
139
|
-
marginTop: number;
|
|
140
|
-
lineHeight: number;
|
|
141
|
-
fontSize: number;
|
|
142
|
-
margin: number[];
|
|
143
|
-
};
|
|
144
|
-
colum1: {
|
|
145
|
-
fontSize: number;
|
|
146
|
-
lineHeight: number;
|
|
147
|
-
};
|
|
148
|
-
colum2: {
|
|
149
|
-
fontSize: number;
|
|
150
|
-
lineHeight: number;
|
|
151
|
-
margin: number[];
|
|
152
|
-
};
|
|
153
|
-
colum3: {
|
|
154
|
-
lineHeight: number;
|
|
155
|
-
};
|
|
156
|
-
Receiptheader1: {
|
|
157
|
-
fontSize: number;
|
|
158
|
-
bold: boolean;
|
|
159
|
-
alignment: string;
|
|
160
|
-
margin: number[];
|
|
161
|
-
};
|
|
162
|
-
Row1: {
|
|
163
|
-
fontSize: number;
|
|
164
|
-
margin: number[];
|
|
165
|
-
};
|
|
166
|
-
rowdata: {
|
|
167
|
-
margin: number[];
|
|
168
|
-
fontSize: number;
|
|
169
|
-
};
|
|
170
|
-
forCompany: {
|
|
171
|
-
margin: number[];
|
|
172
|
-
fontSize: number;
|
|
173
|
-
};
|
|
174
|
-
forCompany1: {
|
|
175
|
-
margin: number[];
|
|
176
|
-
fontSize: number;
|
|
177
|
-
};
|
|
178
|
-
Rupees: {
|
|
179
|
-
margin: number[];
|
|
180
|
-
fontSize: number;
|
|
181
|
-
};
|
|
182
|
-
Signature: {
|
|
183
|
-
margin: number[];
|
|
184
|
-
alignment: string;
|
|
185
|
-
fontSize: number;
|
|
186
|
-
};
|
|
187
|
-
withApp: {
|
|
188
|
-
alignment: string;
|
|
189
|
-
lineHeight: number;
|
|
190
|
-
};
|
|
191
|
-
withOutApp: {
|
|
192
|
-
alignment: string;
|
|
193
|
-
lineHeight: number;
|
|
194
|
-
};
|
|
195
|
-
Sign: {
|
|
196
|
-
fontSize: number;
|
|
197
|
-
margin: number[];
|
|
198
|
-
};
|
|
199
|
-
Sign1: {
|
|
200
|
-
fontSize: number;
|
|
201
|
-
margin: number[];
|
|
202
|
-
};
|
|
203
|
-
'margin-all': {
|
|
204
|
-
margin: number[];
|
|
205
|
-
};
|
|
206
|
-
'margin-top': {
|
|
207
|
-
margin: number[];
|
|
208
|
-
};
|
|
209
|
-
'margin-bottom': {
|
|
210
|
-
margin: number[];
|
|
211
|
-
};
|
|
212
|
-
fontSize: {
|
|
213
|
-
fontSize: number;
|
|
214
|
-
};
|
|
142
|
+
colum1: {
|
|
143
|
+
fontSize: number;
|
|
144
|
+
lineHeight: number;
|
|
215
145
|
};
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
opacity: number;
|
|
221
|
-
};
|
|
222
|
-
static GetFileName(ROPrintData: any): string;
|
|
223
|
-
static CommonHeaderDetails(ROPrintData: any, text: any, isotherIndustry: boolean, orientation?: 'portrait' | 'landscape'): any[];
|
|
224
|
-
static GetMainHeaderDetails(Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any, orientation?: 'portrait' | 'landscape'): ({
|
|
225
|
-
columns: any;
|
|
226
|
-
} | {
|
|
227
|
-
canvas: {
|
|
228
|
-
type: string;
|
|
229
|
-
x1: number;
|
|
230
|
-
y1: number;
|
|
231
|
-
x2: number;
|
|
232
|
-
y2: number;
|
|
233
|
-
lineWidth: number;
|
|
234
|
-
}[];
|
|
235
|
-
margin: number[];
|
|
236
|
-
})[];
|
|
237
|
-
static HeaderAfterLine(orientation?: 'portrait' | 'landscape'): {
|
|
238
|
-
canvas: {
|
|
239
|
-
type: string;
|
|
240
|
-
x1: number;
|
|
241
|
-
y1: number;
|
|
242
|
-
x2: number;
|
|
243
|
-
y2: number;
|
|
244
|
-
lineWidth: number;
|
|
245
|
-
}[];
|
|
246
|
-
margin: number[];
|
|
247
|
-
};
|
|
248
|
-
static CustomerAndVehicleDetailsAfterLine(orientation?: 'portrait' | 'landscape'): {
|
|
249
|
-
canvas: {
|
|
250
|
-
type: string;
|
|
251
|
-
x1: number;
|
|
252
|
-
y1: number;
|
|
253
|
-
x2: number;
|
|
254
|
-
y2: number;
|
|
255
|
-
lineWidth: number;
|
|
256
|
-
}[];
|
|
257
|
-
margin: number[];
|
|
258
|
-
};
|
|
259
|
-
static PreparesparePartsTable(ROPrintData: any, orientation?: 'portrait' | 'landscape'): any;
|
|
260
|
-
static GetLaborPartsTableForView(Parts: any, Ops: any, PrintPartNo: any, orientation?: 'portrait' | 'landscape'): any;
|
|
261
|
-
static WithOutDiscountFieldTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, DecimalsNumber: number, ROPrintData: any, orientation?: 'portrait' | 'landscape'): any;
|
|
262
|
-
static BuildTableBodyForLaborAndParts(Parts: any, Labor: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, DecimalsNumber: number, orientation?: 'portrait' | 'landscape'): any;
|
|
263
|
-
static GetWithOutDiscAndTaxFieldHeader(Parts: any, Ops: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, DecimalsNumber: number, ROPrintData: any, orientation?: 'portrait' | 'landscape'): any;
|
|
264
|
-
static TaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, DecimalsNumber: number, orientation?: 'portrait' | 'landscape'): {
|
|
265
|
-
style: string;
|
|
266
|
-
marginTop: number;
|
|
267
|
-
table: {
|
|
268
|
-
widths: (string | number)[];
|
|
269
|
-
body: any;
|
|
146
|
+
colum2: {
|
|
147
|
+
fontSize: number;
|
|
148
|
+
lineHeight: number;
|
|
149
|
+
margin: number[];
|
|
270
150
|
};
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
vLineWidth: (i: any, node: any) => number;
|
|
274
|
-
hLineColor: (i: any, node: any) => string;
|
|
275
|
-
vLineColor: (i: any, node: any) => string;
|
|
151
|
+
colum3: {
|
|
152
|
+
lineHeight: number;
|
|
276
153
|
};
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
body: any;
|
|
283
|
-
};
|
|
284
|
-
layout: {
|
|
285
|
-
hLineWidth: (i: any, node: any) => number;
|
|
286
|
-
vLineWidth: (i: any, node: any) => number;
|
|
287
|
-
hLineColor: (i: any, node: any) => string;
|
|
288
|
-
vLineColor: (i: any, node: any) => string;
|
|
154
|
+
Receiptheader1: {
|
|
155
|
+
fontSize: number;
|
|
156
|
+
bold: boolean;
|
|
157
|
+
alignment: string;
|
|
158
|
+
margin: number[];
|
|
289
159
|
};
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
160
|
+
Row1: {
|
|
161
|
+
fontSize: number;
|
|
162
|
+
margin: number[];
|
|
163
|
+
};
|
|
164
|
+
rowdata: {
|
|
165
|
+
margin: number[];
|
|
166
|
+
fontSize: number;
|
|
167
|
+
};
|
|
168
|
+
forCompany: {
|
|
169
|
+
margin: number[];
|
|
170
|
+
fontSize: number;
|
|
171
|
+
};
|
|
172
|
+
forCompany1: {
|
|
173
|
+
margin: number[];
|
|
174
|
+
fontSize: number;
|
|
175
|
+
};
|
|
176
|
+
Rupees: {
|
|
177
|
+
margin: number[];
|
|
178
|
+
fontSize: number;
|
|
179
|
+
};
|
|
180
|
+
Signature: {
|
|
181
|
+
margin: number[];
|
|
182
|
+
alignment: string;
|
|
183
|
+
fontSize: number;
|
|
184
|
+
};
|
|
185
|
+
withApp: {
|
|
186
|
+
alignment: string;
|
|
187
|
+
lineHeight: number;
|
|
188
|
+
};
|
|
189
|
+
withOutApp: {
|
|
190
|
+
alignment: string;
|
|
191
|
+
lineHeight: number;
|
|
192
|
+
};
|
|
193
|
+
Sign: {
|
|
194
|
+
fontSize: number;
|
|
195
|
+
margin: number[];
|
|
196
|
+
};
|
|
197
|
+
Sign1: {
|
|
198
|
+
fontSize: number;
|
|
199
|
+
margin: number[];
|
|
200
|
+
};
|
|
201
|
+
'margin-all': {
|
|
202
|
+
margin: number[];
|
|
203
|
+
};
|
|
204
|
+
'margin-top': {
|
|
205
|
+
margin: number[];
|
|
206
|
+
};
|
|
207
|
+
'margin-bottom': {
|
|
208
|
+
margin: number[];
|
|
209
|
+
};
|
|
210
|
+
fontSize: {
|
|
211
|
+
fontSize: number;
|
|
302
212
|
};
|
|
303
213
|
};
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
214
|
+
};
|
|
215
|
+
export declare function GetMarginsBasedOnPaperSize(size: any, orientation?: 'portrait' | 'landscape'): number[];
|
|
216
|
+
export declare function GetWatermark(invoicePdfData: any): "" | {
|
|
217
|
+
text: string;
|
|
218
|
+
opacity: number;
|
|
219
|
+
};
|
|
220
|
+
export declare function GetFileName(invoicePdfData: any): string;
|
|
221
|
+
export declare function CommonHeaderDetails(invoicePdfData: any, text: any, isotherIndustry: boolean, orientation?: 'portrait' | 'landscape'): any[];
|
|
222
|
+
export declare function GetMainHeaderDetails(Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any, orientation?: 'portrait' | 'landscape'): ({
|
|
223
|
+
columns: any;
|
|
224
|
+
} | {
|
|
225
|
+
canvas: {
|
|
226
|
+
type: string;
|
|
227
|
+
x1: number;
|
|
228
|
+
y1: number;
|
|
229
|
+
x2: number;
|
|
230
|
+
y2: number;
|
|
231
|
+
lineWidth: number;
|
|
232
|
+
}[];
|
|
233
|
+
margin: number[];
|
|
234
|
+
})[];
|
|
235
|
+
export declare function HeaderAfterLine(orientation?: 'portrait' | 'landscape'): {
|
|
236
|
+
canvas: {
|
|
237
|
+
type: string;
|
|
238
|
+
x1: number;
|
|
239
|
+
y1: number;
|
|
240
|
+
x2: number;
|
|
241
|
+
y2: number;
|
|
242
|
+
lineWidth: number;
|
|
243
|
+
}[];
|
|
244
|
+
margin: number[];
|
|
245
|
+
};
|
|
246
|
+
export declare function CustomerAndVehicleDetailsAfterLine(orientation?: 'portrait' | 'landscape'): {
|
|
247
|
+
canvas: {
|
|
248
|
+
type: string;
|
|
249
|
+
x1: number;
|
|
250
|
+
y1: number;
|
|
251
|
+
x2: number;
|
|
252
|
+
y2: number;
|
|
253
|
+
lineWidth: number;
|
|
254
|
+
}[];
|
|
255
|
+
margin: number[];
|
|
256
|
+
};
|
|
257
|
+
export declare function PreparesparePartsTable(invoicePdfData: any, orientation?: 'portrait' | 'landscape'): any;
|
|
258
|
+
export declare function GetLaborPartsTableForView(Parts: any, Ops: any, PrintPartNo: any, orientation?: 'portrait' | 'landscape'): any;
|
|
259
|
+
export declare function WithOutDiscountFieldTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, DecimalsNumber: number, invoicePdfData: any, orientation?: 'portrait' | 'landscape'): any;
|
|
260
|
+
export declare function BuildTableBodyForLaborAndParts(Parts: any, Labor: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, DecimalsNumber: number, orientation?: 'portrait' | 'landscape'): any;
|
|
261
|
+
export declare function GetWithOutDiscAndTaxFieldHeader(Parts: any, Ops: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, DecimalsNumber: number, invoicePdfData: any, orientation?: 'portrait' | 'landscape'): any;
|
|
262
|
+
export declare function TaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, DecimalsNumber: number, orientation?: 'portrait' | 'landscape'): {
|
|
263
|
+
style: string;
|
|
264
|
+
marginTop: number;
|
|
265
|
+
table: {
|
|
266
|
+
widths: (string | number)[];
|
|
267
|
+
body: any;
|
|
309
268
|
};
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
bold?: undefined;
|
|
316
|
-
} | {
|
|
317
|
-
text: string;
|
|
318
|
-
bold: boolean;
|
|
319
|
-
fontSize: number;
|
|
320
|
-
width: string;
|
|
321
|
-
})[];
|
|
269
|
+
layout: {
|
|
270
|
+
hLineWidth: (i: any, node: any) => number;
|
|
271
|
+
vLineWidth: (i: any, node: any) => number;
|
|
272
|
+
hLineColor: (i: any, node: any) => string;
|
|
273
|
+
vLineColor: (i: any, node: any) => string;
|
|
322
274
|
};
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
275
|
+
};
|
|
276
|
+
export declare function ConsolidateDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, DecimalsNumber: number, orientation?: 'portrait' | 'landscape'): {
|
|
277
|
+
style: string;
|
|
278
|
+
table: {
|
|
279
|
+
widths: number[];
|
|
280
|
+
body: any;
|
|
281
|
+
};
|
|
282
|
+
layout: {
|
|
283
|
+
hLineWidth: (i: any, node: any) => number;
|
|
284
|
+
vLineWidth: (i: any, node: any) => number;
|
|
285
|
+
hLineColor: (i: any, node: any) => string;
|
|
286
|
+
vLineColor: (i: any, node: any) => string;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
export declare function NoTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, DecimalsNumber: number, orientation?: 'portrait' | 'landscape'): {
|
|
290
|
+
style: string;
|
|
291
|
+
table: {
|
|
292
|
+
widths: number[];
|
|
293
|
+
body: any;
|
|
331
294
|
};
|
|
332
|
-
|
|
333
|
-
|
|
295
|
+
layout: {
|
|
296
|
+
hLineWidth: (i: any, node: any) => number;
|
|
297
|
+
vLineWidth: (i: any, node: any) => number;
|
|
298
|
+
hLineColor: (i: any, node: any) => string;
|
|
299
|
+
vLineColor: (i: any, node: any) => string;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
export declare function buildTableForCustomerLabor(Parts: any, Ops: any, PrintPartNo: any, customerorInsurance: any, orientation?: 'portrait' | 'landscape'): any;
|
|
303
|
+
export declare function getSummaryHeaders(permission: boolean): any;
|
|
304
|
+
export declare function CommonTotalDetails(invoicePdfData: any, index: any, numberofCopies: any, withPass: boolean, moreDiscDetails: boolean, orientation?: 'portrait' | 'landscape'): any[];
|
|
305
|
+
export declare function GetBanckdetailswithQRCode(invoicePdfData: any): {
|
|
306
|
+
columns: any[];
|
|
307
|
+
};
|
|
308
|
+
export declare function GetNumberInWords(TotalAmount: any): {
|
|
309
|
+
columns: ({
|
|
310
|
+
text: string;
|
|
334
311
|
fontSize: number;
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
312
|
+
width: number;
|
|
313
|
+
bold?: undefined;
|
|
314
|
+
} | {
|
|
315
|
+
text: string;
|
|
316
|
+
bold: boolean;
|
|
317
|
+
fontSize: number;
|
|
318
|
+
width: string;
|
|
319
|
+
})[];
|
|
320
|
+
};
|
|
321
|
+
export declare function GetGatePass(isGatepass: boolean, invoicePdfData: any): any;
|
|
322
|
+
export declare function GetCustomerDetails(invoicePdfData: any, isOtherIndustry: boolean): {
|
|
323
|
+
lineHeight: number;
|
|
324
|
+
fontSize: number;
|
|
325
|
+
table: {
|
|
326
|
+
body: any;
|
|
327
|
+
};
|
|
328
|
+
layout: string;
|
|
329
|
+
};
|
|
330
|
+
export declare function GetVehicleDetails(Vehicle: any, isOtherIndustry: boolean): {
|
|
331
|
+
lineHeight: number;
|
|
332
|
+
fontSize: number;
|
|
333
|
+
table: {
|
|
334
|
+
body: any;
|
|
339
335
|
};
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
336
|
+
layout: string;
|
|
337
|
+
};
|
|
338
|
+
export declare function GetLandscapeWithOutDiscountFieldHeader(PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ShowDiscountColumn: any): any;
|
|
339
|
+
export declare function getLandscapeSummaryHeaders(PrintPartNo: any): any;
|
|
340
|
+
export declare function GetLandscapeTaxTableWidths(PrintPartNo: any, ShowIGST: any, ShowDiscountColumn: any): (string | number)[];
|