@things-factory/sales-base 4.3.222 → 4.3.229

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.
@@ -323,13 +323,13 @@ let OtherQuery = class OtherQuery {
323
323
  ${strictProduct.toLowerCase() === 'false'
324
324
  ? `
325
325
  coalesce(js.packing_type, mpd.packing_type, pdd.packing_type) as "packingType",
326
- coalesce(js.uom, mpd.uom, js.uom) as "uom",
327
- coalesce(js.uom_value, mpd.uom_value, js.uom_value) as "uomValue",
326
+ coalesce(js.uom, mpd.uom, pdd.uom) as "uom",
327
+ coalesce(js.uom_value, mpd.uom_value, pdd.uom_value) as "uomValue",
328
328
  `
329
329
  : `
330
330
  coalesce(mpd.packing_type, pdd.packing_type) as "packingType",
331
- coalesce(mpd.uom, js.uom) as "uom",
332
- coalesce(mpd.uom_value, js.uom_value) as "uomValue",
331
+ coalesce(mpd.uom,pdd.uom) as "uom",
332
+ coalesce(mpd.uom_value, pdd.uom_value) as "uomValue",
333
333
  `}
334
334
  coalesce(mpd.id, pdd.id) AS "productDetailId",
335
335
  coalesce(mpd.cost_price, pdd.cost_price) AS "productDetailCostPrice",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/sales-base",
3
- "version": "4.3.222",
3
+ "version": "4.3.229",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -23,18 +23,18 @@
23
23
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
24
24
  },
25
25
  "dependencies": {
26
- "@things-factory/attachment-base": "^4.3.179",
27
- "@things-factory/auth-base": "^4.3.179",
28
- "@things-factory/biz-base": "^4.3.179",
29
- "@things-factory/code-base": "^4.3.179",
30
- "@things-factory/integration-accounting": "^4.3.219",
31
- "@things-factory/integration-sftp": "^4.3.219",
32
- "@things-factory/notification": "^4.3.186",
33
- "@things-factory/product-base": "^4.3.204",
34
- "@things-factory/setting-base": "^4.3.186",
35
- "@things-factory/shell": "^4.3.179",
36
- "@things-factory/transport-base": "^4.3.179",
37
- "@things-factory/warehouse-base": "^4.3.221"
26
+ "@things-factory/attachment-base": "^4.3.227",
27
+ "@things-factory/auth-base": "^4.3.227",
28
+ "@things-factory/biz-base": "^4.3.227",
29
+ "@things-factory/code-base": "^4.3.227",
30
+ "@things-factory/integration-accounting": "^4.3.227",
31
+ "@things-factory/integration-sftp": "^4.3.227",
32
+ "@things-factory/notification": "^4.3.227",
33
+ "@things-factory/product-base": "^4.3.227",
34
+ "@things-factory/setting-base": "^4.3.227",
35
+ "@things-factory/shell": "^4.3.227",
36
+ "@things-factory/transport-base": "^4.3.227",
37
+ "@things-factory/warehouse-base": "^4.3.229"
38
38
  },
39
- "gitHead": "30576ba559ca164ed077d5bd8f2cd4a0a6d90bf3"
39
+ "gitHead": "1a9442650901fa90683bf6a0928300532e332384"
40
40
  }
@@ -421,13 +421,13 @@ export class OtherQuery {
421
421
  strictProduct.toLowerCase() === 'false'
422
422
  ? `
423
423
  coalesce(js.packing_type, mpd.packing_type, pdd.packing_type) as "packingType",
424
- coalesce(js.uom, mpd.uom, js.uom) as "uom",
425
- coalesce(js.uom_value, mpd.uom_value, js.uom_value) as "uomValue",
424
+ coalesce(js.uom, mpd.uom, pdd.uom) as "uom",
425
+ coalesce(js.uom_value, mpd.uom_value, pdd.uom_value) as "uomValue",
426
426
  `
427
427
  : `
428
428
  coalesce(mpd.packing_type, pdd.packing_type) as "packingType",
429
- coalesce(mpd.uom, js.uom) as "uom",
430
- coalesce(mpd.uom_value, js.uom_value) as "uomValue",
429
+ coalesce(mpd.uom,pdd.uom) as "uom",
430
+ coalesce(mpd.uom_value, pdd.uom_value) as "uomValue",
431
431
  `
432
432
  }
433
433
  coalesce(mpd.id, pdd.id) AS "productDetailId",