shareneus 1.6.41 → 1.6.43

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.
@@ -1 +1,2 @@
1
1
  export declare function GetInvoicePDF(invoiceData: any, entityData: any, headerConfig: any, printConfig: any, taxCodes: any, image?: any, numberofCopies?: string[], withPass?: boolean, options?: any): any;
2
+ export declare function GetSalesReceiptPDF(salesReceiptData: any, entityData: any, headerConfig: any, printConfig: any, taxCodes: any, image?: any, numberofCopies?: string[], withPass?: boolean, options?: any): any;
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetInvoicePDF = GetInvoicePDF;
4
+ exports.GetSalesReceiptPDF = GetSalesReceiptPDF;
5
+ const math_operations_1 = require("../../shared/math-operations");
4
6
  const tr_utils_1 = require("../../utils/tr-utils");
7
+ const pos_receipt_pdf_1 = require("../counter-sales/pos-receipt-pdf");
8
+ const sales_receipt_print_service_1 = require("../counter-sales/sales-receipt-print.service");
5
9
  const inv_print_service_1 = require("./inv-print.service");
6
10
  const invoice_pdf_service_1 = require("./invoice-pdf/invoice-pdf.service");
7
11
  const unified_invoice_pdf_service_1 = require("./unified-invoice-pdf.service");
@@ -29,3 +33,30 @@ function GetInvoicePDF(invoiceData, entityData, headerConfig, printConfig, taxCo
29
33
  }
30
34
  return invPrint;
31
35
  }
36
+ function GetSalesReceiptPDF(salesReceiptData, entityData, headerConfig, printConfig, taxCodes, image = null, numberofCopies = ['Original'], withPass = false, options = null) {
37
+ if (!options) {
38
+ options = {
39
+ ShowGST: true,
40
+ ConsolidateGST: false,
41
+ PartInvoice: true,
42
+ LaborInvoice: true,
43
+ Size: 'full',
44
+ MoreDiscDetails: false,
45
+ Orientation: 'portrait',
46
+ OwnBatch: false
47
+ };
48
+ }
49
+ const printConfigData = tr_utils_1.TrUtils.ConcatObjects(tr_utils_1.TrUtils.Stringify(headerConfig), tr_utils_1.TrUtils.Stringify(printConfig));
50
+ printConfigData.withPass = withPass;
51
+ const posPrintData = sales_receipt_print_service_1.SaleReceiptPrintService.GetSaleReceiptPrintInfo(salesReceiptData, entityData, image, options.ShowGST, options.ConsolidateGST, taxCodes, false, options.OwnBatch);
52
+ posPrintData.TotalTax = (0, math_operations_1.Add)(posPrintData.CustPartCGST, posPrintData.CustPartSGST, posPrintData.CustPartIGST);
53
+ posPrintData.Customer.Code = salesReceiptData.BillTo.Code;
54
+ let posPrint;
55
+ if (options.ConsolidateGST || !options.ShowGST) {
56
+ posPrint = pos_receipt_pdf_1.PosReceiptPrintService.GetPrint(posPrintData, options.Size);
57
+ }
58
+ else {
59
+ posPrint = (0, invoice_pdf_service_1.CreateInvoicePDFService)(posPrintData, printConfigData, numberofCopies);
60
+ }
61
+ return posPrint;
62
+ }
package/dist/index.d.ts CHANGED
@@ -134,7 +134,7 @@ export { ServiceHistoryPDFService } from "./services/service-history-pdf.service
134
134
  export { Add, Subtract, Multiply, Divide } from "./shared/math-operations";
135
135
  export { ProductWithoutOwnerXlsxFileService } from "./common/reports/excel/product-without-owner-excel.service";
136
136
  export { ProductWithoutOwnerPDFService } from "./common/reports/pdf/product-without-owner-pdf.service";
137
- export { GetInvoicePDF } from "./accounting/invoice/invoice-pdf.service";
137
+ export { GetInvoicePDF, GetSalesReceiptPDF } from "./accounting/invoice/invoice-pdf.service";
138
138
  export { GetBillPDF } from "./purchases/bills/bill-pdf.service";
139
139
  export { GetBillPdfDataUrl } from "./purchases/bills/bill-pdf/bill-pdf.service";
140
140
  export { GetInvoicePrintInfo } from "./accounting/invoice/inv-print.service";
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DebitNotePdfService = exports.DCWithoutPricePdfService = exports.DCLandscapeWithoutPricePdfService = exports.DCLandscapePdfService = exports.CustomerBalancesService = exports.SalesByCustomerPDFService = exports.CustWiseSalesDetailsService = exports.CreditNoteTotalsService = exports.CreditNotePdfService = exports.ConsultationPDFService = exports.ConsultationFullPrintService = exports.ConsultationFeeReceiptPrintService = exports.CNPrintService = exports.ChecklistsPDFService = exports.CheckListPrintService = exports.CategoryWiseItemPDFService = exports.SalesReceiptprintService = exports.AppointmentTotalsService = exports.AnalysisPDFService = exports.VenBalanceXlsxFileService = exports.TallySalesImportXlsxFileService = exports.StockXlsxFileService = exports.IssueSparesXlsxFileService = exports.ScheduledDrugXlsxFileService = exports.ScheduledDrugSummaryXlsxFileService = exports.SalesByServiceSummaryXlsxFileService = exports.SummaryXlsxFileService = exports.ServiceAdvisorWisePartXlsxFileService = exports.ServiceAdvisorWiseLaborXlsxFileService = exports.RepairOrdersXlsxFileService = exports.PaymentsMadeXlsxFileService = exports.PaymentReceiveXlsxFileService = exports.OperatorWiseSummaryXlsxFileService = exports.OperatorWiseDetailsXlsxFileService = exports.ManfWiseSalesXlsxFileService = exports.ItemsWiseSalesXlsxFileService = exports.ItemWiseMOSummaryXlsxFileService = exports.ItemWiseMODetailsXlsxFileService = exports.ItemWiseDoctorSaleXlsxFileService = exports.InvoicesWiseXlsxFileService = exports.InsuranceExpireXlsxFileService = exports.GSTR2ExcelService = exports.GSTR1ExcelService = exports.GSTROXlsxFileService = exports.ExpiringDrugsXlsxFileService = exports.SalesByCustomerXlsxFileService = exports.CustWiseSalesXlsxFileService = exports.CustBalanceXlsxFileService = exports.CategoryWiseItemXlsxFileService = exports.AnalysisXlsxFileService = void 0;
4
4
  exports.TaskPDfService = exports.PrintSharedService = exports.SharedPDFService = exports.SharedInvoiceprintService = exports.WOPrintService = exports.ScheduledDrugSummaryPDFService = exports.ScheduledDrugPDFService = exports.SalesTotalsService = exports.SaleReceiptPrintService = exports.SalesReceiptpdfService = exports.SalesPrintService = exports.SalesPdfService = exports.SalesByServiceSummaryPDF = exports.ROTotalsService = exports.ROPrintService = exports.RoprintService = exports.RepairOrdersReportsPDFService = exports.ReorderPointPDFService = exports.ReceiptPrintService = exports.PurchaseOrderPDFService = exports.PurchaseOrderTotalsService = exports.PurchaseOrderPrintService = exports.PosReceiptPrintService = exports.POTotalsService = exports.PaymentsReportPDFService = exports.ReceiptPDFService = exports.PackShipPrintService = exports.PackShipPDFService = exports.OperatorWiseSalesSummaryPDF = exports.OperatorWiseSalesDetailsPDF = exports.MaterialOutprintService = exports.MeetingPdfService = exports.ManfWiseSalesService = exports.ItemWiseSalesPDFService = exports.ItemWiseMOSummaryPDF = exports.ItemWiseMODetailsPDF = exports.ItemWiseDoctorSalePDFService = exports.ItemDetaisPdf = exports.IssuePartsprintService = exports.InvoiceTotalsService = exports.InvoiceLandscapePdfService = exports.InsuranceExpirePDF = exports.ExpiringDrugPDFService = exports.EstPrintService = exports.EquipmentDesignPdf = exports.DeliveryChallanTotalsService = exports.DeliveryChallanPrintService = exports.DeliveryChallanPdfService = exports.DebitNoteTotalsService = exports.DebitNotePrintService = void 0;
5
- exports.CountryEnum = exports.CreateInvoicePDFService = exports.CreateReceiptPDFService = exports.GetInvoicePrintInfo = exports.GetBillPdfDataUrl = exports.GetBillPDF = exports.GetInvoicePDF = exports.ProductWithoutOwnerPDFService = exports.ProductWithoutOwnerXlsxFileService = exports.Divide = exports.Multiply = exports.Subtract = exports.Add = exports.ServiceHistoryPDFService = exports.GetNumber = exports.GetAgeString = exports.IsNull = exports.IsNotNull = exports.GetServicePriceForPriceList = exports.ApplyServicePriceListToOpcode = exports.ApplyServicePriceListToProcedure = exports.CalcItemFinalSalePrice = exports.GetItemPriceForPriceList = exports.SalesReceiveTotalsService = exports.SalesReceivePrintService = exports.SalesReceivePdfService = exports.AdjustmentDrugPDFService = exports.HSNSummaryPDFService = exports.HSNSummaryExcelService = exports.ItemBarCodeLabelPdf = exports.NextServiceDatePDFService = exports.NextServiceDateXlsxFileService = exports.ConsultationLetterHeadPDFService = exports.InvoiceLetterheadPdfService = exports.InvoicePortraitPrintService = exports.HCInvoiceprintService = exports.InvoiceprintService = exports.MyDate = exports.TrUtils = exports.VendorDebitNoteTotalsService = exports.VendorDebitNotePrintService = exports.VendorDebitNotePdfService = exports.VendorCreditNoteTotalsService = exports.VendorCreditNotePrintService = exports.VendorCreditNotePDFService = exports.VendorBalancesService = exports.TransferOrderPrintService = exports.TechnicianPrintService = exports.TechnicianpdfService = exports.TaskReportsPDfService = void 0;
6
- exports.ConvertFlatToTaxes = exports.ValidateHSNSACLength = exports.ValidateTaxId = exports.RoundAmount = exports.CalculateWithholding = exports.FindTaxCodeByRateAndSupplyType = exports.DetermineSupplyType = exports.ComputeTaxSummary = exports.SumTaxComponents = exports.ExtractNetFromInclusive = exports.CalculateLineTax = exports.TaxTreatmentEnum = void 0;
5
+ exports.CreateInvoicePDFService = exports.CreateReceiptPDFService = exports.GetInvoicePrintInfo = exports.GetBillPdfDataUrl = exports.GetBillPDF = exports.GetSalesReceiptPDF = exports.GetInvoicePDF = exports.ProductWithoutOwnerPDFService = exports.ProductWithoutOwnerXlsxFileService = exports.Divide = exports.Multiply = exports.Subtract = exports.Add = exports.ServiceHistoryPDFService = exports.GetNumber = exports.GetAgeString = exports.IsNull = exports.IsNotNull = exports.GetServicePriceForPriceList = exports.ApplyServicePriceListToOpcode = exports.ApplyServicePriceListToProcedure = exports.CalcItemFinalSalePrice = exports.GetItemPriceForPriceList = exports.SalesReceiveTotalsService = exports.SalesReceivePrintService = exports.SalesReceivePdfService = exports.AdjustmentDrugPDFService = exports.HSNSummaryPDFService = exports.HSNSummaryExcelService = exports.ItemBarCodeLabelPdf = exports.NextServiceDatePDFService = exports.NextServiceDateXlsxFileService = exports.ConsultationLetterHeadPDFService = exports.InvoiceLetterheadPdfService = exports.InvoicePortraitPrintService = exports.HCInvoiceprintService = exports.InvoiceprintService = exports.MyDate = exports.TrUtils = exports.VendorDebitNoteTotalsService = exports.VendorDebitNotePrintService = exports.VendorDebitNotePdfService = exports.VendorCreditNoteTotalsService = exports.VendorCreditNotePrintService = exports.VendorCreditNotePDFService = exports.VendorBalancesService = exports.TransferOrderPrintService = exports.TechnicianPrintService = exports.TechnicianpdfService = exports.TaskReportsPDfService = void 0;
6
+ exports.ConvertFlatToTaxes = exports.ValidateHSNSACLength = exports.ValidateTaxId = exports.RoundAmount = exports.CalculateWithholding = exports.FindTaxCodeByRateAndSupplyType = exports.DetermineSupplyType = exports.ComputeTaxSummary = exports.SumTaxComponents = exports.ExtractNetFromInclusive = exports.CalculateLineTax = exports.TaxTreatmentEnum = exports.CountryEnum = void 0;
7
7
  var analysis_excel_service_1 = require("./accounting/invoice/reports/excel/analysis-excel.service");
8
8
  Object.defineProperty(exports, "AnalysisXlsxFileService", { enumerable: true, get: function () { return analysis_excel_service_1.AnalysisXlsxFileService; } });
9
9
  var category_wise_item_excel_service_1 = require("./accounting/invoice/reports/excel/category-wise-item-excel.service");
@@ -285,6 +285,7 @@ var product_without_owner_pdf_service_1 = require("./common/reports/pdf/product-
285
285
  Object.defineProperty(exports, "ProductWithoutOwnerPDFService", { enumerable: true, get: function () { return product_without_owner_pdf_service_1.ProductWithoutOwnerPDFService; } });
286
286
  var invoice_pdf_service_1 = require("./accounting/invoice/invoice-pdf.service");
287
287
  Object.defineProperty(exports, "GetInvoicePDF", { enumerable: true, get: function () { return invoice_pdf_service_1.GetInvoicePDF; } });
288
+ Object.defineProperty(exports, "GetSalesReceiptPDF", { enumerable: true, get: function () { return invoice_pdf_service_1.GetSalesReceiptPDF; } });
288
289
  var bill_pdf_service_1 = require("./purchases/bills/bill-pdf.service");
289
290
  Object.defineProperty(exports, "GetBillPDF", { enumerable: true, get: function () { return bill_pdf_service_1.GetBillPDF; } });
290
291
  var bill_pdf_service_2 = require("./purchases/bills/bill-pdf/bill-pdf.service");
@@ -11,7 +11,10 @@ function buildDataRow(item, index, headerConfig, fixedTo = 2) {
11
11
  var _a;
12
12
  if (column.type === 'tax') {
13
13
  const taxValue = getTaxValue(item, column.dbField, column.taxKind);
14
- const renderedTaxValue = formatNumericLikeValue(taxValue, fixedTo);
14
+ const signedTaxValue = shouldRenderNegativeTaxAmount(item, column)
15
+ ? negateNumericLikeValue(taxValue)
16
+ : taxValue;
17
+ const renderedTaxValue = formatNumericLikeValue(signedTaxValue, fixedTo);
15
18
  return { text: renderedTaxValue, fontSize: pdf_table_config_1.pdfTableStyleConfig.bodyFontSize, color: pdf_table_config_1.pdfTableStyleConfig.bodyFontColor, alignment: getNumericAlignment(renderedTaxValue) };
16
19
  }
17
20
  const header = column.header;
@@ -50,7 +53,10 @@ function formatFieldValue(item, fieldConfig, fixedTo) {
50
53
  if (isExpiryField(fieldConfig)) {
51
54
  return formatExpiryDateValue(rawValue);
52
55
  }
53
- return formatNumericLikeValue(rawValue, fixedTo, shouldSkipFixedTo(fieldConfig));
56
+ const signedValue = shouldRenderNegativeField(item, fieldConfig)
57
+ ? negateNumericLikeValue(rawValue)
58
+ : rawValue;
59
+ return formatNumericLikeValue(signedValue, fixedTo, shouldSkipFixedTo(fieldConfig));
54
60
  }
55
61
  function getTaxValue(item, taxName, taxKind) {
56
62
  if (taxName === 'IGST') {
@@ -62,6 +68,30 @@ function getTaxValue(item, taxName, taxKind) {
62
68
  : [`${taxName}Amt`, taxName];
63
69
  return getFirstFieldValue(item, fields);
64
70
  }
71
+ function shouldRenderNegativeTaxAmount(item, column) {
72
+ return !!(item === null || item === void 0 ? void 0 : item.Ret) && (column === null || column === void 0 ? void 0 : column.taxKind) === 'amount';
73
+ }
74
+ function shouldRenderNegativeField(item, fieldConfig) {
75
+ var _a;
76
+ if (!(item === null || item === void 0 ? void 0 : item.Ret)) {
77
+ return false;
78
+ }
79
+ const headerText = String((_a = fieldConfig === null || fieldConfig === void 0 ? void 0 : fieldConfig.text) !== null && _a !== void 0 ? _a : '').trim().toUpperCase();
80
+ return headerText === 'QTY'
81
+ || headerText === 'OFFER QTY'
82
+ || headerText === 'PRICE'
83
+ || headerText === 'LINE TOTAL';
84
+ }
85
+ function negateNumericLikeValue(value) {
86
+ if (!isNumericLike(String(value !== null && value !== void 0 ? value : ''))) {
87
+ return value;
88
+ }
89
+ const normalized = Number(String(value).replace(/,/g, '').trim());
90
+ if (!Number.isFinite(normalized)) {
91
+ return value;
92
+ }
93
+ return String(normalized === 0 ? 0 : -Math.abs(normalized));
94
+ }
65
95
  function getFirstFieldValue(item, dbFields = []) {
66
96
  for (const field of dbFields) {
67
97
  const value = readValue(item, field);
@@ -88,13 +88,14 @@ function getAvailablePageWidth(pageSize, orientation, margins) {
88
88
  }
89
89
  function calculateSectionTotals(rows) {
90
90
  return rows.reduce((acc, row) => {
91
- acc.qty += readNumericValue(row, ['Qty']);
92
- acc.priceTotal += readNumericValue(row, ['UnPr', 'Pr', 'UnCo']);
93
- acc.discountAmount += readNumericValue(row, ['Disc']);
94
- acc.cgstAmount += readNumericValue(row, ['CGSTAmt', 'CGST']);
95
- acc.sgstAmount += readNumericValue(row, ['SGSTAmt', 'SGST']);
96
- acc.igstAmount += readNumericValue(row, ['IGSTAmt', 'IGST']);
97
- acc.lineTotal += readNumericValue(row, ['LineTotal']);
91
+ const sign = (row === null || row === void 0 ? void 0 : row.Ret) ? -1 : 1;
92
+ acc.qty += sign * readNumericValue(row, ['Qty']);
93
+ acc.priceTotal += sign * readNumericValue(row, ['UnPr', 'Pr', 'UnCo']);
94
+ acc.discountAmount += sign * readNumericValue(row, ['Disc']);
95
+ acc.cgstAmount += sign * readNumericValue(row, ['CGSTAmt', 'CGST']);
96
+ acc.sgstAmount += sign * readNumericValue(row, ['SGSTAmt', 'SGST']);
97
+ acc.igstAmount += sign * readNumericValue(row, ['IGSTAmt', 'IGST']);
98
+ acc.lineTotal += sign * readNumericValue(row, ['LineTotal']);
98
99
  return acc;
99
100
  }, {
100
101
  qty: 0,
@@ -169,7 +170,7 @@ function buildFallbackDataRow(item, index, fallbackHeaderRow, fixedTo) {
169
170
  return { text: renderedValue, fontSize: pdf_table_config_1.pdfTableStyleConfig.bodyFontSize, color: pdf_table_config_1.pdfTableStyleConfig.bodyFontColor, alignment: (0, pdf_table_row_1.getNumericAlignment)(renderedValue) };
170
171
  }
171
172
  else if (header.taxKind === 'amount') {
172
- const value = (0, pdf_table_row_1.getFirstFieldValue)(item, ['CGSTAmt']);
173
+ const value = getDisplayValueForFallbackRow(item, ['CGSTAmt'], true);
173
174
  const renderedValue = formatNumericLikeValue(value, fixedTo);
174
175
  return { text: renderedValue, fontSize: pdf_table_config_1.pdfTableStyleConfig.bodyFontSize, color: pdf_table_config_1.pdfTableStyleConfig.bodyFontColor, alignment: (0, pdf_table_row_1.getNumericAlignment)(renderedValue) };
175
176
  }
@@ -181,7 +182,7 @@ function buildFallbackDataRow(item, index, fallbackHeaderRow, fixedTo) {
181
182
  return { text: renderedValue, fontSize: pdf_table_config_1.pdfTableStyleConfig.bodyFontSize, color: pdf_table_config_1.pdfTableStyleConfig.bodyFontColor, alignment: (0, pdf_table_row_1.getNumericAlignment)(renderedValue) };
182
183
  }
183
184
  else if (header.taxKind === 'amount') {
184
- const value = (0, pdf_table_row_1.getFirstFieldValue)(item, ['SGSTAmt']);
185
+ const value = getDisplayValueForFallbackRow(item, ['SGSTAmt'], true);
185
186
  const renderedValue = formatNumericLikeValue(value, fixedTo);
186
187
  return { text: renderedValue, fontSize: pdf_table_config_1.pdfTableStyleConfig.bodyFontSize, color: pdf_table_config_1.pdfTableStyleConfig.bodyFontColor, alignment: (0, pdf_table_row_1.getNumericAlignment)(renderedValue) };
187
188
  }
@@ -192,7 +193,7 @@ function buildFallbackDataRow(item, index, fallbackHeaderRow, fixedTo) {
192
193
  return { text: renderedValue, fontSize: pdf_table_config_1.pdfTableStyleConfig.bodyFontSize, color: pdf_table_config_1.pdfTableStyleConfig.bodyFontColor, alignment: (0, pdf_table_row_1.getNumericAlignment)(renderedValue) };
193
194
  }
194
195
  if (header.text === 'IGST Amt') {
195
- const value = (0, pdf_table_row_1.getFirstFieldValue)(item, ['IGSTAmt']);
196
+ const value = getDisplayValueForFallbackRow(item, ['IGSTAmt'], true);
196
197
  const renderedValue = formatNumericLikeValue(value, fixedTo);
197
198
  return { text: renderedValue, fontSize: pdf_table_config_1.pdfTableStyleConfig.bodyFontSize, color: pdf_table_config_1.pdfTableStyleConfig.bodyFontColor, alignment: (0, pdf_table_row_1.getNumericAlignment)(renderedValue) };
198
199
  }
@@ -200,7 +201,7 @@ function buildFallbackDataRow(item, index, fallbackHeaderRow, fixedTo) {
200
201
  const value = String(index + 1);
201
202
  return { text: value, fontSize: pdf_table_config_1.pdfTableStyleConfig.bodyFontSize, color: pdf_table_config_1.pdfTableStyleConfig.bodyFontColor, alignment: (0, pdf_table_row_1.getNumericAlignment)(value) };
202
203
  }
203
- const mainValue = formatNumericLikeValue((0, pdf_table_row_1.getFirstFieldValue)(item, header.dbFields), fixedTo);
204
+ const mainValue = formatNumericLikeValue(getDisplayValueForFallbackRow(item, header.dbFields, shouldNegateFallbackHeaderValue(item, header.text)), fixedTo);
204
205
  const stackedLines = ((_a = header.stackFields) !== null && _a !== void 0 ? _a : [])
205
206
  .map((stackField) => {
206
207
  const stackValue = formatNumericLikeValue((0, pdf_table_row_1.getFirstFieldValue)(item, stackField.dbFields), fixedTo);
@@ -325,6 +326,27 @@ function resolveFixedTo(value) {
325
326
  }
326
327
  return Math.floor(parsed);
327
328
  }
329
+ function shouldNegateFallbackHeaderValue(item, headerText) {
330
+ if (!(item === null || item === void 0 ? void 0 : item.Ret)) {
331
+ return false;
332
+ }
333
+ const normalized = String(headerText !== null && headerText !== void 0 ? headerText : '').trim().toUpperCase();
334
+ return normalized === 'QTY'
335
+ || normalized === 'OFFER QTY'
336
+ || normalized === 'PRICE'
337
+ || normalized === 'LINE TOTAL';
338
+ }
339
+ function getDisplayValueForFallbackRow(item, dbFields = [], shouldNegate = false) {
340
+ const value = (0, pdf_table_row_1.getFirstFieldValue)(item, dbFields);
341
+ if (!shouldNegate) {
342
+ return value;
343
+ }
344
+ const normalized = Number(String(value !== null && value !== void 0 ? value : '').replace(/,/g, '').trim());
345
+ if (!Number.isFinite(normalized)) {
346
+ return value;
347
+ }
348
+ return String(normalized === 0 ? 0 : -Math.abs(normalized));
349
+ }
328
350
  function formatNumericLikeValue(value, fixedTo) {
329
351
  if (!value) {
330
352
  return value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.6.41",
3
+ "version": "1.6.43",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",