shareneus 1.4.36 → 1.4.38
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/counter-sales/auto-sales-receipt-pdf.service.d.ts +290 -0
- package/dist/{services → accounting/counter-sales}/auto-sales-receipt-pdf.service.js +4 -4
- package/dist/accounting/counter-sales/pos-receipt-pdf.d.ts +156 -0
- package/dist/{services → accounting/counter-sales}/pos-receipt-pdf.js +2 -2
- package/dist/accounting/counter-sales/sales-receipt-pdf.service.d.ts +272 -0
- package/dist/{services → accounting/counter-sales}/sales-receipt-pdf.service.js +4 -3
- package/dist/accounting/counter-sales/sales-receipt-print.service.d.ts +18 -0
- package/dist/{services → accounting/counter-sales}/sales-receipt-print.service.js +7 -7
- package/dist/accounting/credit-note/cn-print.service.d.ts +14 -0
- package/dist/{services → accounting/credit-note}/cn-print.service.js +6 -6
- package/dist/accounting/credit-note/credit-note-pdf.service.d.ts +272 -0
- package/dist/{services → accounting/credit-note}/credit-note-pdf.service.js +3 -3
- package/dist/accounting/credit-note/credit-note-totals.service.d.ts +25 -0
- package/dist/{services → accounting/credit-note}/credit-note-totals.service.js +2 -2
- package/dist/accounting/debit-note/debit-note-pdf.service.d.ts +331 -0
- package/dist/{services → accounting/debit-note}/debit-note-pdf.service.js +3 -3
- package/dist/accounting/debit-note/debit-note-print.service.d.ts +14 -0
- package/dist/{services → accounting/debit-note}/debit-note-print.service.js +6 -6
- package/dist/accounting/debit-note/debit-note-totals.service.d.ts +22 -0
- package/dist/{services → accounting/debit-note}/debit-note-totals.service.js +2 -2
- package/dist/accounting/invoice/hc-inv-pdf.service.d.ts +357 -0
- package/dist/{services → accounting/invoice}/hc-inv-pdf.service.js +3 -3
- package/dist/accounting/invoice/inv-pdf.service.d.ts +314 -0
- package/dist/{services → accounting/invoice}/inv-pdf.service.js +4 -4
- package/dist/accounting/invoice/inv-print.service.d.ts +16 -0
- package/dist/{services → accounting/invoice}/inv-print.service.js +6 -6
- package/dist/accounting/invoice/invoice-landscape-pdf.service.d.ts +416 -0
- package/dist/{services → accounting/invoice}/invoice-landscape-pdf.service.js +4 -4
- package/dist/accounting/invoice/invoice-letterhead-pdf.service.d.ts +323 -0
- package/dist/{services → accounting/invoice}/invoice-letterhead-pdf.service.js +4 -4
- package/dist/accounting/invoice/invoice-portrait-pdf.d.ts +275 -0
- package/dist/{services → accounting/invoice}/invoice-portrait-pdf.js +4 -4
- package/dist/accounting/invoice/invoice-total.service.d.ts +43 -0
- package/dist/{services → accounting/invoice}/invoice-total.service.js +2 -2
- package/dist/accounting/invoice/shared-inv-pdf.service.d.ts +303 -0
- package/dist/accounting/invoice/shared-inv-pdf.service.js +763 -0
- package/dist/accounting/payment-receive/payment-pdf.service.d.ts +618 -0
- package/dist/{services → accounting/payment-receive}/payment-pdf.service.js +3 -3
- package/dist/accounting/payment-receive/receipt-print.service.d.ts +4 -0
- package/dist/{services → accounting/payment-receive}/receipt-print.service.js +3 -3
- package/dist/accounting/payment-receive/reports/pdf/customer-balances-pdf.service.d.ts +228 -0
- package/dist/{services → accounting/payment-receive/reports/pdf}/customer-balances-pdf.service.js +3 -3
- package/dist/accounting/payment-receive/reports/pdf/payment-report-pdf.service.d.ts +228 -0
- package/dist/{services → accounting/payment-receive/reports/pdf}/payment-report-pdf.service.js +3 -3
- package/dist/aggregation/aggregation.d.ts +4 -0
- package/dist/appointments/appointments/appointment-total.service.d.ts +25 -0
- package/dist/{services → appointments/appointments}/appointment-total.service.js +2 -2
- package/dist/appointments/consultations/consultation-fee-receipt.service.d.ts +318 -0
- package/dist/{services → appointments/consultations}/consultation-fee-receipt.service.js +3 -3
- package/dist/appointments/consultations/consultation-full-pdf.service.d.ts +207 -0
- package/dist/{services → appointments/consultations}/consultation-full-pdf.service.js +3 -3
- package/dist/appointments/consultations/consultation-letterhead-pdf.service.d.ts +266 -0
- package/dist/{services → appointments/consultations}/consultation-letterhead-pdf.service.js +3 -3
- package/dist/appointments/consultations/consultation-pdf.service.d.ts +306 -0
- package/dist/{services → appointments/consultations}/consultation-pdf.service.js +3 -3
- package/dist/enums/cache-enums.d.ts +33 -0
- package/dist/enums/code-enums.d.ts +266 -0
- package/dist/enums/enums.d.ts +329 -0
- package/dist/enums/industry-enums.d.ts +16 -0
- package/dist/excel-files/cust-balance-excel.service.d.ts +26 -0
- package/dist/excel-files/expiring-drugs-excel.service.d.ts +24 -0
- package/dist/excel-files/insurance-expire-excel.service.d.ts +23 -0
- package/dist/excel-files/invoice-wise-excel.service.d.ts +26 -0
- package/dist/excel-files/next-service-date-excel.service.d.ts +25 -0
- package/dist/excel-files/payment-receive-excel.service.d.ts +25 -0
- package/dist/excel-files/payments-made-excel.service.d.ts +25 -0
- package/dist/excel-files/repair-orders-excel.service.d.ts +24 -0
- package/dist/excel-files/sales-by-service-details-excel.service.d.ts +0 -0
- package/dist/excel-files/sales-by-service-summary-excel.service.d.ts +24 -0
- package/dist/excel-files/scheduled-drug-summary-excel.service.d.ts +24 -0
- package/dist/excel-files/scheduled-drugs-excel.service.d.ts +24 -0
- package/dist/excel-files/spares-issue-excel.service.d.ts +26 -0
- package/dist/excel-files/stock-excel.service.d.ts +23 -0
- package/dist/excel-files/ven-balance-excel.service.d.ts +27 -0
- package/dist/gst/excel/GSTR-RO-excel.service.d.ts +27 -0
- package/dist/{excel-files → gst/excel}/GSTR-RO-excel.service.js +1 -1
- package/dist/gst/excel/GSTR1-excel.service.d.ts +16 -0
- package/dist/{excel-files → gst/excel}/GSTR1-excel.service.js +1 -1
- package/dist/gst/excel/GSTR2-excel.service.d.ts +16 -0
- package/dist/{excel-files → gst/excel}/GSTR2-excel.service.js +1 -1
- package/dist/gst/excel/tally-sales-import.service.d.ts +27 -0
- package/dist/{excel-files → gst/excel}/tally-sales-import.service.js +1 -1
- package/dist/index.d.ts +125 -0
- package/dist/index.js +99 -97
- package/dist/inventory/items/issue-parts-pdf.service.d.ts +303 -0
- package/dist/{services → inventory/items}/issue-parts-pdf.service.js +4 -4
- package/dist/inventory/items/item-bar-code-label-pdf.d.ts +127 -0
- package/dist/{services → inventory/items}/item-bar-code-label-pdf.js +2 -2
- package/dist/inventory/items/item-detais-pdf.d.ts +121 -0
- package/dist/{services → inventory/items}/item-detais-pdf.js +1 -1
- package/dist/inventory/items/item-price-for-pricelist.d.ts +14 -0
- package/dist/{services → inventory/items}/item-price-for-pricelist.js +53 -23
- package/dist/inventory/items/reports/excel/item-wise-mout-details.d.ts +23 -0
- package/dist/{excel-files → inventory/items/reports/excel}/item-wise-mout-details.js +2 -2
- package/dist/inventory/items/reports/excel/item-wise-mout-summary.d.ts +23 -0
- package/dist/{excel-files → inventory/items/reports/excel}/item-wise-mout-summary.js +2 -2
- package/dist/inventory/items/reports/pdf/expiring-drugs-pdf.service.d.ts +49 -0
- package/dist/{services → inventory/items/reports/pdf}/expiring-drugs-pdf.service.js +2 -2
- package/dist/inventory/items/reports/pdf/item-wise-mout-details-pdf.d.ts +229 -0
- package/dist/{services → inventory/items/reports/pdf}/item-wise-mout-details-pdf.js +3 -3
- package/dist/inventory/items/reports/pdf/item-wise-mout-summary-pdf.d.ts +228 -0
- package/dist/{services → inventory/items/reports/pdf}/item-wise-mout-summary-pdf.js +2 -2
- package/dist/inventory/items/reports/pdf/reorder-point-pdf.service.d.ts +48 -0
- package/dist/{services → inventory/items/reports/pdf}/reorder-point-pdf.service.js +2 -2
- package/dist/inventory/material-out/mout-pdf.service.d.ts +324 -0
- package/dist/{services → inventory/material-out}/mout-pdf.service.js +3 -3
- package/dist/inventory/transfer-order/transfer-order-pdf.service.d.ts +48 -0
- package/dist/{services → inventory/transfer-order}/transfer-order-pdf.service.js +2 -2
- package/dist/purchases/payment-made/reports/pdf/vendor-balances-pdf.service.d.ts +227 -0
- package/dist/{services → purchases/payment-made/reports/pdf}/vendor-balances-pdf.service.js +3 -3
- package/dist/purchases/purchase-order/po-totals.service.d.ts +24 -0
- package/dist/{services → purchases/purchase-order}/po-totals.service.js +2 -2
- package/dist/purchases/purchase-order/purchase-order-pdf.service.d.ts +526 -0
- package/dist/{services → purchases/purchase-order}/purchase-order-pdf.service.js +3 -3
- package/dist/purchases/purchase-order/purchase-order-print.service.d.ts +8 -0
- package/dist/{services → purchases/purchase-order}/purchase-order-print.service.js +5 -5
- package/dist/purchases/purchase-order/purchase-order-totals.service.d.ts +23 -0
- package/dist/{services → purchases/purchase-order}/purchase-order-totals.service.js +3 -3
- package/dist/purchases/vendor-credit-note/vendor-credit-note-pdf.service.d.ts +491 -0
- package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-pdf.service.js +3 -3
- package/dist/purchases/vendor-credit-note/vendor-credit-note-print.service.d.ts +6 -0
- package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-print.service.js +4 -4
- package/dist/purchases/vendor-credit-note/vendor-credit-note-totals.service.d.ts +24 -0
- package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-totals.service.js +2 -2
- package/dist/purchases/vendor-debit-note/vendor-debit-note-pdf.service.d.ts +271 -0
- package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-pdf.service.js +3 -3
- package/dist/purchases/vendor-debit-note/vendor-debit-note-print.service.d.ts +14 -0
- package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-print.service.js +7 -7
- package/dist/purchases/vendor-debit-note/vendor-debit-note-totals.service.d.ts +22 -0
- package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-totals.service.js +2 -2
- package/dist/sales/delivery-challan/dc-landscape-pdf.service.d.ts +416 -0
- package/dist/{services → sales/delivery-challan}/dc-landscape-pdf.service.js +4 -4
- package/dist/sales/delivery-challan/dc-landscape-without-price-pdf.service.d.ts +400 -0
- package/dist/{services → sales/delivery-challan}/dc-landscape-without-price-pdf.service.js +4 -4
- package/dist/sales/delivery-challan/dc-without-price-pdf.service.d.ts +271 -0
- package/dist/{services → sales/delivery-challan}/dc-without-price-pdf.service.js +3 -3
- package/dist/sales/delivery-challan/delivery-challan-pdf.service.d.ts +269 -0
- package/dist/{services → sales/delivery-challan}/delivery-challan-pdf.service.js +3 -3
- package/dist/sales/delivery-challan/delivery-challan-print.service.d.ts +12 -0
- package/dist/{services → sales/delivery-challan}/delivery-challan-print.service.js +6 -6
- package/dist/sales/delivery-challan/delivery-challan-totals.d.ts +27 -0
- package/dist/{services → sales/delivery-challan}/delivery-challan-totals.js +2 -2
- package/dist/sales/reports/excel/analysis-excel.service.d.ts +23 -0
- package/dist/{excel-files → sales/reports/excel}/analysis-excel.service.js +2 -2
- package/dist/sales/reports/excel/category-wise-item-excel.service.d.ts +23 -0
- package/dist/{excel-files → sales/reports/excel}/category-wise-item-excel.service.js +2 -2
- package/dist/sales/reports/excel/cust-wise-sales-details.d.ts +25 -0
- package/dist/{excel-files → sales/reports/excel}/cust-wise-sales-details.js +2 -2
- package/dist/sales/reports/excel/cust-wise-sales-summary-excel.service.d.ts +24 -0
- package/dist/{excel-files → sales/reports/excel}/cust-wise-sales-summary-excel.service.js +2 -2
- package/dist/sales/reports/excel/item-wise-doctor-sale-excel.service.d.ts +24 -0
- package/dist/{excel-files → sales/reports/excel}/item-wise-doctor-sale-excel.service.js +2 -2
- package/dist/sales/reports/excel/items-wise-sales-excel.service.d.ts +24 -0
- package/dist/{excel-files → sales/reports/excel}/items-wise-sales-excel.service.js +2 -2
- package/dist/sales/reports/excel/manf-wise-sales-excel.service.d.ts +24 -0
- package/dist/{excel-files → sales/reports/excel}/manf-wise-sales-excel.service.js +2 -2
- package/dist/sales/reports/excel/operator-wise-details.d.ts +23 -0
- package/dist/{excel-files → sales/reports/excel}/operator-wise-details.js +2 -2
- package/dist/sales/reports/excel/operator-wise-summary.d.ts +23 -0
- package/dist/{excel-files → sales/reports/excel}/operator-wise-summary.js +2 -2
- package/dist/sales/reports/excel/sa-wise-labor-sales-excel.service.d.ts +23 -0
- package/dist/{excel-files → sales/reports/excel}/sa-wise-labor-sales-excel.service.js +2 -2
- package/dist/sales/reports/excel/sa-wise-part-sales-excel.service.d.ts +23 -0
- package/dist/{excel-files → sales/reports/excel}/sa-wise-part-sales-excel.service.js +2 -2
- package/dist/sales/reports/excel/sale-summary-excel.service.d.ts +25 -0
- package/dist/{excel-files → sales/reports/excel}/sale-summary-excel.service.js +1 -1
- package/dist/sales/reports/pdf/analysis-pdf.service.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/analysis-pdf.service.js +3 -3
- package/dist/sales/reports/pdf/category-wise-item-pdf.service.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/category-wise-item-pdf.service.js +2 -2
- package/dist/sales/reports/pdf/cust-wise-sales-details-pdf.service.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/cust-wise-sales-details-pdf.service.js +3 -3
- package/dist/sales/reports/pdf/cust-wise-sales-summary-pdf.service.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/cust-wise-sales-summary-pdf.service.js +2 -3
- package/dist/sales/reports/pdf/item-wise-doctor-sale-pdf.service.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/item-wise-doctor-sale-pdf.service.js +2 -2
- package/dist/sales/reports/pdf/item-wise-sales-pdf.service.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/item-wise-sales-pdf.service.js +2 -3
- package/dist/sales/reports/pdf/manf-wise-sales-pdf.service.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/manf-wise-sales-pdf.service.js +2 -2
- package/dist/sales/reports/pdf/operator-wise-details-pdf.service.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/operator-wise-details-pdf.service.js +3 -3
- package/dist/sales/reports/pdf/operator-wise-summary-pdf.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/operator-wise-summary-pdf.js +2 -2
- package/dist/sales/reports/pdf/sales-by-service-pdf.service.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/sales-by-service-pdf.service.js +2 -2
- package/dist/sales/reports/pdf/scheduled-drug-pdf.service.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/scheduled-drug-pdf.service.js +3 -3
- package/dist/sales/reports/pdf/scheduled-drug-summary-pdf.service.d.ts +228 -0
- package/dist/{services → sales/reports/pdf}/scheduled-drug-summary-pdf.service.js +2 -2
- package/dist/sales/sales/equipment-design-pdf.service.d.ts +121 -0
- package/dist/{services → sales/sales}/equipment-design-pdf.service.js +3 -3
- package/dist/sales/sales/pack-ship-pdf.service.d.ts +262 -0
- package/dist/{services → sales/sales}/pack-ship-pdf.service.js +3 -3
- package/dist/sales/sales/pack-ship-print.service.d.ts +11 -0
- package/dist/{services → sales/sales}/pack-ship-print.service.js +3 -3
- package/dist/sales/sales/sales-pdf.service.d.ts +275 -0
- package/dist/{services → sales/sales}/sales-pdf.service.js +3 -3
- package/dist/sales/sales/sales-print.service.d.ts +15 -0
- package/dist/{services → sales/sales}/sales-print.service.js +6 -6
- package/dist/sales/sales/sales-totals.service.d.ts +27 -0
- package/dist/{services → sales/sales}/sales-totals.service.js +2 -2
- package/dist/services/checklist-pdf.d.ts +57 -0
- package/dist/services/checklist-pdf.js +2 -2
- package/dist/services/checklists-pdf.d.ts +12 -0
- package/dist/services/checklists-pdf.js +1 -1
- package/dist/services/est.print-service.d.ts +64 -0
- package/dist/services/est.print-service.js +1 -1
- package/dist/services/next-service-date-pdf.service.d.ts +228 -0
- package/dist/services/next-service-date-pdf.service.js +1 -1
- package/dist/services/reports/insurance-expire-pdf.service.d.ts +227 -0
- package/dist/services/{insurance-expire-pdf.service.js → reports/insurance-expire-pdf.service.js} +2 -2
- package/dist/services/reports/repair-orders-pdf.service.d.ts +229 -0
- package/dist/services/{repair-orders-pdf.service.js → reports/repair-orders-pdf.service.js} +3 -3
- package/dist/services/ro-pdf.service.d.ts +1060 -0
- package/dist/services/ro-pdf.service.js +2 -2
- package/dist/services/ro-print-service.d.ts +45 -0
- package/dist/services/ro-print-service.js +1 -1
- package/dist/services/ro-totals.service.d.ts +65 -0
- package/dist/services/separate-wo-print.service.d.ts +494 -0
- package/dist/services/separate-wo-print.service.js +1 -1
- package/dist/services/shared-inv-pdf.service.d.ts +303 -0
- package/dist/services/shared-inv-pdf.service.js +2 -2
- package/dist/services/technician-pdf.service.d.ts +221 -0
- package/dist/services/technician-pdf.service.js +1 -1
- package/dist/services/technician-print.service.d.ts +5 -0
- package/dist/services/technician-print.service.js +1 -1
- package/dist/shared/math-operations.d.ts +53 -0
- package/dist/shared/shared-services/shared-pdf.service.d.ts +926 -0
- package/dist/{services → shared/shared-services}/shared-pdf.service.js +3 -3
- package/dist/shared/shared-services/shared-print.service.d.ts +49 -0
- package/dist/{services → shared/shared-services}/shared-print.service.js +2 -2
- package/dist/shared/util.d.ts +3 -0
- package/dist/tasks/meetings/meeting-pdf.d.ts +107 -0
- package/dist/{services → tasks/meetings}/meeting-pdf.js +3 -3
- package/dist/tasks/tasks/task-pdf.service.d.ts +127 -0
- package/dist/{services → tasks/tasks}/task-pdf.service.js +4 -4
- package/dist/tasks/tasks/task-reports-pdf.service.d.ts +94 -0
- package/dist/{services → tasks/tasks}/task-reports-pdf.service.js +4 -4
- package/dist/utils/my-date.d.ts +104 -0
- package/dist/utils/tr-utils.d.ts +40 -0
- package/dist/utils/tr-utils.js +0 -4
- package/package.json +1 -1
- package/tsconfig.json +1 -0
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
export declare class PackShipPDFService {
|
|
2
|
+
static FontSize: number;
|
|
3
|
+
static GetPackagesPrint(ShipmentData: any, numberofCopies: any): {
|
|
4
|
+
info: {
|
|
5
|
+
title: string;
|
|
6
|
+
};
|
|
7
|
+
background: (currentPage: any, pageSize: any) => any;
|
|
8
|
+
header: (currentPage: any, pageCount: any) => {
|
|
9
|
+
text: string;
|
|
10
|
+
alignment: string;
|
|
11
|
+
marginRight: number;
|
|
12
|
+
fontSize: number;
|
|
13
|
+
marginTop: number;
|
|
14
|
+
};
|
|
15
|
+
pageMargins: number[];
|
|
16
|
+
content: (void | any[] | {
|
|
17
|
+
style: string;
|
|
18
|
+
table: {
|
|
19
|
+
widths: number[];
|
|
20
|
+
body: any;
|
|
21
|
+
};
|
|
22
|
+
layout: {
|
|
23
|
+
hLineWidth: (i: any, node: any) => number;
|
|
24
|
+
vLineWidth: (i: any, node: any) => number;
|
|
25
|
+
hLineColor: (i: any, node: any) => "black" | "gray";
|
|
26
|
+
vLineColor: (i: any, node: any) => "black" | "gray";
|
|
27
|
+
};
|
|
28
|
+
} | {
|
|
29
|
+
text: string;
|
|
30
|
+
alignment: string;
|
|
31
|
+
fontSize: number;
|
|
32
|
+
bold: boolean;
|
|
33
|
+
})[];
|
|
34
|
+
defaultStyle: {
|
|
35
|
+
fontSize: number;
|
|
36
|
+
};
|
|
37
|
+
styles: {
|
|
38
|
+
temp2header: {
|
|
39
|
+
fontSize: number;
|
|
40
|
+
bold: boolean;
|
|
41
|
+
alignment: string;
|
|
42
|
+
};
|
|
43
|
+
tableheader1: {
|
|
44
|
+
bold: boolean;
|
|
45
|
+
fontFamily: string;
|
|
46
|
+
margin: number[];
|
|
47
|
+
alignment: string;
|
|
48
|
+
};
|
|
49
|
+
header: {
|
|
50
|
+
fontSize: number;
|
|
51
|
+
bold: boolean;
|
|
52
|
+
alignment: string;
|
|
53
|
+
};
|
|
54
|
+
meetingHeader: {
|
|
55
|
+
fontSize: number;
|
|
56
|
+
bold: boolean;
|
|
57
|
+
};
|
|
58
|
+
Receiptheader: {
|
|
59
|
+
fontSize: number;
|
|
60
|
+
bold: boolean;
|
|
61
|
+
alignment: string;
|
|
62
|
+
margin: number[];
|
|
63
|
+
};
|
|
64
|
+
InlineHeader: {
|
|
65
|
+
fontSize: number;
|
|
66
|
+
bold: boolean;
|
|
67
|
+
alignment: string;
|
|
68
|
+
margin: number[];
|
|
69
|
+
};
|
|
70
|
+
TaskHeading: {
|
|
71
|
+
fontSize: number;
|
|
72
|
+
bold: boolean;
|
|
73
|
+
margin: number[];
|
|
74
|
+
};
|
|
75
|
+
lettersSize: {
|
|
76
|
+
fontSize: number;
|
|
77
|
+
margin: number[];
|
|
78
|
+
};
|
|
79
|
+
tablexample: {
|
|
80
|
+
margin: number[];
|
|
81
|
+
};
|
|
82
|
+
hedstyl: {
|
|
83
|
+
margin: number[];
|
|
84
|
+
};
|
|
85
|
+
header2: {
|
|
86
|
+
fontSize: number;
|
|
87
|
+
bold: boolean;
|
|
88
|
+
alignment: string;
|
|
89
|
+
margin: number[];
|
|
90
|
+
};
|
|
91
|
+
header1: {
|
|
92
|
+
fontSize: number;
|
|
93
|
+
bold: boolean;
|
|
94
|
+
alignment: string;
|
|
95
|
+
decoration: string;
|
|
96
|
+
margin: number[];
|
|
97
|
+
};
|
|
98
|
+
ws_adrs_center: {
|
|
99
|
+
fontSize: number;
|
|
100
|
+
alignment: string;
|
|
101
|
+
};
|
|
102
|
+
ws_adrs_center1: {
|
|
103
|
+
fontSize: number;
|
|
104
|
+
alignment: string;
|
|
105
|
+
};
|
|
106
|
+
ws_adrs_left: {
|
|
107
|
+
fontSize: number;
|
|
108
|
+
alignment: string;
|
|
109
|
+
};
|
|
110
|
+
ws_adrs_left1: {
|
|
111
|
+
fontSize: number;
|
|
112
|
+
alignment: string;
|
|
113
|
+
};
|
|
114
|
+
columnheader: {
|
|
115
|
+
margin: number[];
|
|
116
|
+
};
|
|
117
|
+
tableExample: {
|
|
118
|
+
margin: number[];
|
|
119
|
+
fontSize: number;
|
|
120
|
+
};
|
|
121
|
+
tableExamplemargin: {
|
|
122
|
+
margin: number[];
|
|
123
|
+
fontSize: number;
|
|
124
|
+
};
|
|
125
|
+
textcust: {
|
|
126
|
+
fontSize: number;
|
|
127
|
+
margin: number[];
|
|
128
|
+
};
|
|
129
|
+
column: {
|
|
130
|
+
margin: number[];
|
|
131
|
+
};
|
|
132
|
+
tableheader: {
|
|
133
|
+
bold: boolean;
|
|
134
|
+
fontSize: number;
|
|
135
|
+
margin: number[];
|
|
136
|
+
alignment: string;
|
|
137
|
+
};
|
|
138
|
+
tableheader2: {
|
|
139
|
+
fontSize: number;
|
|
140
|
+
margin: number[];
|
|
141
|
+
alignment: string;
|
|
142
|
+
opacity: number;
|
|
143
|
+
};
|
|
144
|
+
hed: {
|
|
145
|
+
fontSize: number;
|
|
146
|
+
bold: boolean;
|
|
147
|
+
};
|
|
148
|
+
hed2: {
|
|
149
|
+
fontSize: number;
|
|
150
|
+
};
|
|
151
|
+
TotalsStyles: {
|
|
152
|
+
marginTop: number;
|
|
153
|
+
lineHeight: number;
|
|
154
|
+
fontSize: number;
|
|
155
|
+
margin: number[];
|
|
156
|
+
};
|
|
157
|
+
colum1: {
|
|
158
|
+
fontSize: number;
|
|
159
|
+
lineHeight: number;
|
|
160
|
+
};
|
|
161
|
+
colum2: {
|
|
162
|
+
fontSize: number;
|
|
163
|
+
lineHeight: number;
|
|
164
|
+
margin: number[];
|
|
165
|
+
};
|
|
166
|
+
colum3: {
|
|
167
|
+
lineHeight: number;
|
|
168
|
+
};
|
|
169
|
+
Receiptheader1: {
|
|
170
|
+
fontSize: number;
|
|
171
|
+
bold: boolean;
|
|
172
|
+
alignment: string;
|
|
173
|
+
margin: number[];
|
|
174
|
+
};
|
|
175
|
+
Row1: {
|
|
176
|
+
fontSize: number;
|
|
177
|
+
margin: number[];
|
|
178
|
+
};
|
|
179
|
+
rowdata: {
|
|
180
|
+
margin: number[];
|
|
181
|
+
fontSize: number;
|
|
182
|
+
};
|
|
183
|
+
forCompany: {
|
|
184
|
+
margin: number[];
|
|
185
|
+
fontSize: string;
|
|
186
|
+
};
|
|
187
|
+
forCompany1: {
|
|
188
|
+
margin: number[];
|
|
189
|
+
fontSize: string;
|
|
190
|
+
};
|
|
191
|
+
Rupees: {
|
|
192
|
+
margin: number[];
|
|
193
|
+
fontSize: string;
|
|
194
|
+
};
|
|
195
|
+
Signature: {
|
|
196
|
+
margin: number[];
|
|
197
|
+
alignment: string;
|
|
198
|
+
fontSize: string;
|
|
199
|
+
};
|
|
200
|
+
withApp: {
|
|
201
|
+
alignment: string;
|
|
202
|
+
lineHeight: number;
|
|
203
|
+
};
|
|
204
|
+
withOutApp: {
|
|
205
|
+
alignment: string;
|
|
206
|
+
lineHeight: number;
|
|
207
|
+
};
|
|
208
|
+
Sign: {
|
|
209
|
+
fontSize: number;
|
|
210
|
+
margin: number[];
|
|
211
|
+
};
|
|
212
|
+
Sign1: {
|
|
213
|
+
fontSize: number;
|
|
214
|
+
margin: number[];
|
|
215
|
+
};
|
|
216
|
+
'margin-all': {
|
|
217
|
+
margin: number[];
|
|
218
|
+
};
|
|
219
|
+
'margin-top': {
|
|
220
|
+
margin: number[];
|
|
221
|
+
};
|
|
222
|
+
'margin-bottom': {
|
|
223
|
+
margin: number[];
|
|
224
|
+
};
|
|
225
|
+
fontSize: {
|
|
226
|
+
fontSize: number;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
static GetPackageData(): void;
|
|
231
|
+
static PrepareItemsTable(ShipmentData: any): {
|
|
232
|
+
style: string;
|
|
233
|
+
table: {
|
|
234
|
+
widths: number[];
|
|
235
|
+
body: any;
|
|
236
|
+
};
|
|
237
|
+
layout: {
|
|
238
|
+
hLineWidth: (i: any, node: any) => number;
|
|
239
|
+
vLineWidth: (i: any, node: any) => number;
|
|
240
|
+
hLineColor: (i: any, node: any) => "black" | "gray";
|
|
241
|
+
vLineColor: (i: any, node: any) => "black" | "gray";
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
static buildTableForCustomerLabor(Items: any): any;
|
|
245
|
+
static GetColumns(): any;
|
|
246
|
+
static GetPackageDetails(Packages: any): void;
|
|
247
|
+
static CommonHeaderDetails(ROPrintData: any, text: any): any[];
|
|
248
|
+
static GetMainHeaderDetails(Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any): ({
|
|
249
|
+
columns: any;
|
|
250
|
+
} | {
|
|
251
|
+
canvas: {
|
|
252
|
+
type: string;
|
|
253
|
+
lineColor: string;
|
|
254
|
+
x1: number;
|
|
255
|
+
y1: number;
|
|
256
|
+
x2: number;
|
|
257
|
+
y2: number;
|
|
258
|
+
lineWidth: number;
|
|
259
|
+
}[];
|
|
260
|
+
})[];
|
|
261
|
+
static GetFileName(ROPrintData: any): string;
|
|
262
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PackShipPDFService = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
4
|
+
const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
|
|
5
|
+
const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
|
|
6
|
+
const tr_utils_1 = require("../../utils/tr-utils");
|
|
7
7
|
class PackShipPDFService {
|
|
8
8
|
static GetPackagesPrint(ShipmentData, numberofCopies) {
|
|
9
9
|
// console.log(ShipmentData);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class PackShipPrintService {
|
|
2
|
+
static GetShipmentPrintInfo(OriginalInvoiceData: any, OriginalEntityData: any, image: any, PackShipData: any, ItemsList: any, IsPackage: boolean): any;
|
|
3
|
+
static GetPackShipHeading(InvoicePrintData: any, IsPackage: boolean): any;
|
|
4
|
+
static GetPrintConditionsBasedOnInput(InvoicePrintData: any, IncludeGST: boolean, ConsolidateGST: boolean, ForInsurance: boolean, SType: any, OriginalInvoiceData: any, IsProforma: boolean): any;
|
|
5
|
+
static GetInvoiceOtherDetailsForPrint(InvoicePrintData: any, OriginalInvoiceData: any, PackShipData: any, IsPackage: boolean): any;
|
|
6
|
+
static GetFormattedProductDataForPrint(OriginalInvoiceData: any, InvoicePrintData: any): any;
|
|
7
|
+
static GetShipToForSOPrint(OriginalInvoiceData: any, InvoicePrintData: any): any;
|
|
8
|
+
static GetBillNameForInvoicePrint(OriginalInvoiceData: any, InvoicePrintData: any): any;
|
|
9
|
+
static GetCustomerDetails(OriginalInvoiceData: any): any;
|
|
10
|
+
static GetBillToName(Title: any, Name: string): string;
|
|
11
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PackShipPrintService = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
4
|
+
const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
|
|
5
|
+
const my_date_1 = require("../../utils/my-date");
|
|
6
|
+
const tr_utils_1 = require("../../utils/tr-utils");
|
|
7
7
|
class PackShipPrintService {
|
|
8
8
|
static GetShipmentPrintInfo(OriginalInvoiceData, OriginalEntityData, image, PackShipData, ItemsList, IsPackage) {
|
|
9
9
|
// console.log(ItemsList);
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
export declare class SalesPdfService {
|
|
2
|
+
static FontSize: number;
|
|
3
|
+
static GetSalesPrint(ROPrintData: any, numberofCopies: any, isOtherIndustry: boolean, Entity: any, Sites: any, Items: any, Image: any, moreDiscDetails: boolean): {
|
|
4
|
+
info: {
|
|
5
|
+
title: string;
|
|
6
|
+
};
|
|
7
|
+
background: (currentPage: any, pageSize: any) => any;
|
|
8
|
+
header: (currentPage: any, pageCount: any) => {
|
|
9
|
+
text: string;
|
|
10
|
+
alignment: string;
|
|
11
|
+
marginRight: number;
|
|
12
|
+
fontSize: number;
|
|
13
|
+
marginTop: number;
|
|
14
|
+
};
|
|
15
|
+
pageMargins: number[];
|
|
16
|
+
content: any[];
|
|
17
|
+
defaultStyle: {
|
|
18
|
+
fontSize: number;
|
|
19
|
+
};
|
|
20
|
+
styles: {
|
|
21
|
+
temp2header: {
|
|
22
|
+
fontSize: number;
|
|
23
|
+
bold: boolean;
|
|
24
|
+
alignment: string;
|
|
25
|
+
};
|
|
26
|
+
tableheader1: {
|
|
27
|
+
bold: boolean;
|
|
28
|
+
fontFamily: string;
|
|
29
|
+
margin: number[];
|
|
30
|
+
alignment: string;
|
|
31
|
+
};
|
|
32
|
+
header: {
|
|
33
|
+
fontSize: number;
|
|
34
|
+
bold: boolean;
|
|
35
|
+
alignment: string;
|
|
36
|
+
};
|
|
37
|
+
meetingHeader: {
|
|
38
|
+
fontSize: number;
|
|
39
|
+
bold: boolean;
|
|
40
|
+
};
|
|
41
|
+
Receiptheader: {
|
|
42
|
+
fontSize: number;
|
|
43
|
+
bold: boolean;
|
|
44
|
+
alignment: string;
|
|
45
|
+
margin: number[];
|
|
46
|
+
};
|
|
47
|
+
InlineHeader: {
|
|
48
|
+
fontSize: number;
|
|
49
|
+
bold: boolean;
|
|
50
|
+
alignment: string;
|
|
51
|
+
margin: number[];
|
|
52
|
+
};
|
|
53
|
+
TaskHeading: {
|
|
54
|
+
fontSize: number;
|
|
55
|
+
bold: boolean;
|
|
56
|
+
margin: number[];
|
|
57
|
+
};
|
|
58
|
+
lettersSize: {
|
|
59
|
+
fontSize: number;
|
|
60
|
+
margin: number[];
|
|
61
|
+
};
|
|
62
|
+
tablexample: {
|
|
63
|
+
margin: number[];
|
|
64
|
+
};
|
|
65
|
+
hedstyl: {
|
|
66
|
+
margin: number[];
|
|
67
|
+
};
|
|
68
|
+
header2: {
|
|
69
|
+
fontSize: number;
|
|
70
|
+
bold: boolean;
|
|
71
|
+
alignment: string;
|
|
72
|
+
margin: number[];
|
|
73
|
+
};
|
|
74
|
+
header1: {
|
|
75
|
+
fontSize: number;
|
|
76
|
+
bold: boolean;
|
|
77
|
+
alignment: string;
|
|
78
|
+
decoration: string;
|
|
79
|
+
margin: number[];
|
|
80
|
+
};
|
|
81
|
+
ws_adrs_center: {
|
|
82
|
+
fontSize: number;
|
|
83
|
+
alignment: string;
|
|
84
|
+
};
|
|
85
|
+
ws_adrs_center1: {
|
|
86
|
+
fontSize: number;
|
|
87
|
+
alignment: string;
|
|
88
|
+
};
|
|
89
|
+
ws_adrs_left: {
|
|
90
|
+
fontSize: number;
|
|
91
|
+
alignment: string;
|
|
92
|
+
};
|
|
93
|
+
ws_adrs_left1: {
|
|
94
|
+
fontSize: number;
|
|
95
|
+
alignment: string;
|
|
96
|
+
};
|
|
97
|
+
columnheader: {
|
|
98
|
+
margin: number[];
|
|
99
|
+
};
|
|
100
|
+
tableExample: {
|
|
101
|
+
margin: number[];
|
|
102
|
+
fontSize: number;
|
|
103
|
+
};
|
|
104
|
+
tableExamplemargin: {
|
|
105
|
+
margin: number[];
|
|
106
|
+
fontSize: number;
|
|
107
|
+
};
|
|
108
|
+
textcust: {
|
|
109
|
+
fontSize: number;
|
|
110
|
+
margin: number[];
|
|
111
|
+
};
|
|
112
|
+
column: {
|
|
113
|
+
margin: number[];
|
|
114
|
+
};
|
|
115
|
+
tableheader: {
|
|
116
|
+
bold: boolean;
|
|
117
|
+
fontSize: number;
|
|
118
|
+
margin: number[];
|
|
119
|
+
alignment: string;
|
|
120
|
+
};
|
|
121
|
+
tableheader2: {
|
|
122
|
+
fontSize: number;
|
|
123
|
+
margin: number[];
|
|
124
|
+
alignment: string;
|
|
125
|
+
opacity: number;
|
|
126
|
+
};
|
|
127
|
+
hed: {
|
|
128
|
+
fontSize: number;
|
|
129
|
+
bold: boolean;
|
|
130
|
+
};
|
|
131
|
+
hed2: {
|
|
132
|
+
fontSize: number;
|
|
133
|
+
};
|
|
134
|
+
TotalsStyles: {
|
|
135
|
+
marginTop: number;
|
|
136
|
+
lineHeight: number;
|
|
137
|
+
fontSize: number;
|
|
138
|
+
margin: number[];
|
|
139
|
+
};
|
|
140
|
+
colum1: {
|
|
141
|
+
fontSize: number;
|
|
142
|
+
lineHeight: number;
|
|
143
|
+
};
|
|
144
|
+
colum2: {
|
|
145
|
+
fontSize: number;
|
|
146
|
+
lineHeight: number;
|
|
147
|
+
margin: number[];
|
|
148
|
+
};
|
|
149
|
+
colum3: {
|
|
150
|
+
lineHeight: number;
|
|
151
|
+
};
|
|
152
|
+
Receiptheader1: {
|
|
153
|
+
fontSize: number;
|
|
154
|
+
bold: boolean;
|
|
155
|
+
alignment: string;
|
|
156
|
+
margin: number[];
|
|
157
|
+
};
|
|
158
|
+
Row1: {
|
|
159
|
+
fontSize: number;
|
|
160
|
+
margin: number[];
|
|
161
|
+
};
|
|
162
|
+
rowdata: {
|
|
163
|
+
margin: number[];
|
|
164
|
+
fontSize: number;
|
|
165
|
+
};
|
|
166
|
+
forCompany: {
|
|
167
|
+
margin: number[];
|
|
168
|
+
fontSize: string;
|
|
169
|
+
};
|
|
170
|
+
forCompany1: {
|
|
171
|
+
margin: number[];
|
|
172
|
+
fontSize: string;
|
|
173
|
+
};
|
|
174
|
+
Rupees: {
|
|
175
|
+
margin: number[];
|
|
176
|
+
fontSize: string;
|
|
177
|
+
};
|
|
178
|
+
Signature: {
|
|
179
|
+
margin: number[];
|
|
180
|
+
alignment: string;
|
|
181
|
+
fontSize: string;
|
|
182
|
+
};
|
|
183
|
+
withApp: {
|
|
184
|
+
alignment: string;
|
|
185
|
+
lineHeight: number;
|
|
186
|
+
};
|
|
187
|
+
withOutApp: {
|
|
188
|
+
alignment: string;
|
|
189
|
+
lineHeight: number;
|
|
190
|
+
};
|
|
191
|
+
Sign: {
|
|
192
|
+
fontSize: number;
|
|
193
|
+
margin: number[];
|
|
194
|
+
};
|
|
195
|
+
Sign1: {
|
|
196
|
+
fontSize: number;
|
|
197
|
+
margin: number[];
|
|
198
|
+
};
|
|
199
|
+
'margin-all': {
|
|
200
|
+
margin: number[];
|
|
201
|
+
};
|
|
202
|
+
'margin-top': {
|
|
203
|
+
margin: number[];
|
|
204
|
+
};
|
|
205
|
+
'margin-bottom': {
|
|
206
|
+
margin: number[];
|
|
207
|
+
};
|
|
208
|
+
fontSize: {
|
|
209
|
+
fontSize: number;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
static GetFileName(ROPrintData: any): string;
|
|
214
|
+
static CommonHeaderDetails(ROPrintData: any, text: any): any[];
|
|
215
|
+
static GetMainHeaderDetails(Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any): ({
|
|
216
|
+
columns: any;
|
|
217
|
+
} | {
|
|
218
|
+
canvas: {
|
|
219
|
+
type: string;
|
|
220
|
+
lineColor: string;
|
|
221
|
+
x1: number;
|
|
222
|
+
y1: number;
|
|
223
|
+
x2: number;
|
|
224
|
+
y2: number;
|
|
225
|
+
lineWidth: number;
|
|
226
|
+
}[];
|
|
227
|
+
})[];
|
|
228
|
+
static PreparesparePartsTable(ROPrintData: any): any;
|
|
229
|
+
static GetLaborPartsTableForView(Parts: any, PrintPartNo: any): any;
|
|
230
|
+
static WithOutDiscountFieldTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
|
|
231
|
+
static BuildTableBodyForLaborAndParts(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
|
|
232
|
+
static GetWithOutDiscAndTaxFieldHeader(Parts: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): any;
|
|
233
|
+
static TaxDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
|
|
234
|
+
style: string;
|
|
235
|
+
table: {
|
|
236
|
+
widths: (string | number)[];
|
|
237
|
+
body: any;
|
|
238
|
+
};
|
|
239
|
+
layout: {
|
|
240
|
+
hLineWidth: (i: any, node: any) => number;
|
|
241
|
+
vLineWidth: (i: any, node: any) => number;
|
|
242
|
+
hLineColor: (i: any, node: any) => string;
|
|
243
|
+
vLineColor: (i: any, node: any) => string;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
static ConsolidateDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
|
|
247
|
+
style: string;
|
|
248
|
+
table: {
|
|
249
|
+
widths: number[];
|
|
250
|
+
body: any;
|
|
251
|
+
};
|
|
252
|
+
layout: {
|
|
253
|
+
hLineWidth: (i: any, node: any) => number;
|
|
254
|
+
vLineWidth: (i: any, node: any) => number;
|
|
255
|
+
hLineColor: (i: any, node: any) => string;
|
|
256
|
+
vLineColor: (i: any, node: any) => string;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
static NoTaxDataTable(Parts: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any): {
|
|
260
|
+
style: string;
|
|
261
|
+
table: {
|
|
262
|
+
widths: number[];
|
|
263
|
+
body: any;
|
|
264
|
+
};
|
|
265
|
+
layout: {
|
|
266
|
+
hLineWidth: (i: any, node: any) => number;
|
|
267
|
+
vLineWidth: (i: any, node: any) => number;
|
|
268
|
+
hLineColor: (i: any, node: any) => string;
|
|
269
|
+
vLineColor: (i: any, node: any) => string;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
static buildTableForCustomerLabor(Parts: any, PrintPartNo: any, customerorInsurance: any): any;
|
|
273
|
+
static getSummaryHeaders(permission: boolean): any;
|
|
274
|
+
static CommonTotalDetails(ROPrintData: any, index: any, numberofCopies: any, moreDiscDetails: boolean): any[];
|
|
275
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SalesPdfService = void 0;
|
|
4
|
-
const shared_pdf_service_1 = require("
|
|
5
|
-
const shared_print_service_1 = require("
|
|
4
|
+
const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
|
|
5
|
+
const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
|
|
6
|
+
const tr_utils_1 = require("../../utils/tr-utils");
|
|
6
7
|
const equipment_design_pdf_service_1 = require("./equipment-design-pdf.service");
|
|
7
|
-
const tr_utils_1 = require("../utils/tr-utils");
|
|
8
8
|
class SalesPdfService {
|
|
9
9
|
static GetSalesPrint(ROPrintData, numberofCopies, isOtherIndustry, Entity, Sites, Items, Image, moreDiscDetails) {
|
|
10
10
|
console.log('ROPrintData', ROPrintData);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class SalesPrintService {
|
|
2
|
+
static GetSalesPrintInfo(OriginalInvoiceData: any, OriginalEntityData: any, image: any, IncludeGST: boolean, ConsolidateGST: boolean, TaxCodes: any, IsProforma: boolean, isOtherIndustry: boolean): any;
|
|
3
|
+
static GetPrintConditionsBasedOnInput(InvoicePrintData: any, IncludeGST: boolean, ConsolidateGST: boolean, ForInsurance: boolean, SType: any, OriginalInvoiceData: any, IsProforma: boolean): any;
|
|
4
|
+
static GetInvoiceTypeHeading(InvoicePrintData: any, OriginalInvoiceData: any, IncludeGST: boolean, ConsolidateGST: boolean, IsProforma: boolean): any;
|
|
5
|
+
static GetInvoiceOtherDetailsForPrint(InvoicePrintData: any, OriginalInvoiceData: any): any;
|
|
6
|
+
static GetItemsPrintInfo(Items: any, Consolidate: boolean, TaxCodes: any, isOtherIndustry: boolean, LineTotal: string): any;
|
|
7
|
+
static ReverseItemsForInvoicePrint(argInvoiceData: any): any;
|
|
8
|
+
static PrepareFormatForInvoicePrint(InvoicePrintData: any, ROType: any, InvoiceStatus: any): any[];
|
|
9
|
+
static GetFormattedProductDataForPrint(OriginalInvoiceData: any, InvoicePrintData: any): any;
|
|
10
|
+
static GetShipToForSOPrint(OriginalInvoiceData: any, InvoicePrintData: any): any;
|
|
11
|
+
static GetBillNameForInvoicePrint(OriginalInvoiceData: any, InvoicePrintData: any): any;
|
|
12
|
+
static GetCustomerDetails(OriginalInvoiceData: any): any;
|
|
13
|
+
static GetBillToName(Title: any, Name: string): string;
|
|
14
|
+
static GetPaymentsTotal(InvoicePayments: any, Total: number, InvoiceStatus: string): any;
|
|
15
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SalesPrintService = void 0;
|
|
4
|
-
const
|
|
4
|
+
const tr_utils_1 = require("../../utils/tr-utils");
|
|
5
|
+
const code_enums_1 = require("../../enums/code-enums");
|
|
6
|
+
const my_date_1 = require("../../utils/my-date");
|
|
7
|
+
const enums_1 = require("../../enums/enums");
|
|
8
|
+
const aggregation_1 = require("../../aggregation/aggregation");
|
|
9
|
+
const shared_print_service_1 = require("../../shared/shared-services/shared-print.service");
|
|
5
10
|
const sales_totals_service_1 = require("./sales-totals.service");
|
|
6
|
-
const tr_utils_1 = require("../utils/tr-utils");
|
|
7
|
-
const code_enums_1 = require("../enums/code-enums");
|
|
8
|
-
const my_date_1 = require("../utils/my-date");
|
|
9
|
-
const enums_1 = require("../enums/enums");
|
|
10
|
-
const aggregation_1 = require("../aggregation/aggregation");
|
|
11
11
|
class SalesPrintService {
|
|
12
12
|
static GetSalesPrintInfo(OriginalInvoiceData, OriginalEntityData, image, IncludeGST, ConsolidateGST, TaxCodes, IsProforma, isOtherIndustry) {
|
|
13
13
|
var _a, _b;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare class SalesTotalsService {
|
|
2
|
+
static GetTotalsValue(ItemsList: any, IsIndependentTax: boolean, DetailedInfo: boolean, PDisc: any, PPerc: string, Disc: any, Perc: string, TaxCodes: any, WithItems: boolean, Settings: any, isRoundable: boolean): any;
|
|
3
|
+
static CalculateLaborItemValues(ItemsList: any, IsIndependentTax: boolean): any;
|
|
4
|
+
static ResetLaborItemValues(ItemsList: any, IsIndependentTax: boolean): any;
|
|
5
|
+
static ResetLaborItemValueIfInvalid(Item: any): any;
|
|
6
|
+
static GetFinalRODataForSave(ItemsList: any, IsIndependentTax: boolean, PDisc: string, PPerc: string, Disc: any, Perc: string, DetailedInfo: boolean, Settings: any, isRoundable: boolean): any;
|
|
7
|
+
static SetMainDiscountValues(PPerc: string, PDisc: any, Disc: any, Perc: string, finalTotalsData: any, DetailedInfo: boolean): any;
|
|
8
|
+
static GetFinalCustomerTotalsData(finalTotalsData: any, ItemsList: any, IsIndependentTax: boolean, DetailedInfo: boolean, isRoundable: boolean): any;
|
|
9
|
+
static GetSubTotalFor(ItemsList: any): any;
|
|
10
|
+
static GetItemsTotalAfterDiscount(ItemsList: any): any;
|
|
11
|
+
static GetDetailedTotalsData(finalTotalsData: any, IsIndependentTax: boolean, ItemsList: any, TaxCodes: any): any;
|
|
12
|
+
static GetLaborDiscountedTotal(LaborList: any): any;
|
|
13
|
+
static GetItemDiscountedTotal(ItemsList: any): any;
|
|
14
|
+
static GetItemsTaxTotalFor(ItemsList: any, IsIndependentTax: boolean): any;
|
|
15
|
+
static GetCustomerTotalBasedOnTaxType(ItemsTaxAmount: number, ItemsList: any, IsIndependentTax: boolean): any;
|
|
16
|
+
static LaborTotalAfterDiscount(LaborTotalAfterDisc: number, LaborTaxAmount: number, MainLDisc: number, LDiscInPerc: string): number;
|
|
17
|
+
static ItemsTotalAfterDiscount(ItemsTotalAfterDisc: number, ItemsTaxAmount: number, MainPDisc: number, PDiscInPerc: string): number;
|
|
18
|
+
static GetLaborCGSTTaxTotal(opCodesList: any, IsIndependentTax: boolean): any;
|
|
19
|
+
static GetLaborIGSTTaxTotal(opCodesList: any, IsIndependentTax: boolean): any;
|
|
20
|
+
static GetLaborSGSTTaxTotal(opCodesList: any, IsIndependentTax: boolean): any;
|
|
21
|
+
static GetItemGSTTaxTotal(ItemsList: any, IsIndependentTax: boolean): number[];
|
|
22
|
+
static GetTaxGroupingForItemsByHSN(Items: any, TaxCodes: any): any[];
|
|
23
|
+
static GetCombinedTaxPercentage(Items: any, TaxCodes: any): any;
|
|
24
|
+
static CompareItemsByHSN(Items: any, TaxCodes: any): any[];
|
|
25
|
+
static GetTaxGroupingInfoByHSN(FinalMatchedItems: any, TaxCodes: any): any[];
|
|
26
|
+
static GetGSTValueBasedOnTaxCode(TCode: any, TaxCodes: any): any[];
|
|
27
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SalesTotalsService = void 0;
|
|
4
|
-
const aggregation_1 = require("
|
|
5
|
-
const tr_utils_1 = require("
|
|
4
|
+
const aggregation_1 = require("../../aggregation/aggregation");
|
|
5
|
+
const tr_utils_1 = require("../../utils/tr-utils");
|
|
6
6
|
class SalesTotalsService {
|
|
7
7
|
static GetTotalsValue(ItemsList, IsIndependentTax, DetailedInfo, PDisc, PPerc, Disc, Perc, TaxCodes, WithItems, Settings, isRoundable) {
|
|
8
8
|
// LPerc = TrUtils.SetPercToStringIfNull(LPerc);
|