shareneus 1.5.53 → 1.5.54

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.
@@ -315,6 +315,7 @@ function addLaborHeaderAndTotalRows(Labor, laborLabel, laborTotalLabel, ShowTaxC
315
315
  Labor.unshift(dummypartadding1);
316
316
  }
317
317
  function buildItemRow(item, columns, column, itemLabel) {
318
+ var _a, _b;
318
319
  const hasValue = !tr_utils_1.TrUtils.IsFixedZero(item[column.Field]) && !tr_utils_1.TrUtils.IsNull(item[column.Field]) || (column.text === 'Line Total');
319
320
  if (hasValue) {
320
321
  if (item[column.Field] === itemLabel) {
@@ -382,6 +383,8 @@ function buildItemRow(item, columns, column, itemLabel) {
382
383
  if (!tr_utils_1.TrUtils.IsEmpty(item['EDesc'])) {
383
384
  DescData.push({ text: item['EDesc'].toString(), color: 'grey' });
384
385
  }
386
+ // DescData.push({ text: item['MPN'] ? 'MPN: ' + item['MPN'] : '', color: 'grey', italics: true, marginTop: 2 });
387
+ DescData.push({ text: `B.No: ${(_a = item['Batch']) === null || _a === void 0 ? void 0 : _a.BN} | Ex.Dt: ${my_date_1.MyDate.ConvertUTCDateToReadableExDate((_b = item['Batch']) === null || _b === void 0 ? void 0 : _b.ExDt)} | MRP: ${item['MRP']}`, marginTop: 5 });
385
388
  return { stack: DescData };
386
389
  }
387
390
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.5.53",
3
+ "version": "1.5.54",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",