shareneus 1.5.30 → 1.5.31

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.
@@ -255,6 +255,7 @@ function GetServicePriceForPriceList(service, priceList, equipment = null, quant
255
255
  // Check if equipment-based service (FitPriceCosts) or simple service (Price)
256
256
  if (service.FitPriceCosts && service.FitPriceCosts.length > 0) {
257
257
  // Equipment-based service - need equipment information
258
+ console.log('Equipment-based service pricing detected.', !equipment);
258
259
  if (!equipment) {
259
260
  warnings.push("Equipment information required for equipment-based service pricing.");
260
261
  service.PriceListWarnings = warnings;
@@ -375,6 +376,7 @@ function GetServicePriceForPriceList(service, priceList, equipment = null, quant
375
376
  let baseCostSource = "BASE";
376
377
  if (service.FitPriceCosts && service.FitPriceCosts.length > 0) {
377
378
  // Equipment-based service - need equipment information
379
+ console.log('Equipment-based service pricing detected.', !equipment);
378
380
  if (!equipment) {
379
381
  warnings.push("Equipment information required for equipment-based service costing.");
380
382
  service.PriceListWarnings = warnings;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shareneus",
3
- "version": "1.5.30",
3
+ "version": "1.5.31",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",