shareneus 1.7.328 → 1.7.330

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.
@@ -80,8 +80,10 @@ function GetItemPriceForPriceList(item, priceList, includeMargin = false, quanti
80
80
  if (includeMargin && (0, util_1.IsNotNull)(element.Cost)) {
81
81
  element.Margin = (0, math_operations_1.GetMarginValue)(element.Price, element.Cost);
82
82
  }
83
+ console.log('element', element);
83
84
  }
84
85
  }
86
+ console.log('item after price list application', item);
85
87
  return item;
86
88
  }
87
89
  return CalculatePriceBasedOnPriceList(item, priceList, includeMargin, resolvedQty);
@@ -192,10 +192,10 @@ class WOPrintService {
192
192
  [{ text: ROPrintData.SANotes, style: 'tableHeader', colSpan: 2, lineHeight: 1, opacity: 0.9, }, ''],
193
193
  [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
194
194
  [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
195
- [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
196
- [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
197
- [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
198
- [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
195
+ // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
196
+ // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
197
+ // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
198
+ // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
199
199
  // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
200
200
  // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
201
201
  // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.7.328",
3
+ "version": "1.7.330",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -91,9 +91,10 @@ export function GetItemPriceForPriceList(
91
91
  if (includeMargin && IsNotNull(element.Cost)) {
92
92
  element.Margin = GetMarginValue(element.Price, element.Cost);
93
93
  }
94
+ console.log('element', element);
94
95
  }
95
96
  }
96
-
97
+ console.log('item after price list application', item);
97
98
  return item;
98
99
  }
99
100
 
@@ -220,10 +220,10 @@ export class WOPrintService {
220
220
  [{ text: ROPrintData.SANotes, style: 'tableHeader', colSpan: 2, lineHeight: 1, opacity: 0.9, }, ''],
221
221
  [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
222
222
  [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
223
- [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
224
- [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
225
- [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
226
- [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
223
+ // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
224
+ // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
225
+ // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
226
+ // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
227
227
  // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
228
228
  // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],
229
229
  // [{ text: '', style: 'tableHeader', colSpan: 2, lineHeight: 1 }, ''],