shareneus 1.7.316 → 1.7.318
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/package.json +1 -1
- package/src/accounting/invoice/inv-print.service.ts +1 -1
- package/src/shared/party-details-section/pdf-party-details.section.ts +8 -7
- package/src/shared/table-section/pdf-table.header.ts +84 -84
- package/dist/accounting/counter-sales/auto-sales-receipt-pdf.service.d.ts +0 -290
- package/dist/accounting/counter-sales/auto-sales-receipt-pdf.service.js +0 -539
- package/dist/accounting/counter-sales/pos-receipt-pdf.d.ts +0 -163
- package/dist/accounting/counter-sales/pos-receipt-pdf.js +0 -538
- package/dist/accounting/counter-sales/sales-receipt-pdf.service.d.ts +0 -272
- package/dist/accounting/counter-sales/sales-receipt-pdf.service.js +0 -612
- package/dist/accounting/counter-sales/sales-receipt-print.service.d.ts +0 -21
- package/dist/accounting/counter-sales/sales-receipt-print.service.js +0 -462
- package/dist/accounting/credit-note/cn-print.service.d.ts +0 -16
- package/dist/accounting/credit-note/cn-print.service.js +0 -215
- package/dist/accounting/credit-note/credit-note-pdf.service.d.ts +0 -272
- package/dist/accounting/credit-note/credit-note-pdf.service.js +0 -578
- package/dist/accounting/credit-note/credit-note-totals.service.d.ts +0 -27
- package/dist/accounting/credit-note/credit-note-totals.service.js +0 -376
- package/dist/accounting/debit-note/debit-note-pdf.service.d.ts +0 -331
- package/dist/accounting/debit-note/debit-note-pdf.service.js +0 -673
- package/dist/accounting/debit-note/debit-note-print.service.d.ts +0 -14
- package/dist/accounting/debit-note/debit-note-print.service.js +0 -235
- package/dist/accounting/debit-note/debit-note-totals.service.d.ts +0 -22
- package/dist/accounting/debit-note/debit-note-totals.service.js +0 -294
- package/dist/accounting/invoice/hc-inv-pdf.service.d.ts +0 -355
- package/dist/accounting/invoice/hc-inv-pdf.service.js +0 -860
- package/dist/accounting/invoice/inv-pdf.service.d.ts +0 -314
- package/dist/accounting/invoice/inv-pdf.service.js +0 -786
- package/dist/accounting/invoice/inv-print.service.d.ts +0 -17
- package/dist/accounting/invoice/inv-print.service.js +0 -510
- package/dist/accounting/invoice/invoice-landscape-pdf.service.d.ts +0 -417
- package/dist/accounting/invoice/invoice-landscape-pdf.service.js +0 -928
- package/dist/accounting/invoice/invoice-letterhead-pdf.service.d.ts +0 -323
- package/dist/accounting/invoice/invoice-letterhead-pdf.service.js +0 -786
- package/dist/accounting/invoice/invoice-pdf/invoice-pdf.service.d.ts +0 -120
- package/dist/accounting/invoice/invoice-pdf/invoice-pdf.service.js +0 -317
- package/dist/accounting/invoice/invoice-portrait-pdf.d.ts +0 -304
- package/dist/accounting/invoice/invoice-portrait-pdf.js +0 -914
- package/dist/accounting/invoice/invoice-print.service.d.ts +0 -597
- package/dist/accounting/invoice/invoice-print.service.js +0 -2824
- package/dist/accounting/invoice/invoice-total.service.d.ts +0 -48
- package/dist/accounting/invoice/invoice-total.service.js +0 -712
- package/dist/accounting/invoice/reports/excel/analysis-excel.service.d.ts +0 -23
- package/dist/accounting/invoice/reports/excel/analysis-excel.service.js +0 -308
- package/dist/accounting/invoice/reports/excel/category-wise-item-excel.service.d.ts +0 -23
- package/dist/accounting/invoice/reports/excel/category-wise-item-excel.service.js +0 -284
- package/dist/accounting/invoice/reports/excel/cust-wise-sales-details.d.ts +0 -25
- package/dist/accounting/invoice/reports/excel/cust-wise-sales-details.js +0 -330
- package/dist/accounting/invoice/reports/excel/cust-wise-sales-summary-excel.service.d.ts +0 -24
- package/dist/accounting/invoice/reports/excel/cust-wise-sales-summary-excel.service.js +0 -312
- package/dist/accounting/invoice/reports/excel/invoice-wise-excel.service.d.ts +0 -26
- package/dist/accounting/invoice/reports/excel/invoice-wise-excel.service.js +0 -867
- package/dist/accounting/invoice/reports/excel/item-wise-doctor-sale-excel.service.d.ts +0 -24
- package/dist/accounting/invoice/reports/excel/item-wise-doctor-sale-excel.service.js +0 -268
- package/dist/accounting/invoice/reports/excel/items-wise-sales-excel.service.d.ts +0 -24
- package/dist/accounting/invoice/reports/excel/items-wise-sales-excel.service.js +0 -325
- package/dist/accounting/invoice/reports/excel/manf-wise-sales-excel.service.d.ts +0 -24
- package/dist/accounting/invoice/reports/excel/manf-wise-sales-excel.service.js +0 -286
- package/dist/accounting/invoice/reports/excel/operator-wise-details.d.ts +0 -23
- package/dist/accounting/invoice/reports/excel/operator-wise-details.js +0 -275
- package/dist/accounting/invoice/reports/excel/operator-wise-summary.d.ts +0 -23
- package/dist/accounting/invoice/reports/excel/operator-wise-summary.js +0 -276
- package/dist/accounting/invoice/reports/excel/sa-wise-labor-sales-excel.service.d.ts +0 -23
- package/dist/accounting/invoice/reports/excel/sa-wise-labor-sales-excel.service.js +0 -243
- package/dist/accounting/invoice/reports/excel/sa-wise-part-sales-excel.service.d.ts +0 -23
- package/dist/accounting/invoice/reports/excel/sa-wise-part-sales-excel.service.js +0 -243
- package/dist/accounting/invoice/reports/excel/sale-summary-excel.service.d.ts +0 -25
- package/dist/accounting/invoice/reports/excel/sale-summary-excel.service.js +0 -337
- package/dist/accounting/invoice/reports/excel/sales-by-service-details-excel.service.d.ts +0 -0
- package/dist/accounting/invoice/reports/excel/sales-by-service-details-excel.service.js +0 -1
- package/dist/accounting/invoice/reports/excel/sales-by-service-summary-excel.service.d.ts +0 -24
- package/dist/accounting/invoice/reports/excel/sales-by-service-summary-excel.service.js +0 -433
- package/dist/accounting/invoice/reports/excel/scheduled-drug-summary-excel.service.d.ts +0 -24
- package/dist/accounting/invoice/reports/excel/scheduled-drug-summary-excel.service.js +0 -377
- package/dist/accounting/invoice/reports/excel/scheduled-drugs-excel.service.d.ts +0 -24
- package/dist/accounting/invoice/reports/excel/scheduled-drugs-excel.service.js +0 -376
- package/dist/accounting/invoice/reports/pdf/analysis-pdf.service.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/analysis-pdf.service.js +0 -107
- package/dist/accounting/invoice/reports/pdf/category-wise-item-pdf.service.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/category-wise-item-pdf.service.js +0 -97
- package/dist/accounting/invoice/reports/pdf/cust-wise-sales-details-pdf.service.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/cust-wise-sales-details-pdf.service.js +0 -117
- package/dist/accounting/invoice/reports/pdf/cust-wise-sales-summary-pdf.service.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/cust-wise-sales-summary-pdf.service.js +0 -109
- package/dist/accounting/invoice/reports/pdf/item-wise-doctor-sale-pdf.service.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/item-wise-doctor-sale-pdf.service.js +0 -162
- package/dist/accounting/invoice/reports/pdf/item-wise-sales-pdf.service.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/item-wise-sales-pdf.service.js +0 -176
- package/dist/accounting/invoice/reports/pdf/manf-wise-sales-pdf.service.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/manf-wise-sales-pdf.service.js +0 -172
- package/dist/accounting/invoice/reports/pdf/operator-wise-details-pdf.service.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/operator-wise-details-pdf.service.js +0 -101
- package/dist/accounting/invoice/reports/pdf/operator-wise-summary-pdf.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/operator-wise-summary-pdf.js +0 -99
- package/dist/accounting/invoice/reports/pdf/sales-by-service-pdf.service.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/sales-by-service-pdf.service.js +0 -115
- package/dist/accounting/invoice/reports/pdf/scheduled-drug-pdf.service.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/scheduled-drug-pdf.service.js +0 -174
- package/dist/accounting/invoice/reports/pdf/scheduled-drug-summary-pdf.service.d.ts +0 -228
- package/dist/accounting/invoice/reports/pdf/scheduled-drug-summary-pdf.service.js +0 -187
- package/dist/accounting/invoice/shared-inv-pdf.service.d.ts +0 -303
- package/dist/accounting/invoice/shared-inv-pdf.service.js +0 -763
- package/dist/accounting/invoice/unified-invoice-pdf.service.d.ts +0 -342
- package/dist/accounting/invoice/unified-invoice-pdf.service.js +0 -898
- package/dist/accounting/payment-receive/payment-pdf.service.d.ts +0 -618
- package/dist/accounting/payment-receive/payment-pdf.service.js +0 -386
- package/dist/accounting/payment-receive/payment-receipt-pdf/receipt-pdf.service.d.ts +0 -1048
- package/dist/accounting/payment-receive/payment-receipt-pdf/receipt-pdf.service.js +0 -423
- package/dist/accounting/payment-receive/receipt-print.service.d.ts +0 -4
- package/dist/accounting/payment-receive/receipt-print.service.js +0 -73
- package/dist/accounting/payment-receive/reports/excel/cust-balance-excel.service.d.ts +0 -26
- package/dist/accounting/payment-receive/reports/excel/cust-balance-excel.service.js +0 -297
- package/dist/accounting/payment-receive/reports/excel/payment-receive-excel.service.d.ts +0 -25
- package/dist/accounting/payment-receive/reports/excel/payment-receive-excel.service.js +0 -235
- package/dist/accounting/payment-receive/reports/pdf/customer-balances-pdf.service.d.ts +0 -228
- package/dist/accounting/payment-receive/reports/pdf/customer-balances-pdf.service.js +0 -169
- package/dist/accounting/payment-receive/reports/pdf/payment-report-pdf.service.d.ts +0 -228
- package/dist/accounting/payment-receive/reports/pdf/payment-report-pdf.service.js +0 -104
- package/dist/aggregation/aggregation.d.ts +0 -4
- package/dist/aggregation/aggregation.js +0 -60
- package/dist/appointments/appointments/appointment-total.service.d.ts +0 -25
- package/dist/appointments/appointments/appointment-total.service.js +0 -252
- package/dist/appointments/consultations/consultation-fee-receipt.service.d.ts +0 -318
- package/dist/appointments/consultations/consultation-fee-receipt.service.js +0 -378
- package/dist/appointments/consultations/consultation-full-pdf.service.d.ts +0 -207
- package/dist/appointments/consultations/consultation-full-pdf.service.js +0 -220
- package/dist/appointments/consultations/consultation-letterhead-pdf.service.d.ts +0 -265
- package/dist/appointments/consultations/consultation-letterhead-pdf.service.js +0 -412
- package/dist/appointments/consultations/consultation-pdf.service.d.ts +0 -305
- package/dist/appointments/consultations/consultation-pdf.service.js +0 -403
- package/dist/common/reports/excel/product-without-owner-excel.service.d.ts +0 -24
- package/dist/common/reports/excel/product-without-owner-excel.service.js +0 -289
- package/dist/common/reports/pdf/product-without-owner-pdf.service.d.ts +0 -230
- package/dist/common/reports/pdf/product-without-owner-pdf.service.js +0 -121
- package/dist/enums/cache-enums.d.ts +0 -33
- package/dist/enums/cache-enums.js +0 -37
- package/dist/enums/code-enums.d.ts +0 -266
- package/dist/enums/code-enums.js +0 -288
- package/dist/enums/country-enums.d.ts +0 -9
- package/dist/enums/country-enums.js +0 -13
- package/dist/enums/enums.d.ts +0 -329
- package/dist/enums/enums.js +0 -362
- package/dist/enums/industry-enums.d.ts +0 -16
- package/dist/enums/industry-enums.js +0 -24
- package/dist/enums/treatment-enums.d.ts +0 -9
- package/dist/enums/treatment-enums.js +0 -13
- package/dist/gst/excel/GSTR-RO-excel.service.d.ts +0 -27
- package/dist/gst/excel/GSTR-RO-excel.service.js +0 -945
- package/dist/gst/excel/GSTR1-excel.service.d.ts +0 -16
- package/dist/gst/excel/GSTR1-excel.service.js +0 -305
- package/dist/gst/excel/GSTR2-excel.service.d.ts +0 -16
- package/dist/gst/excel/GSTR2-excel.service.js +0 -305
- package/dist/gst/excel/hsn-summary.d.ts +0 -15
- package/dist/gst/excel/hsn-summary.js +0 -297
- package/dist/gst/excel/tally-sales-import.service.d.ts +0 -27
- package/dist/gst/excel/tally-sales-import.service.js +0 -775
- package/dist/gst/pdf/hsn-summary-pdf.d.ts +0 -228
- package/dist/gst/pdf/hsn-summary-pdf.js +0 -157
- package/dist/index.d.ts +0 -146
- package/dist/index.js +0 -317
- package/dist/inventory/items/adjustment-pdf.service.d.ts +0 -48
- package/dist/inventory/items/adjustment-pdf.service.js +0 -162
- package/dist/inventory/items/issue-parts-pdf.service.d.ts +0 -303
- package/dist/inventory/items/issue-parts-pdf.service.js +0 -771
- package/dist/inventory/items/item-bar-code-label-pdf.d.ts +0 -127
- package/dist/inventory/items/item-bar-code-label-pdf.js +0 -182
- package/dist/inventory/items/item-detais-pdf.d.ts +0 -121
- package/dist/inventory/items/item-detais-pdf.js +0 -136
- package/dist/inventory/items/item-price-for-pricelist.d.ts +0 -14
- package/dist/inventory/items/item-price-for-pricelist.js +0 -314
- package/dist/inventory/items/reports/excel/expiring-drugs-excel.service.d.ts +0 -24
- package/dist/inventory/items/reports/excel/expiring-drugs-excel.service.js +0 -303
- package/dist/inventory/items/reports/excel/item-wise-mout-details.d.ts +0 -23
- package/dist/inventory/items/reports/excel/item-wise-mout-details.js +0 -302
- package/dist/inventory/items/reports/excel/item-wise-mout-summary.d.ts +0 -23
- package/dist/inventory/items/reports/excel/item-wise-mout-summary.js +0 -296
- package/dist/inventory/items/reports/excel/spares-issue-excel.service.d.ts +0 -26
- package/dist/inventory/items/reports/excel/spares-issue-excel.service.js +0 -502
- package/dist/inventory/items/reports/excel/stock-excel.service.d.ts +0 -23
- package/dist/inventory/items/reports/excel/stock-excel.service.js +0 -293
- package/dist/inventory/items/reports/pdf/expiring-drugs-pdf.service.d.ts +0 -49
- package/dist/inventory/items/reports/pdf/expiring-drugs-pdf.service.js +0 -157
- package/dist/inventory/items/reports/pdf/item-wise-mout-details-pdf.d.ts +0 -229
- package/dist/inventory/items/reports/pdf/item-wise-mout-details-pdf.js +0 -105
- package/dist/inventory/items/reports/pdf/item-wise-mout-summary-pdf.d.ts +0 -228
- package/dist/inventory/items/reports/pdf/item-wise-mout-summary-pdf.js +0 -97
- package/dist/inventory/items/reports/pdf/reorder-point-pdf.service.d.ts +0 -48
- package/dist/inventory/items/reports/pdf/reorder-point-pdf.service.js +0 -151
- package/dist/inventory/material-out/mout-pdf.service.d.ts +0 -324
- package/dist/inventory/material-out/mout-pdf.service.js +0 -503
- package/dist/inventory/transfer-order/transfer-order-pdf.service.d.ts +0 -48
- package/dist/inventory/transfer-order/transfer-order-pdf.service.js +0 -138
- package/dist/purchases/bills/bill-pdf/bill-pdf.service.d.ts +0 -120
- package/dist/purchases/bills/bill-pdf/bill-pdf.service.js +0 -162
- package/dist/purchases/bills/bill-pdf.service.d.ts +0 -1
- package/dist/purchases/bills/bill-pdf.service.js +0 -17
- package/dist/purchases/payment-made/reports/excel/payments-made-excel.service.d.ts +0 -25
- package/dist/purchases/payment-made/reports/excel/payments-made-excel.service.js +0 -312
- package/dist/purchases/payment-made/reports/excel/ven-balance-excel.service.d.ts +0 -27
- package/dist/purchases/payment-made/reports/excel/ven-balance-excel.service.js +0 -303
- package/dist/purchases/payment-made/reports/pdf/vendor-balances-pdf.service.d.ts +0 -227
- package/dist/purchases/payment-made/reports/pdf/vendor-balances-pdf.service.js +0 -101
- package/dist/purchases/purchase-order/po-totals.service.d.ts +0 -24
- package/dist/purchases/purchase-order/po-totals.service.js +0 -278
- package/dist/purchases/purchase-order/purchase-order-pdf.service.d.ts +0 -526
- package/dist/purchases/purchase-order/purchase-order-pdf.service.js +0 -975
- package/dist/purchases/purchase-order/purchase-order-print.service.d.ts +0 -12
- package/dist/purchases/purchase-order/purchase-order-print.service.js +0 -238
- package/dist/purchases/purchase-order/purchase-order-totals.service.d.ts +0 -32
- package/dist/purchases/purchase-order/purchase-order-totals.service.js +0 -541
- package/dist/purchases/vendor-credit-note/vendor-credit-note-pdf.service.d.ts +0 -491
- package/dist/purchases/vendor-credit-note/vendor-credit-note-pdf.service.js +0 -1013
- package/dist/purchases/vendor-credit-note/vendor-credit-note-print.service.d.ts +0 -6
- package/dist/purchases/vendor-credit-note/vendor-credit-note-print.service.js +0 -105
- package/dist/purchases/vendor-credit-note/vendor-credit-note-totals.service.d.ts +0 -24
- package/dist/purchases/vendor-credit-note/vendor-credit-note-totals.service.js +0 -326
- package/dist/purchases/vendor-debit-note/vendor-debit-note-pdf.service.d.ts +0 -271
- package/dist/purchases/vendor-debit-note/vendor-debit-note-pdf.service.js +0 -561
- package/dist/purchases/vendor-debit-note/vendor-debit-note-print.service.d.ts +0 -13
- package/dist/purchases/vendor-debit-note/vendor-debit-note-print.service.js +0 -224
- package/dist/purchases/vendor-debit-note/vendor-debit-note-totals.service.d.ts +0 -22
- package/dist/purchases/vendor-debit-note/vendor-debit-note-totals.service.js +0 -308
- package/dist/sales/delivery-challan/dc-landscape-pdf.service.d.ts +0 -416
- package/dist/sales/delivery-challan/dc-landscape-pdf.service.js +0 -904
- package/dist/sales/delivery-challan/dc-landscape-without-price-pdf.service.d.ts +0 -400
- package/dist/sales/delivery-challan/dc-landscape-without-price-pdf.service.js +0 -853
- package/dist/sales/delivery-challan/dc-without-price-pdf.service.d.ts +0 -271
- package/dist/sales/delivery-challan/dc-without-price-pdf.service.js +0 -489
- package/dist/sales/delivery-challan/delivery-challan-pdf.service.d.ts +0 -269
- package/dist/sales/delivery-challan/delivery-challan-pdf.service.js +0 -434
- package/dist/sales/delivery-challan/delivery-challan-print.service.d.ts +0 -14
- package/dist/sales/delivery-challan/delivery-challan-print.service.js +0 -183
- package/dist/sales/delivery-challan/delivery-challan-totals.d.ts +0 -32
- package/dist/sales/delivery-challan/delivery-challan-totals.js +0 -412
- package/dist/sales/sales/equipment-design-pdf.service.d.ts +0 -121
- package/dist/sales/sales/equipment-design-pdf.service.js +0 -144
- package/dist/sales/sales/pack-ship-pdf.service.d.ts +0 -262
- package/dist/sales/sales/pack-ship-pdf.service.js +0 -105
- package/dist/sales/sales/pack-ship-print.service.d.ts +0 -11
- package/dist/sales/sales/pack-ship-print.service.js +0 -167
- package/dist/sales/sales/sales-pdf.service.d.ts +0 -275
- package/dist/sales/sales/sales-pdf.service.js +0 -629
- package/dist/sales/sales/sales-print.service.d.ts +0 -18
- package/dist/sales/sales/sales-print.service.js +0 -333
- package/dist/sales/sales/sales-totals.service.d.ts +0 -32
- package/dist/sales/sales/sales-totals.service.js +0 -412
- package/dist/sales-receive/sales-receive-pdf.service.d.ts +0 -272
- package/dist/sales-receive/sales-receive-pdf.service.js +0 -578
- package/dist/sales-receive/sales-receive-print.service.d.ts +0 -13
- package/dist/sales-receive/sales-receive-print.service.js +0 -200
- package/dist/sales-receive/sales-receive-totals.service.d.ts +0 -212
- package/dist/sales-receive/sales-receive-totals.service.js +0 -573
- package/dist/services/checklist-pdf.d.ts +0 -57
- package/dist/services/checklist-pdf.js +0 -140
- package/dist/services/checklists-pdf.d.ts +0 -12
- package/dist/services/checklists-pdf.js +0 -124
- package/dist/services/est.print-service.d.ts +0 -65
- package/dist/services/est.print-service.js +0 -1063
- package/dist/services/reports/excel/insurance-expire-excel.service.d.ts +0 -23
- package/dist/services/reports/excel/insurance-expire-excel.service.js +0 -311
- package/dist/services/reports/excel/next-service-date-excel.service.d.ts +0 -26
- package/dist/services/reports/excel/next-service-date-excel.service.js +0 -326
- package/dist/services/reports/excel/repair-orders-excel.service.d.ts +0 -24
- package/dist/services/reports/excel/repair-orders-excel.service.js +0 -265
- package/dist/services/reports/pdf/insurance-expire-pdf.service.d.ts +0 -227
- package/dist/services/reports/pdf/insurance-expire-pdf.service.js +0 -99
- package/dist/services/reports/pdf/next-service-date-pdf.service.d.ts +0 -229
- package/dist/services/reports/pdf/next-service-date-pdf.service.js +0 -180
- package/dist/services/reports/pdf/repair-orders-pdf.service.d.ts +0 -229
- package/dist/services/reports/pdf/repair-orders-pdf.service.js +0 -171
- package/dist/services/ro-pdf.service.d.ts +0 -1059
- package/dist/services/ro-pdf.service.js +0 -1830
- package/dist/services/ro-print-service.d.ts +0 -49
- package/dist/services/ro-print-service.js +0 -799
- package/dist/services/ro-totals.service.d.ts +0 -66
- package/dist/services/ro-totals.service.js +0 -1288
- package/dist/services/separate-wo-print.service.d.ts +0 -494
- package/dist/services/separate-wo-print.service.js +0 -351
- package/dist/services/service-history-pdf.service.d.ts +0 -37
- package/dist/services/service-history-pdf.service.js +0 -131
- package/dist/services/service-price-for-pricelist.d.ts +0 -30
- package/dist/services/service-price-for-pricelist.js +0 -525
- package/dist/services/technician-pdf.service.d.ts +0 -221
- package/dist/services/technician-pdf.service.js +0 -238
- package/dist/services/technician-print.service.d.ts +0 -5
- package/dist/services/technician-print.service.js +0 -87
- package/dist/shared/header-footer-section/pdf-header-footer.section.d.ts +0 -149
- package/dist/shared/header-footer-section/pdf-header-footer.section.js +0 -462
- package/dist/shared/header-footer-section/pdf-shared.utils.d.ts +0 -5
- package/dist/shared/header-footer-section/pdf-shared.utils.js +0 -48
- package/dist/shared/math-operations.d.ts +0 -53
- package/dist/shared/math-operations.js +0 -189
- package/dist/shared/party-details-section/pdf-party-details.section.d.ts +0 -33
- package/dist/shared/party-details-section/pdf-party-details.section.js +0 -505
- package/dist/shared/shared-pdf.service.d.ts +0 -1071
- package/dist/shared/shared-pdf.service.js +0 -2878
- package/dist/shared/shared-print.service.d.ts +0 -49
- package/dist/shared/shared-print.service.js +0 -899
- package/dist/shared/table-section/pdf-table.config.d.ts +0 -8
- package/dist/shared/table-section/pdf-table.config.js +0 -11
- package/dist/shared/table-section/pdf-table.header.d.ts +0 -3
- package/dist/shared/table-section/pdf-table.header.js +0 -303
- package/dist/shared/table-section/pdf-table.row.d.ts +0 -16
- package/dist/shared/table-section/pdf-table.row.js +0 -261
- package/dist/shared/table-section/pdf-table.section.d.ts +0 -12
- package/dist/shared/table-section/pdf-table.section.js +0 -448
- package/dist/shared/totals-section/pdf-totals.section.d.ts +0 -6
- package/dist/shared/totals-section/pdf-totals.section.js +0 -771
- package/dist/shared/transactions-pdf.service.d.ts +0 -6
- package/dist/shared/transactions-pdf.service.js +0 -169
- package/dist/shared/util.d.ts +0 -12
- package/dist/shared/util.js +0 -85
- package/dist/tasks/meetings/meeting-pdf.d.ts +0 -107
- package/dist/tasks/meetings/meeting-pdf.js +0 -369
- package/dist/tasks/tasks/task-pdf.service.d.ts +0 -127
- package/dist/tasks/tasks/task-pdf.service.js +0 -220
- package/dist/tasks/tasks/task-reports-pdf.service.d.ts +0 -94
- package/dist/tasks/tasks/task-reports-pdf.service.js +0 -296
- package/dist/tax/index.d.ts +0 -9
- package/dist/tax/index.js +0 -26
- package/dist/tax/tax-calculator.d.ts +0 -407
- package/dist/tax/tax-calculator.js +0 -853
- package/dist/tax/tax.types.d.ts +0 -428
- package/dist/tax/tax.types.js +0 -11
- package/dist/transaction-calculations/discounts-distribution.d.ts +0 -19
- package/dist/transaction-calculations/discounts-distribution.js +0 -274
- package/dist/transaction-calculations/index.d.ts +0 -3
- package/dist/transaction-calculations/index.js +0 -10
- package/dist/transaction-calculations/total-calculation.d.ts +0 -6
- package/dist/transaction-calculations/total-calculation.js +0 -355
- package/dist/transaction-calculations/transaction-calculation-engine.d.ts +0 -242
- package/dist/transaction-calculations/transaction-calculation-engine.js +0 -701
- package/dist/utils/my-date.d.ts +0 -12
- package/dist/utils/my-date.js +0 -100
- package/dist/utils/tr-utils.d.ts +0 -16
- package/dist/utils/tr-utils.js +0 -94
package/package.json
CHANGED
|
@@ -415,7 +415,7 @@ export function GetBillNameForInvoicePrint(argInvoiceData: any, InvoicePrintData
|
|
|
415
415
|
Customer.Adrs.push(city);
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
Customer.GSTIN = argInvoiceData.BillTo.GSTIN;
|
|
418
|
+
Customer.GSTIN = argInvoiceData.BillTo.TaxId?.GSTIN;
|
|
419
419
|
if (!TrUtils.IsNull(argInvoiceData.BillTo.DLNo)) {
|
|
420
420
|
Customer.DLNo = argInvoiceData.BillTo.DLNo;
|
|
421
421
|
}
|
|
@@ -8,6 +8,7 @@ export function buildInvoicePartyDetailsSection(PDFInvoiceData: any, customerLay
|
|
|
8
8
|
|
|
9
9
|
export function buildSalesPartyDetailsSection(PDFInvoiceData: any, customerLayout: any, printConfig: any = {}) {
|
|
10
10
|
const transactionData = PDFInvoiceData || {};
|
|
11
|
+
console.log('Transaction Data for Party Details Section:', transactionData);
|
|
11
12
|
const billTo = resolveSalesBillToDetails(transactionData);
|
|
12
13
|
const shipTo = resolveSalesShipToDetails(transactionData);
|
|
13
14
|
const insurance = resolveInsuranceDetails(transactionData);
|
|
@@ -104,8 +105,8 @@ function resolveSalesBillToDetails(transactionData: any) {
|
|
|
104
105
|
transactionData?.CustomerName
|
|
105
106
|
);
|
|
106
107
|
const gstin = firstValue(
|
|
107
|
-
billTo?.GSTIN,
|
|
108
|
-
billTo?.GSTNo
|
|
108
|
+
billTo?.TaxId?.GSTIN,
|
|
109
|
+
billTo?.TaxId?.GSTNo
|
|
109
110
|
);
|
|
110
111
|
const contactInfo = resolvePhoneFromContacts(billTo?.Cons);
|
|
111
112
|
const directPhone = firstValue(billTo?.Ph, billTo?.Phone, billTo?.Mobile);
|
|
@@ -129,7 +130,7 @@ function resolveSalesShipToDetails(transactionData: any) {
|
|
|
129
130
|
|| transactionData?.ShipToAddress
|
|
130
131
|
);
|
|
131
132
|
const name = firstValue(shipTo?.Name, shipTo?.CName);
|
|
132
|
-
const gstin = firstValue(shipTo?.GSTIN, shipTo?.GSTNo);
|
|
133
|
+
const gstin = firstValue(shipTo?.TaxId?.GSTIN, shipTo?.TaxId?.GSTNo);
|
|
133
134
|
return {
|
|
134
135
|
name,
|
|
135
136
|
addressLines: buildAddressLines(address),
|
|
@@ -163,8 +164,8 @@ function resolvePurchaseBFromDetails(transactionData: any) {
|
|
|
163
164
|
transactionData?.VendorName
|
|
164
165
|
);
|
|
165
166
|
const gstin = firstValue(
|
|
166
|
-
billTo?.GSTIN,
|
|
167
|
-
billTo?.GSTNo
|
|
167
|
+
billTo?.TaxId?.GSTIN,
|
|
168
|
+
billTo?.TaxId?.GSTNo
|
|
168
169
|
);
|
|
169
170
|
const contactInfo = resolvePhoneFromContacts(billTo?.Contact);
|
|
170
171
|
const directPhone = firstValue(billTo?.Ph, billTo?.Phone, billTo?.Mobile);
|
|
@@ -237,7 +238,7 @@ function resolvePurchaseShipFromDetails(transactionData: any) {
|
|
|
237
238
|
transactionData?.SFromName,
|
|
238
239
|
transactionData?.ShipFromName
|
|
239
240
|
);
|
|
240
|
-
const gstin = firstValue(shipFrom?.GSTIN, shipFrom?.GSTNo);
|
|
241
|
+
const gstin = firstValue(shipFrom?.TaxId?.GSTIN, shipFrom?.TaxId?.GSTNo);
|
|
241
242
|
|
|
242
243
|
return {
|
|
243
244
|
name,
|
|
@@ -256,7 +257,7 @@ function resolveInsuranceDetails(transactionData: any) {
|
|
|
256
257
|
insurance?.Provider,
|
|
257
258
|
insurance?.InsName
|
|
258
259
|
);
|
|
259
|
-
const gstin = firstValue(insurance?.GSTIN, insurance?.GSTNo);
|
|
260
|
+
const gstin = firstValue(insurance?.TaxId?.GSTIN, insurance?.TaxId?.GSTNo);
|
|
260
261
|
return {
|
|
261
262
|
name,
|
|
262
263
|
addressLines: buildAddressLines(address),
|
|
@@ -113,25 +113,25 @@ export function getRenderableColumns(headerConfig: any[], sType: string = '') {
|
|
|
113
113
|
continue;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
if (isInter && !hasTaxGroup && isTaxPercentHeader(header)) {
|
|
117
|
-
columns.push({
|
|
118
|
-
type: 'tax',
|
|
119
|
-
taxKind: 'rate',
|
|
120
|
-
dbField: 'GST',
|
|
121
|
-
width: header.width,
|
|
122
|
-
});
|
|
123
|
-
continue;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
if (isInter && !hasTaxGroup && isTaxAmountHeader(header)) {
|
|
127
|
-
columns.push({
|
|
128
|
-
type: 'tax',
|
|
129
|
-
taxKind: 'amount',
|
|
130
|
-
dbField: 'GST',
|
|
131
|
-
width: header.width,
|
|
132
|
-
});
|
|
133
|
-
continue;
|
|
134
|
-
}
|
|
116
|
+
if (isInter && !hasTaxGroup && isTaxPercentHeader(header)) {
|
|
117
|
+
columns.push({
|
|
118
|
+
type: 'tax',
|
|
119
|
+
taxKind: 'rate',
|
|
120
|
+
dbField: 'GST',
|
|
121
|
+
width: header.width,
|
|
122
|
+
});
|
|
123
|
+
continue;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
if (isInter && !hasTaxGroup && isTaxAmountHeader(header)) {
|
|
127
|
+
columns.push({
|
|
128
|
+
type: 'tax',
|
|
129
|
+
taxKind: 'amount',
|
|
130
|
+
dbField: 'GST',
|
|
131
|
+
width: header.width,
|
|
132
|
+
});
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
135
|
|
|
136
136
|
// --- Intra / CGST + SGST ---
|
|
137
137
|
if (!isInter && hasTaxGroup && isTaxPercentHeader(header)) {
|
|
@@ -170,25 +170,25 @@ export function getRenderableColumns(headerConfig: any[], sType: string = '') {
|
|
|
170
170
|
continue;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
if (!isInter && !hasTaxGroup && isTaxPercentHeader(header)) {
|
|
174
|
-
columns.push({
|
|
175
|
-
type: 'tax',
|
|
176
|
-
taxKind: 'rate',
|
|
177
|
-
dbField: 'GST',
|
|
178
|
-
width: header.width,
|
|
179
|
-
});
|
|
180
|
-
continue;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
if (!isInter && !hasTaxGroup && isTaxAmountHeader(header)) {
|
|
184
|
-
columns.push({
|
|
185
|
-
type: 'tax',
|
|
186
|
-
taxKind: 'amount',
|
|
187
|
-
dbField: 'GST',
|
|
188
|
-
width: header.width,
|
|
189
|
-
});
|
|
190
|
-
continue;
|
|
191
|
-
}
|
|
173
|
+
if (!isInter && !hasTaxGroup && isTaxPercentHeader(header)) {
|
|
174
|
+
columns.push({
|
|
175
|
+
type: 'tax',
|
|
176
|
+
taxKind: 'rate',
|
|
177
|
+
dbField: 'GST',
|
|
178
|
+
width: header.width,
|
|
179
|
+
});
|
|
180
|
+
continue;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
if (!isInter && !hasTaxGroup && isTaxAmountHeader(header)) {
|
|
184
|
+
columns.push({
|
|
185
|
+
type: 'tax',
|
|
186
|
+
taxKind: 'amount',
|
|
187
|
+
dbField: 'GST',
|
|
188
|
+
width: header.width,
|
|
189
|
+
});
|
|
190
|
+
continue;
|
|
191
|
+
}
|
|
192
192
|
|
|
193
193
|
columns.push({
|
|
194
194
|
type: 'normal',
|
|
@@ -207,16 +207,16 @@ export function buildHeaderRows(headerConfig: any[], sType: string = '') {
|
|
|
207
207
|
const hasDiscPercent = headerConfig.some((header: any) => header.text === 'Disc %');
|
|
208
208
|
const hasDiscAmount = headerConfig.some((header: any) => isDiscountAmountHeader(header.text));
|
|
209
209
|
const hasDiscGroup = hasDiscPercent && hasDiscAmount;
|
|
210
|
-
const hasGroupedHeaders = hasTaxGroup || hasDiscGroup;
|
|
211
|
-
|
|
212
|
-
if (!hasGroupedHeaders) {
|
|
213
|
-
const singleRow = headerConfig.map((header: any) => ({
|
|
214
|
-
text: getSingleTaxHeaderText(header),
|
|
215
|
-
alignment: header.alignment,
|
|
216
|
-
dbFields: header.dbFields,
|
|
217
|
-
stackFields: header.stackFields,
|
|
218
|
-
...getHeaderCellStyle()
|
|
219
|
-
}));
|
|
210
|
+
const hasGroupedHeaders = hasTaxGroup || hasDiscGroup;
|
|
211
|
+
|
|
212
|
+
if (!hasGroupedHeaders) {
|
|
213
|
+
const singleRow = headerConfig.map((header: any) => ({
|
|
214
|
+
text: getSingleTaxHeaderText(header),
|
|
215
|
+
alignment: header.alignment,
|
|
216
|
+
dbFields: header.dbFields,
|
|
217
|
+
stackFields: header.stackFields,
|
|
218
|
+
...getHeaderCellStyle()
|
|
219
|
+
}));
|
|
220
220
|
return [singleRow];
|
|
221
221
|
}
|
|
222
222
|
|
|
@@ -242,17 +242,17 @@ export function buildHeaderRows(headerConfig: any[], sType: string = '') {
|
|
|
242
242
|
continue;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
if (isInter && !hasTaxGroup && isTaxPercentHeader(header)) {
|
|
246
|
-
topRow.push({ text: getSingleTaxHeaderText(header), rowSpan: 2, alignment: 'center', ...getHeaderCellStyle() });
|
|
247
|
-
subRow.push({});
|
|
248
|
-
continue;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
if (isInter && !hasTaxGroup && isTaxAmountHeader(header)) {
|
|
252
|
-
topRow.push({ text: getSingleTaxHeaderText(header), rowSpan: 2, alignment: 'center', ...getHeaderCellStyle() });
|
|
253
|
-
subRow.push({});
|
|
254
|
-
continue;
|
|
255
|
-
}
|
|
245
|
+
if (isInter && !hasTaxGroup && isTaxPercentHeader(header)) {
|
|
246
|
+
topRow.push({ text: getSingleTaxHeaderText(header), rowSpan: 2, alignment: 'center', ...getHeaderCellStyle() });
|
|
247
|
+
subRow.push({});
|
|
248
|
+
continue;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
if (isInter && !hasTaxGroup && isTaxAmountHeader(header)) {
|
|
252
|
+
topRow.push({ text: getSingleTaxHeaderText(header), rowSpan: 2, alignment: 'center', ...getHeaderCellStyle() });
|
|
253
|
+
subRow.push({});
|
|
254
|
+
continue;
|
|
255
|
+
}
|
|
256
256
|
|
|
257
257
|
// --- Intra / CGST + SGST ---
|
|
258
258
|
if (!isInter && hasTaxGroup && isTaxPercentHeader(header)) {
|
|
@@ -279,17 +279,17 @@ export function buildHeaderRows(headerConfig: any[], sType: string = '') {
|
|
|
279
279
|
continue;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
if (!isInter && !hasTaxGroup && isTaxPercentHeader(header)) {
|
|
283
|
-
topRow.push({ text: getSingleTaxHeaderText(header), rowSpan: 2, alignment: 'center', ...getHeaderCellStyle() });
|
|
284
|
-
subRow.push({});
|
|
285
|
-
continue;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
if (!isInter && !hasTaxGroup && isTaxAmountHeader(header)) {
|
|
289
|
-
topRow.push({ text: getSingleTaxHeaderText(header), rowSpan: 2, alignment: 'center', ...getHeaderCellStyle() });
|
|
290
|
-
subRow.push({});
|
|
291
|
-
continue;
|
|
292
|
-
}
|
|
282
|
+
if (!isInter && !hasTaxGroup && isTaxPercentHeader(header)) {
|
|
283
|
+
topRow.push({ text: getSingleTaxHeaderText(header), rowSpan: 2, alignment: 'center', ...getHeaderCellStyle() });
|
|
284
|
+
subRow.push({});
|
|
285
|
+
continue;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
if (!isInter && !hasTaxGroup && isTaxAmountHeader(header)) {
|
|
289
|
+
topRow.push({ text: getSingleTaxHeaderText(header), rowSpan: 2, alignment: 'center', ...getHeaderCellStyle() });
|
|
290
|
+
subRow.push({});
|
|
291
|
+
continue;
|
|
292
|
+
}
|
|
293
293
|
|
|
294
294
|
if (hasDiscGroup && header.text === 'Disc %') {
|
|
295
295
|
topRow.push(
|
|
@@ -330,22 +330,22 @@ function isTaxPercentHeader(header: any) {
|
|
|
330
330
|
return normalizeHeaderText(header?.text) === 'TAX%';
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
function isTaxAmountHeader(header: any) {
|
|
334
|
-
return normalizeHeaderText(header?.text) === 'TAXAMOUNT';
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
function getSingleTaxHeaderText(header: any) {
|
|
338
|
-
if (isTaxPercentHeader(header)) {
|
|
339
|
-
return 'GST(%)';
|
|
340
|
-
}
|
|
341
|
-
if (isTaxAmountHeader(header)) {
|
|
342
|
-
return 'GST Amt';
|
|
343
|
-
}
|
|
344
|
-
return header.text;
|
|
345
|
-
}
|
|
333
|
+
function isTaxAmountHeader(header: any) {
|
|
334
|
+
return normalizeHeaderText(header?.text) === 'TAXAMOUNT';
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
function getSingleTaxHeaderText(header: any) {
|
|
338
|
+
if (isTaxPercentHeader(header)) {
|
|
339
|
+
return 'GST(%)';
|
|
340
|
+
}
|
|
341
|
+
if (isTaxAmountHeader(header)) {
|
|
342
|
+
return 'GST Amt';
|
|
343
|
+
}
|
|
344
|
+
return header.text;
|
|
345
|
+
}
|
|
346
346
|
|
|
347
347
|
function isTaxHeaderConfig(header: any) {
|
|
348
|
-
const title = header?.
|
|
348
|
+
const title = header?.Title ?? header?.Tital ?? header?.CustTitle ?? header?.Tital ?? header?.text;
|
|
349
349
|
const normalizedTitle = normalizeHeaderText(title);
|
|
350
350
|
return normalizedTitle === 'TAX%' || normalizedTitle === 'TAXAMOUNT';
|
|
351
351
|
}
|
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
export declare class SalesReceiptprintService {
|
|
2
|
-
FontSize: number;
|
|
3
|
-
static GetInvoicePrint(ROPrintData: any, numberofCopies: any, isotherIndustry: boolean, withPass: boolean, isAuto: boolean, 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
|
-
pageBreakBefore: (currentNode: any, followingNodesOnPage: any, nodesOnNextPage: any, previousNodesOnPage: any) => boolean;
|
|
16
|
-
pageMargins: number[];
|
|
17
|
-
content: any[];
|
|
18
|
-
styles: {
|
|
19
|
-
temp2header: {
|
|
20
|
-
fontSize: number;
|
|
21
|
-
bold: boolean;
|
|
22
|
-
alignment: string;
|
|
23
|
-
};
|
|
24
|
-
tableheader1: {
|
|
25
|
-
bold: boolean;
|
|
26
|
-
fontFamily: string;
|
|
27
|
-
margin: number[];
|
|
28
|
-
alignment: string;
|
|
29
|
-
};
|
|
30
|
-
header: {
|
|
31
|
-
fontSize: number;
|
|
32
|
-
bold: boolean;
|
|
33
|
-
alignment: string;
|
|
34
|
-
};
|
|
35
|
-
meetingHeader: {
|
|
36
|
-
fontSize: number;
|
|
37
|
-
bold: boolean;
|
|
38
|
-
};
|
|
39
|
-
Receiptheader: {
|
|
40
|
-
fontSize: number;
|
|
41
|
-
bold: boolean;
|
|
42
|
-
alignment: string;
|
|
43
|
-
margin: number[];
|
|
44
|
-
};
|
|
45
|
-
InlineHeader: {
|
|
46
|
-
fontSize: number;
|
|
47
|
-
bold: boolean;
|
|
48
|
-
alignment: string;
|
|
49
|
-
margin: number[];
|
|
50
|
-
};
|
|
51
|
-
TaskHeading: {
|
|
52
|
-
fontSize: number;
|
|
53
|
-
bold: boolean;
|
|
54
|
-
margin: number[];
|
|
55
|
-
};
|
|
56
|
-
lettersSize: {
|
|
57
|
-
fontSize: number;
|
|
58
|
-
margin: number[];
|
|
59
|
-
};
|
|
60
|
-
tablexample: {
|
|
61
|
-
margin: number[];
|
|
62
|
-
};
|
|
63
|
-
hedstyl: {
|
|
64
|
-
margin: number[];
|
|
65
|
-
};
|
|
66
|
-
header2: {
|
|
67
|
-
fontSize: number;
|
|
68
|
-
bold: boolean;
|
|
69
|
-
alignment: string;
|
|
70
|
-
margin: number[];
|
|
71
|
-
};
|
|
72
|
-
header1: {
|
|
73
|
-
fontSize: number;
|
|
74
|
-
bold: boolean;
|
|
75
|
-
alignment: string;
|
|
76
|
-
decoration: string;
|
|
77
|
-
margin: number[];
|
|
78
|
-
};
|
|
79
|
-
ws_adrs_center: {
|
|
80
|
-
fontSize: number;
|
|
81
|
-
alignment: string;
|
|
82
|
-
};
|
|
83
|
-
ws_adrs_center1: {
|
|
84
|
-
fontSize: number;
|
|
85
|
-
alignment: string;
|
|
86
|
-
};
|
|
87
|
-
ws_adrs_left: {
|
|
88
|
-
fontSize: number;
|
|
89
|
-
alignment: string;
|
|
90
|
-
};
|
|
91
|
-
ws_adrs_left1: {
|
|
92
|
-
fontSize: number;
|
|
93
|
-
alignment: string;
|
|
94
|
-
};
|
|
95
|
-
columnheader: {
|
|
96
|
-
margin: number[];
|
|
97
|
-
};
|
|
98
|
-
tableExample: {
|
|
99
|
-
margin: number[];
|
|
100
|
-
fontSize: number;
|
|
101
|
-
};
|
|
102
|
-
tableExamplemargin: {
|
|
103
|
-
margin: number[];
|
|
104
|
-
fontSize: number;
|
|
105
|
-
};
|
|
106
|
-
textcust: {
|
|
107
|
-
fontSize: number;
|
|
108
|
-
margin: number[];
|
|
109
|
-
};
|
|
110
|
-
column: {
|
|
111
|
-
margin: number[];
|
|
112
|
-
};
|
|
113
|
-
tableheader: {
|
|
114
|
-
bold: boolean;
|
|
115
|
-
fontSize: number;
|
|
116
|
-
margin: number[];
|
|
117
|
-
alignment: string;
|
|
118
|
-
};
|
|
119
|
-
tableheader2: {
|
|
120
|
-
fontSize: number;
|
|
121
|
-
margin: number[];
|
|
122
|
-
alignment: string;
|
|
123
|
-
opacity: number;
|
|
124
|
-
};
|
|
125
|
-
hed: {
|
|
126
|
-
fontSize: number;
|
|
127
|
-
bold: boolean;
|
|
128
|
-
};
|
|
129
|
-
hed2: {
|
|
130
|
-
fontSize: number;
|
|
131
|
-
};
|
|
132
|
-
TotalsStyles: {
|
|
133
|
-
marginTop: number;
|
|
134
|
-
lineHeight: number;
|
|
135
|
-
fontSize: number;
|
|
136
|
-
margin: number[];
|
|
137
|
-
};
|
|
138
|
-
colum1: {
|
|
139
|
-
fontSize: number;
|
|
140
|
-
lineHeight: number;
|
|
141
|
-
};
|
|
142
|
-
colum2: {
|
|
143
|
-
fontSize: number;
|
|
144
|
-
lineHeight: number;
|
|
145
|
-
margin: number[];
|
|
146
|
-
};
|
|
147
|
-
colum3: {
|
|
148
|
-
lineHeight: number;
|
|
149
|
-
};
|
|
150
|
-
Receiptheader1: {
|
|
151
|
-
fontSize: number;
|
|
152
|
-
bold: boolean;
|
|
153
|
-
alignment: string;
|
|
154
|
-
margin: number[];
|
|
155
|
-
};
|
|
156
|
-
Row1: {
|
|
157
|
-
fontSize: number;
|
|
158
|
-
margin: number[];
|
|
159
|
-
};
|
|
160
|
-
rowdata: {
|
|
161
|
-
margin: number[];
|
|
162
|
-
fontSize: number;
|
|
163
|
-
};
|
|
164
|
-
forCompany: {
|
|
165
|
-
margin: number[];
|
|
166
|
-
fontSize: number;
|
|
167
|
-
};
|
|
168
|
-
forCompany1: {
|
|
169
|
-
margin: number[];
|
|
170
|
-
fontSize: number;
|
|
171
|
-
};
|
|
172
|
-
Rupees: {
|
|
173
|
-
margin: number[];
|
|
174
|
-
fontSize: number;
|
|
175
|
-
};
|
|
176
|
-
Signature: {
|
|
177
|
-
margin: number[];
|
|
178
|
-
alignment: string;
|
|
179
|
-
fontSize: number;
|
|
180
|
-
};
|
|
181
|
-
withApp: {
|
|
182
|
-
alignment: string;
|
|
183
|
-
lineHeight: number;
|
|
184
|
-
};
|
|
185
|
-
withOutApp: {
|
|
186
|
-
alignment: string;
|
|
187
|
-
lineHeight: number;
|
|
188
|
-
};
|
|
189
|
-
Sign: {
|
|
190
|
-
fontSize: number;
|
|
191
|
-
margin: number[];
|
|
192
|
-
};
|
|
193
|
-
Sign1: {
|
|
194
|
-
fontSize: number;
|
|
195
|
-
margin: number[];
|
|
196
|
-
};
|
|
197
|
-
'margin-all': {
|
|
198
|
-
margin: number[];
|
|
199
|
-
};
|
|
200
|
-
'margin-top': {
|
|
201
|
-
margin: number[];
|
|
202
|
-
};
|
|
203
|
-
'margin-bottom': {
|
|
204
|
-
margin: number[];
|
|
205
|
-
};
|
|
206
|
-
fontSize: {
|
|
207
|
-
fontSize: number;
|
|
208
|
-
};
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
static GetFileName(ROPrintData: any): string;
|
|
212
|
-
static CommonHeaderDetails(ROPrintData: any, text: any, isotherIndustry: boolean): any[];
|
|
213
|
-
static GetMainHeaderDetails(Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any): ({
|
|
214
|
-
columns: any;
|
|
215
|
-
} | {
|
|
216
|
-
canvas: {
|
|
217
|
-
type: string;
|
|
218
|
-
lineColor: string;
|
|
219
|
-
x1: number;
|
|
220
|
-
y1: number;
|
|
221
|
-
x2: number;
|
|
222
|
-
y2: number;
|
|
223
|
-
lineWidth: number;
|
|
224
|
-
}[];
|
|
225
|
-
})[];
|
|
226
|
-
static PreparesparePartsTable(ROPrintData: any, isAuto: boolean): any;
|
|
227
|
-
static GetLaborPartsTableForView(Parts: any, Ops: any, PrintPartNo: any): any;
|
|
228
|
-
static WithOutDiscountFieldTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): any;
|
|
229
|
-
static BuildTableBodyForLaborAndParts(Parts: any, Labor: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): any;
|
|
230
|
-
static GetWithOutDiscAndTaxFieldHeader(Parts: any, Ops: any, ShowTaxColumn: any, PrintPartNo: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): any;
|
|
231
|
-
static TaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): {
|
|
232
|
-
style: string;
|
|
233
|
-
table: {
|
|
234
|
-
widths: (string | 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) => string;
|
|
241
|
-
vLineColor: (i: any, node: any) => string;
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
static ConsolidateDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): {
|
|
245
|
-
style: string;
|
|
246
|
-
table: {
|
|
247
|
-
widths: number[];
|
|
248
|
-
body: any;
|
|
249
|
-
};
|
|
250
|
-
layout: {
|
|
251
|
-
hLineWidth: (i: any, node: any) => number;
|
|
252
|
-
vLineWidth: (i: any, node: any) => number;
|
|
253
|
-
hLineColor: (i: any, node: any) => string;
|
|
254
|
-
vLineColor: (i: any, node: any) => string;
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
static NoTaxDataTable(Parts: any, Ops: any, PrintPartNo: any, ShowTaxColumn: any, Body: any, ShowIGST: any, ConsolidateGST: any, ShowDiscountColumn: any, isAuto: boolean): {
|
|
258
|
-
style: string;
|
|
259
|
-
table: {
|
|
260
|
-
widths: number[];
|
|
261
|
-
body: any;
|
|
262
|
-
};
|
|
263
|
-
layout: {
|
|
264
|
-
hLineWidth: (i: any, node: any) => number;
|
|
265
|
-
vLineWidth: (i: any, node: any) => number;
|
|
266
|
-
hLineColor: (i: any, node: any) => string;
|
|
267
|
-
vLineColor: (i: any, node: any) => string;
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
static buildTableForCustomerLabor(Parts: any, Ops: any, PrintPartNo: any, customerorInsurance: any): any;
|
|
271
|
-
static getSummaryHeaders(permission: boolean): any;
|
|
272
|
-
static CommonTotalDetails(ROPrintData: any, index: any, numberofCopies: any, withPass: boolean, moreDiscDetails: boolean): any[];
|
|
273
|
-
static GetGatePass(isGatepass: boolean, ROPrintData: any): any;
|
|
274
|
-
static GetCustomerDetails(ROPrintData: any, isOtherIndustry: boolean): {
|
|
275
|
-
lineHeight: number;
|
|
276
|
-
fontSize: number;
|
|
277
|
-
table: {
|
|
278
|
-
body: any;
|
|
279
|
-
};
|
|
280
|
-
layout: string;
|
|
281
|
-
};
|
|
282
|
-
static GetVehicleDetails(Vehicle: any, isOtherIndustry: boolean): {
|
|
283
|
-
lineHeight: number;
|
|
284
|
-
fontSize: number;
|
|
285
|
-
table: {
|
|
286
|
-
body: any;
|
|
287
|
-
};
|
|
288
|
-
layout: string;
|
|
289
|
-
};
|
|
290
|
-
}
|