shareneus 1.4.40 → 1.4.42
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.js +2 -2
- package/dist/accounting/counter-sales/pos-receipt-pdf.js +1 -1
- package/dist/accounting/counter-sales/sales-receipt-pdf.service.js +2 -2
- package/dist/accounting/counter-sales/sales-receipt-print.service.js +3 -5
- package/dist/accounting/credit-note/cn-print.service.js +3 -5
- package/dist/accounting/credit-note/credit-note-pdf.service.js +2 -2
- package/dist/accounting/debit-note/debit-note-pdf.service.js +2 -2
- package/dist/accounting/debit-note/debit-note-print.service.js +3 -5
- package/dist/accounting/invoice/hc-inv-pdf.service.js +4 -4
- package/dist/accounting/invoice/inv-pdf.service.js +2 -2
- package/dist/accounting/invoice/inv-print.service.js +2 -1
- package/dist/accounting/invoice/invoice-landscape-pdf.service.d.ts +1 -0
- package/dist/accounting/invoice/invoice-landscape-pdf.service.js +16 -12
- package/dist/accounting/invoice/invoice-letterhead-pdf.service.js +2 -2
- package/dist/accounting/invoice/invoice-portrait-pdf.js +5 -5
- package/dist/accounting/invoice/reports/excel/analysis-excel.service.js +2 -2
- package/dist/accounting/invoice/reports/excel/category-wise-item-excel.service.js +2 -2
- package/dist/accounting/invoice/reports/excel/cust-wise-sales-details.js +2 -2
- package/dist/accounting/invoice/reports/excel/cust-wise-sales-summary-excel.service.js +2 -2
- package/dist/accounting/invoice/reports/excel/invoice-wise-excel.service.js +1 -1
- package/dist/accounting/invoice/reports/excel/item-wise-doctor-sale-excel.service.js +2 -2
- package/dist/accounting/invoice/reports/excel/items-wise-sales-excel.service.js +2 -2
- package/dist/accounting/invoice/reports/excel/manf-wise-sales-excel.service.js +2 -2
- package/dist/accounting/invoice/reports/excel/operator-wise-details.js +2 -2
- package/dist/accounting/invoice/reports/excel/operator-wise-summary.js +2 -2
- package/dist/accounting/invoice/reports/excel/sa-wise-labor-sales-excel.service.js +2 -2
- package/dist/accounting/invoice/reports/excel/sa-wise-part-sales-excel.service.js +2 -2
- package/dist/accounting/invoice/reports/excel/sale-summary-excel.service.js +1 -1
- package/dist/accounting/invoice/reports/excel/sales-by-service-summary-excel.service.js +2 -2
- package/dist/accounting/invoice/reports/excel/scheduled-drug-summary-excel.service.js +2 -2
- package/dist/accounting/invoice/reports/excel/scheduled-drugs-excel.service.js +2 -2
- package/dist/accounting/invoice/reports/pdf/analysis-pdf.service.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/analysis-pdf.service.js +3 -3
- package/dist/accounting/invoice/reports/pdf/category-wise-item-pdf.service.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/category-wise-item-pdf.service.js +2 -2
- package/dist/accounting/invoice/reports/pdf/cust-wise-sales-details-pdf.service.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/cust-wise-sales-details-pdf.service.js +3 -3
- package/dist/accounting/invoice/reports/pdf/cust-wise-sales-summary-pdf.service.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/cust-wise-sales-summary-pdf.service.js +2 -2
- package/dist/accounting/invoice/reports/pdf/item-wise-doctor-sale-pdf.service.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/item-wise-doctor-sale-pdf.service.js +2 -2
- package/dist/accounting/invoice/reports/pdf/item-wise-sales-pdf.service.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/item-wise-sales-pdf.service.js +2 -2
- package/dist/accounting/invoice/reports/pdf/manf-wise-sales-pdf.service.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/manf-wise-sales-pdf.service.js +2 -2
- package/dist/accounting/invoice/reports/pdf/operator-wise-details-pdf.service.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/operator-wise-details-pdf.service.js +3 -3
- package/dist/accounting/invoice/reports/pdf/operator-wise-summary-pdf.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/operator-wise-summary-pdf.js +2 -2
- package/dist/accounting/invoice/reports/pdf/sales-by-service-pdf.service.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/sales-by-service-pdf.service.js +2 -2
- package/dist/accounting/invoice/reports/pdf/scheduled-drug-pdf.service.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/scheduled-drug-pdf.service.js +3 -3
- package/dist/accounting/invoice/reports/pdf/scheduled-drug-summary-pdf.service.d.ts +192 -1
- package/dist/accounting/invoice/reports/pdf/scheduled-drug-summary-pdf.service.js +2 -2
- package/dist/accounting/invoice/shared-inv-pdf.service.d.ts +241 -9
- package/dist/accounting/invoice/shared-inv-pdf.service.js +4 -4
- package/dist/accounting/payment-receive/payment-pdf.service.js +1 -1
- package/dist/accounting/payment-receive/receipt-print.service.js +1 -1
- package/dist/accounting/payment-receive/reports/excel/cust-balance-excel.service.js +1 -1
- package/dist/accounting/payment-receive/reports/excel/payment-receive-excel.service.js +2 -2
- package/dist/accounting/payment-receive/reports/pdf/customer-balances-pdf.service.js +1 -1
- package/dist/accounting/payment-receive/reports/pdf/payment-report-pdf.service.js +1 -1
- package/dist/appointments/consultations/consultation-fee-receipt.service.js +1 -1
- package/dist/appointments/consultations/consultation-full-pdf.service.js +1 -1
- package/dist/appointments/consultations/consultation-letterhead-pdf.service.js +1 -1
- package/dist/appointments/consultations/consultation-pdf.service.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/inventory/items/issue-parts-pdf.service.js +2 -2
- package/dist/inventory/items/item-bar-code-label-pdf.js +1 -1
- package/dist/inventory/items/item-detais-pdf.js +1 -1
- package/dist/inventory/items/reports/excel/expiring-drugs-excel.service.js +2 -2
- package/dist/inventory/items/reports/excel/spares-issue-excel.service.js +1 -1
- package/dist/inventory/items/reports/excel/stock-excel.service.js +1 -1
- package/dist/inventory/items/reports/pdf/item-wise-mout-details-pdf.js +1 -1
- package/dist/inventory/items/reports/pdf/item-wise-mout-summary-pdf.js +1 -1
- package/dist/inventory/material-out/mout-pdf.service.js +2 -2
- package/dist/inventory/transfer-order/transfer-order-pdf.service.js +1 -1
- package/dist/purchases/payment-made/reports/excel/payments-made-excel.service.js +2 -2
- package/dist/purchases/payment-made/reports/excel/ven-balance-excel.service.js +1 -1
- package/dist/purchases/payment-made/reports/pdf/vendor-balances-pdf.service.js +1 -1
- package/dist/purchases/purchase-order/purchase-order-pdf.service.js +2 -2
- package/dist/purchases/purchase-order/purchase-order-print.service.js +2 -1
- package/dist/purchases/vendor-credit-note/vendor-credit-note-pdf.service.d.ts +1 -1
- package/dist/purchases/vendor-credit-note/vendor-credit-note-pdf.service.js +2 -2
- package/dist/purchases/vendor-credit-note/vendor-credit-note-print.service.js +2 -1
- package/dist/purchases/vendor-debit-note/vendor-debit-note-pdf.service.js +2 -2
- package/dist/purchases/vendor-debit-note/vendor-debit-note-print.service.js +2 -1
- package/dist/sales/delivery-challan/dc-landscape-pdf.service.js +2 -2
- package/dist/sales/delivery-challan/dc-landscape-without-price-pdf.service.js +2 -2
- package/dist/sales/delivery-challan/dc-without-price-pdf.service.js +2 -2
- package/dist/sales/delivery-challan/delivery-challan-pdf.service.js +2 -2
- package/dist/sales/delivery-challan/delivery-challan-print.service.js +2 -1
- package/dist/sales/sales/equipment-design-pdf.service.js +2 -2
- package/dist/sales/sales/pack-ship-pdf.service.d.ts +4 -4
- package/dist/sales/sales/pack-ship-pdf.service.js +2 -2
- package/dist/sales/sales/pack-ship-print.service.js +1 -1
- package/dist/sales/sales/sales-pdf.service.js +2 -2
- package/dist/sales/sales/sales-print.service.js +2 -1
- package/dist/services/checklist-pdf.js +2 -2
- package/dist/services/checklists-pdf.js +1 -1
- package/dist/services/est.print-service.js +1 -1
- package/dist/services/reports/excel/insurance-expire-excel.service.js +2 -2
- package/dist/services/reports/excel/next-service-date-excel.service.js +2 -2
- package/dist/services/reports/excel/repair-orders-excel.service.js +2 -2
- package/dist/services/reports/pdf/insurance-expire-pdf.service.d.ts +192 -1
- package/dist/services/reports/pdf/insurance-expire-pdf.service.js +2 -2
- package/dist/services/reports/pdf/next-service-date-pdf.service.d.ts +192 -1
- package/dist/services/reports/pdf/next-service-date-pdf.service.js +2 -2
- package/dist/services/reports/pdf/repair-orders-pdf.service.d.ts +192 -1
- package/dist/services/reports/pdf/repair-orders-pdf.service.js +3 -3
- package/dist/services/ro-pdf.service.js +2 -2
- package/dist/services/ro-print-service.js +1 -1
- package/dist/services/separate-wo-print.service.js +1 -1
- package/dist/services/technician-pdf.service.js +1 -1
- package/dist/services/technician-print.service.js +1 -1
- package/dist/shared/shared-pdf.service.d.ts +926 -0
- package/dist/shared/shared-pdf.service.js +2608 -0
- package/dist/shared/{shared-services → shared-pdfs}/shared-pdf.service.js +2 -2
- package/dist/shared/{shared-services/shared-print.service.d.ts → shared-print.service.d.ts} +2 -2
- package/dist/shared/{shared-services/shared-print.service.js → shared-print.service.js} +2 -2
- package/dist/tasks/meetings/meeting-pdf.js +1 -1
- package/dist/tasks/tasks/task-pdf.service.js +2 -2
- package/dist/tasks/tasks/task-reports-pdf.service.js +2 -2
- package/package.json +1 -1
- /package/dist/shared/{shared-services → shared-pdfs}/shared-pdf.service.d.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SalesReceiptprintService = void 0;
|
|
4
|
-
const shared_pdf_service_1 = require("../../shared/shared-
|
|
5
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
4
|
+
const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
|
|
5
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
6
6
|
const my_date_1 = require("../../utils/my-date");
|
|
7
7
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
8
8
|
class SalesReceiptprintService {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PosReceiptPrintService = void 0;
|
|
4
|
-
const shared_pdf_service_1 = require("../../shared/shared-
|
|
4
|
+
const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
|
|
5
5
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
6
6
|
class PosReceiptPrintService {
|
|
7
7
|
static GetPrint(InvoicePDFData, size) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SalesReceiptpdfService = void 0;
|
|
4
|
-
const shared_pdf_service_1 = require("../../shared/shared-
|
|
5
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
4
|
+
const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
|
|
5
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
6
6
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
7
7
|
// not using this code
|
|
8
8
|
class SalesReceiptpdfService {
|
|
@@ -4,7 +4,7 @@ exports.SaleReceiptPrintService = void 0;
|
|
|
4
4
|
const aggregation_1 = require("../../aggregation/aggregation");
|
|
5
5
|
const code_enums_1 = require("../../enums/code-enums");
|
|
6
6
|
const enums_1 = require("../../enums/enums");
|
|
7
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
7
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
8
8
|
const my_date_1 = require("../../utils/my-date");
|
|
9
9
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
10
10
|
const invoice_total_service_1 = require("../invoice/invoice-total.service");
|
|
@@ -21,10 +21,8 @@ class SaleReceiptPrintService {
|
|
|
21
21
|
}
|
|
22
22
|
InvoicePrintData.IsProforma = IsProforma;
|
|
23
23
|
InvoicePrintData.Settings = tr_utils_1.TrUtils.Stringify(argInvoiceData.Settings);
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
SType = argInvoiceData.SType;
|
|
27
|
-
}
|
|
24
|
+
InvoicePrintData.SType = tr_utils_1.TrUtils.Stringify(argInvoiceData.SType);
|
|
25
|
+
let SType = tr_utils_1.TrUtils.IsNull(argInvoiceData.SType) ? null : argInvoiceData.SType;
|
|
28
26
|
InvoicePrintData = this.GetPrintConditionsBasedOnInput(InvoicePrintData, IncludeGST, ConsolidateGST, ForInsurance, SType, argInvoiceData, IsProforma);
|
|
29
27
|
InvoicePrintData.Entity = shared_print_service_1.PrintSharedService.GetFormattedEntityDataForPrint(OriginalEntityData, "Invoice", OriginalInvoiceData);
|
|
30
28
|
InvoicePrintData = shared_print_service_1.PrintSharedService.GetEntityHeaderStyles(InvoicePrintData, OriginalEntityData, image);
|
|
@@ -4,7 +4,7 @@ exports.CNPrintService = void 0;
|
|
|
4
4
|
const aggregation_1 = require("../../aggregation/aggregation");
|
|
5
5
|
const code_enums_1 = require("../../enums/code-enums");
|
|
6
6
|
const enums_1 = require("../../enums/enums");
|
|
7
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
7
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
8
8
|
const my_date_1 = require("../../utils/my-date");
|
|
9
9
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
10
10
|
const credit_note_totals_service_1 = require("./credit-note-totals.service");
|
|
@@ -19,10 +19,8 @@ class CNPrintService {
|
|
|
19
19
|
}
|
|
20
20
|
InvoicePrintData.IsProforma = IsProforma;
|
|
21
21
|
InvoicePrintData.Settings = tr_utils_1.TrUtils.Stringify(argInvoiceData.Settings);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
SType = argInvoiceData.SType;
|
|
25
|
-
}
|
|
22
|
+
InvoicePrintData.SType = tr_utils_1.TrUtils.Stringify(argInvoiceData.SType);
|
|
23
|
+
let SType = tr_utils_1.TrUtils.IsNull(argInvoiceData.SType) ? null : argInvoiceData.SType;
|
|
26
24
|
InvoicePrintData = this.GetPrintConditionsBasedOnInput(InvoicePrintData, IncludeGST, ConsolidateGST, ForInsurance, SType, argInvoiceData, IsProforma);
|
|
27
25
|
InvoicePrintData.Entity = shared_print_service_1.PrintSharedService.GetFormattedEntityDataForPrint(OriginalEntityData, "Invoice", OriginalInvoiceData);
|
|
28
26
|
InvoicePrintData = shared_print_service_1.PrintSharedService.GetEntityHeaderStyles(InvoicePrintData, OriginalEntityData, image);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreditNotePdfService = void 0;
|
|
4
|
-
const shared_pdf_service_1 = require("../../shared/shared-
|
|
5
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
4
|
+
const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
|
|
5
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
6
6
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
7
7
|
class CreditNotePdfService {
|
|
8
8
|
constructor() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DebitNotePdfService = void 0;
|
|
4
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
4
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
5
5
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
6
|
-
const shared_pdf_service_1 = require("../../shared/shared-
|
|
6
|
+
const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
|
|
7
7
|
class DebitNotePdfService {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.FontSize = 8;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DebitNotePrintService = void 0;
|
|
4
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
4
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
5
5
|
const debit_note_totals_service_1 = require("./debit-note-totals.service");
|
|
6
6
|
const code_enums_1 = require("../../enums/code-enums");
|
|
7
7
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
@@ -18,10 +18,8 @@ class DebitNotePrintService {
|
|
|
18
18
|
}
|
|
19
19
|
InvoicePrintData.IsProforma = IsProforma;
|
|
20
20
|
InvoicePrintData.Settings = tr_utils_1.TrUtils.Stringify(argInvoiceData.Settings);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
SType = argInvoiceData.SType;
|
|
24
|
-
}
|
|
21
|
+
InvoicePrintData.SType = tr_utils_1.TrUtils.Stringify(argInvoiceData.SType);
|
|
22
|
+
let SType = tr_utils_1.TrUtils.IsNull(argInvoiceData.SType) ? null : argInvoiceData.SType;
|
|
25
23
|
InvoicePrintData = this.GetPrintConditionsBasedOnInput(InvoicePrintData, IncludeGST, ConsolidateGST, SType, argInvoiceData, IsProforma, IsCustBillTo);
|
|
26
24
|
InvoicePrintData.Entity = shared_print_service_1.PrintSharedService.GetFormattedEntityDataForPrint(OriginalEntityData, "Invoice", OriginalInvoiceData);
|
|
27
25
|
InvoicePrintData = shared_print_service_1.PrintSharedService.GetEntityHeaderStyles(InvoicePrintData, OriginalEntityData, image);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HCInvoiceprintService = void 0;
|
|
4
4
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
5
|
-
const shared_pdf_service_1 = require("../../shared/shared-
|
|
6
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
5
|
+
const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
|
|
6
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
7
7
|
class HCInvoiceprintService {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.FontSize = 8;
|
|
@@ -793,8 +793,8 @@ class HCInvoiceprintService {
|
|
|
793
793
|
marginBottom: 5,
|
|
794
794
|
table: {
|
|
795
795
|
widths: [187, 170, 170],
|
|
796
|
-
body: [[{ text: 'Paid : ' + Paid },
|
|
797
|
-
{ text: 'Due : ' + Due },
|
|
796
|
+
body: [[{ text: 'Paid : ' + tr_utils_1.TrUtils.FixPriceValue(Paid) },
|
|
797
|
+
{ text: 'Due : ' + tr_utils_1.TrUtils.FixPriceValue(Due) },
|
|
798
798
|
{ text: 'Status : ' + Status }]]
|
|
799
799
|
},
|
|
800
800
|
layout: shared_pdf_service_1.SharedPDFService.LayOutStyle(),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InvoiceprintService = void 0;
|
|
4
|
-
const shared_pdf_service_1 = require("../../shared/shared-
|
|
5
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
4
|
+
const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
|
|
5
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
6
6
|
const my_date_1 = require("../../utils/my-date");
|
|
7
7
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
8
8
|
class InvoiceprintService {
|
|
@@ -4,7 +4,7 @@ exports.InvPrintService = void 0;
|
|
|
4
4
|
const aggregation_1 = require("../../aggregation/aggregation");
|
|
5
5
|
const code_enums_1 = require("../../enums/code-enums");
|
|
6
6
|
const enums_1 = require("../../enums/enums");
|
|
7
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
7
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
8
8
|
const my_date_1 = require("../../utils/my-date");
|
|
9
9
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
10
10
|
const invoice_total_service_1 = require("./invoice-total.service");
|
|
@@ -21,6 +21,7 @@ class InvPrintService {
|
|
|
21
21
|
}
|
|
22
22
|
InvoicePrintData.IsProforma = IsProforma;
|
|
23
23
|
InvoicePrintData.Settings = tr_utils_1.TrUtils.Stringify(argInvoiceData.Settings);
|
|
24
|
+
InvoicePrintData.SType = tr_utils_1.TrUtils.Stringify(argInvoiceData.SType);
|
|
24
25
|
let SType;
|
|
25
26
|
if (!tr_utils_1.TrUtils.IsNull(argInvoiceData.SType)) {
|
|
26
27
|
SType = argInvoiceData.SType;
|
|
@@ -210,6 +210,7 @@ export declare class InvoiceLandscapePdfService {
|
|
|
210
210
|
};
|
|
211
211
|
static GetFileName(ROPrintData: any): string;
|
|
212
212
|
static GetAddress(Entity: any): string;
|
|
213
|
+
static GetPINandPhone(Entity: any): string;
|
|
213
214
|
static GetHeaderInfo(InvoicePDFData: any): any;
|
|
214
215
|
static GetBillofSupplyName(Settings: any): {
|
|
215
216
|
text: string | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InvoiceLandscapePdfService = void 0;
|
|
4
|
-
const shared_pdf_service_1 = require("../../shared/shared-
|
|
5
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
4
|
+
const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
|
|
5
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
6
6
|
const my_date_1 = require("../../utils/my-date");
|
|
7
7
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
8
8
|
class InvoiceLandscapePdfService {
|
|
@@ -44,7 +44,10 @@ class InvoiceLandscapePdfService {
|
|
|
44
44
|
return fileName;
|
|
45
45
|
}
|
|
46
46
|
static GetAddress(Entity) {
|
|
47
|
-
return Entity.Adrs1 + ', ' + Entity.Adrs2 + ', '
|
|
47
|
+
return Entity.Adrs1 + ', ' + Entity.Adrs2 + ', ';
|
|
48
|
+
}
|
|
49
|
+
static GetPINandPhone(Entity) {
|
|
50
|
+
return Entity.City + '-' + Entity.PIN + ', Cell : ' + Entity.Phone;
|
|
48
51
|
}
|
|
49
52
|
static GetHeaderInfo(InvoicePDFData) {
|
|
50
53
|
let TaxInfo = [];
|
|
@@ -79,6 +82,7 @@ class InvoiceLandscapePdfService {
|
|
|
79
82
|
{ text: ROPrintData.Entity.CName, alignment: 'center', bold: true, fontSize: 13 },
|
|
80
83
|
// this.GetAddresDetailsAndLogo(ROPrintData.Entity, ROPrintData.Image, ROPrintData.AColor, ROPrintData.HColor, text)
|
|
81
84
|
{ text: this.GetAddress(ROPrintData.Entity), alignment: 'center', style: ['headerstyle'] },
|
|
85
|
+
{ text: this.GetPINandPhone(ROPrintData.Entity), alignment: 'center', style: ['headerstyle'] },
|
|
82
86
|
{
|
|
83
87
|
stack: this.GetHeaderInfo(ROPrintData)
|
|
84
88
|
},
|
|
@@ -624,36 +628,36 @@ class InvoiceLandscapePdfService {
|
|
|
624
628
|
if (PrintPartNo) {
|
|
625
629
|
if (ShowIGST) {
|
|
626
630
|
if (ShowDiscountColumn) {
|
|
627
|
-
return [24, 50, '*',
|
|
631
|
+
return [24, 50, '*', 50, 35, 35, 30, 25, 40, 35, 20, 35, 20, 35, 45];
|
|
628
632
|
}
|
|
629
633
|
else {
|
|
630
|
-
return [24, 50, '*',
|
|
634
|
+
return [24, 50, '*', 50, 35, 35, 30, 25, 40, 40, 20, 35, 51];
|
|
631
635
|
}
|
|
632
636
|
}
|
|
633
637
|
else {
|
|
634
638
|
if (ShowDiscountColumn) {
|
|
635
|
-
return [24, 45, '*',
|
|
639
|
+
return [24, 45, '*', 50, 35, 35, 30, 22, 40, 40, 20, 34, 20, 32, 20, 32, 48];
|
|
636
640
|
}
|
|
637
641
|
else {
|
|
638
|
-
return [24, 45, '*',
|
|
642
|
+
return [24, 45, '*', 50, 35, 35, 30, 22, 40, 40, 20, 32, 20, 32, 54];
|
|
639
643
|
}
|
|
640
644
|
}
|
|
641
645
|
}
|
|
642
646
|
else {
|
|
643
647
|
if (ShowIGST) {
|
|
644
648
|
if (ShowDiscountColumn) {
|
|
645
|
-
return [24, '*',
|
|
649
|
+
return [24, '*', 50, 41, 35, 30, 25, 40, 40, 20, 35, 20, 35, 41];
|
|
646
650
|
}
|
|
647
651
|
else {
|
|
648
|
-
return [24, '*',
|
|
652
|
+
return [24, '*', 50, 50, 35, 30, 25, 40, 40, 20, 40, 50];
|
|
649
653
|
}
|
|
650
654
|
}
|
|
651
655
|
else {
|
|
652
656
|
if (ShowDiscountColumn) {
|
|
653
|
-
return [24, '*',
|
|
657
|
+
return [24, '*', 50, 45, 35, 30, 22, 40, 40, 20, 34, 20, 35, 20, 35, 45];
|
|
654
658
|
}
|
|
655
659
|
else {
|
|
656
|
-
return [24, '*',
|
|
660
|
+
return [24, '*', 50, 50, 35, 30, 22, 40, 40, 20, 35, 20, 35, 50];
|
|
657
661
|
}
|
|
658
662
|
}
|
|
659
663
|
}
|
|
@@ -898,7 +902,7 @@ class InvoiceLandscapePdfService {
|
|
|
898
902
|
// ROPrintData.ShowTaxColumn, ROPrintData.From),
|
|
899
903
|
shared_pdf_service_1.SharedPDFService.GetBankDetials(ROPrintData.Entity.Bank, ROPrintData.Entity.PrBank),
|
|
900
904
|
{
|
|
901
|
-
columns: [{ text: '', width: moreDiscDetails ?
|
|
905
|
+
columns: [{ text: '', width: moreDiscDetails ? 155 : 175 }, shared_pdf_service_1.SharedPDFService.GrandTotal(ROPrintData, '0.00', ROPrintData.CustPartsTotalBeforeDisc, totalDisc, totalTax, ROPrintData.For, ROPrintData.FixedTotal, ROPrintData.CustTotalRoundedBy, ROPrintData.CustRoundedTotal, null, ROPrintData.Consolidate, null, moreDiscDetails)]
|
|
902
906
|
}
|
|
903
907
|
// SharedPDFService.GetCustomer(ROPrintData.Customer, ROPrintData.Type, ROPrintData.For,
|
|
904
908
|
// ROPrintData.Product, ROPrintData.Settings, 'Customer Name & Address', false)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InvoiceLetterheadPdfService = void 0;
|
|
4
|
-
const shared_pdf_service_1 = require("../../shared/shared-
|
|
5
|
-
const shared_print_service_1 = require("../../shared/shared-
|
|
4
|
+
const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
|
|
5
|
+
const shared_print_service_1 = require("../../shared/shared-print.service");
|
|
6
6
|
const my_date_1 = require("../../utils/my-date");
|
|
7
7
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
8
8
|
class InvoiceLetterheadPdfService {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InvoicePortraitPrintService = void 0;
|
|
4
4
|
const enums_1 = require("../../enums/enums");
|
|
5
|
-
const shared_pdf_service_1 = require("../../shared/shared-
|
|
5
|
+
const shared_pdf_service_1 = require("../../shared/shared-pdf.service");
|
|
6
6
|
const my_date_1 = require("../../utils/my-date");
|
|
7
7
|
const tr_utils_1 = require("../../utils/tr-utils");
|
|
8
8
|
class InvoicePortraitPrintService {
|
|
@@ -111,8 +111,8 @@ class InvoicePortraitPrintService {
|
|
|
111
111
|
marginBottom: 5,
|
|
112
112
|
table: {
|
|
113
113
|
widths: ['*', '*', '*'],
|
|
114
|
-
body: [[{ text: 'Paid : ' + Paid },
|
|
115
|
-
{ text: 'Due : ' + Due },
|
|
114
|
+
body: [[{ text: 'Paid : ' + tr_utils_1.TrUtils.FixPriceValue(Paid) },
|
|
115
|
+
{ text: 'Due : ' + tr_utils_1.TrUtils.FixPriceValue(Due) },
|
|
116
116
|
{ text: 'Status : ' + Status }]]
|
|
117
117
|
},
|
|
118
118
|
layout: this.LayOutStyle(),
|
|
@@ -411,7 +411,7 @@ class InvoicePortraitPrintService {
|
|
|
411
411
|
return [16, '*', 40, 45, 25, 20, 20, 45, 45, 30, 50];
|
|
412
412
|
}
|
|
413
413
|
else {
|
|
414
|
-
return [16, '*', 40, 45, 25, 20, 20, 45, 45, 35,
|
|
414
|
+
return [16, '*', 40, 45, 25, 20, 20, 45, 45, 35, 35, 45];
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
else {
|
|
@@ -750,7 +750,7 @@ class InvoicePortraitPrintService {
|
|
|
750
750
|
dataRow.push({ text: part[column.Field].toString(), alignment: 'right', nowrap: true });
|
|
751
751
|
}
|
|
752
752
|
else {
|
|
753
|
-
dataRow.push({ text:
|
|
753
|
+
dataRow.push({ text: part[column.Field].toString(), alignment: 'right', nowrap: true });
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
756
|
else {
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.AnalysisXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const tr_utils_1 = require("
|
|
29
|
-
const my_date_1 = require("
|
|
28
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
29
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
30
30
|
class AnalysisXlsxFileService {
|
|
31
31
|
static GetAnalysisExcelData(MainData, isSale, searchValue, HeaderName, HeaderText) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.CategoryWiseItemXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class CategoryWiseItemXlsxFileService {
|
|
31
31
|
static GetCategoryWiseItemExcelData(MainData, isSale, searchValue, HeaderName) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.CustWiseSalesXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class CustWiseSalesXlsxFileService {
|
|
31
31
|
static GetCustWiseSalesDetailsExcelData(MainData, isSale, searchValue) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.SalesByCustomerXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class SalesByCustomerXlsxFileService {
|
|
31
31
|
static GetSalesByCustExcelData(MainData, isSale, searchValue, HeaderName) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.InvoicesWiseXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const tr_utils_1 = require("
|
|
28
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
29
29
|
class InvoicesWiseXlsxFileService {
|
|
30
30
|
static GetInvoiceWiseExcelData(MainData, WOTypes) {
|
|
31
31
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.ItemWiseDoctorSaleXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class ItemWiseDoctorSaleXlsxFileService {
|
|
31
31
|
static GetItemWiseDoctorSaleExcelData(MainData, searchValue, HeaderName) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.ItemsWiseSalesXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class ItemsWiseSalesXlsxFileService {
|
|
31
31
|
static GetItemsWiseSalesExcelData(MainData, isSale, searchValue, HeaderName) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.ManfWiseSalesXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class ManfWiseSalesXlsxFileService {
|
|
31
31
|
static GetManfWiseSalesExcelData(MainData, searchValue, HeaderName, isDetails) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.OperatorWiseDetailsXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class OperatorWiseDetailsXlsxFileService {
|
|
31
31
|
static GetOperatorWiseDetailsExcelData(MainData, searchValue, isSale) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.OperatorWiseSummaryXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class OperatorWiseSummaryXlsxFileService {
|
|
31
31
|
static GetOperatorWiseSummaryExcelData(MainData, searchValue, HeaderName) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.ServiceAdvisorWiseLaborXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class ServiceAdvisorWiseLaborXlsxFileService {
|
|
31
31
|
static GetServiceAdvisorLaborsExcelData(MainData) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.ServiceAdvisorWisePartXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class ServiceAdvisorWisePartXlsxFileService {
|
|
31
31
|
static GetServiceAdvisorPartsExcelData(MainData) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.SummaryXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const tr_utils_1 = require("
|
|
28
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
29
29
|
class SummaryXlsxFileService {
|
|
30
30
|
static GetInvoiceWiseExcelData(MainData, WOTypes) {
|
|
31
31
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.SalesByServiceSummaryXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class SalesByServiceSummaryXlsxFileService {
|
|
31
31
|
static GetSalesByServiceSummaryExcelData(MainData, searchValue, HeaderName, ForService) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.ScheduledDrugSummaryXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class ScheduledDrugSummaryXlsxFileService {
|
|
31
31
|
static GetScheduledDrugExcelData(MainData, searchValue, HeaderName) {
|
|
32
32
|
this.wb = {};
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.ScheduledDrugXlsxFileService = void 0;
|
|
27
27
|
const XLSX = __importStar(require("xlsx"));
|
|
28
|
-
const my_date_1 = require("
|
|
29
|
-
const tr_utils_1 = require("
|
|
28
|
+
const my_date_1 = require("../../../../utils/my-date");
|
|
29
|
+
const tr_utils_1 = require("../../../../utils/tr-utils");
|
|
30
30
|
class ScheduledDrugXlsxFileService {
|
|
31
31
|
static GetScheduledDrugExcelData(MainData, searchValue, HeaderName) {
|
|
32
32
|
this.wb = {};
|