@things-factory/operato-wms 4.3.635 → 4.3.637

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.
Files changed (92) hide show
  1. package/client/pages/adjustment/transfer-inventory.js +12 -7
  2. package/client/pages/bulk-operation/bulk-operation.js +22 -24
  3. package/client/pages/bulk-operation/validate-b2c-ro-popup.js +4 -14
  4. package/client/pages/bulk-operation/validate-gan-popup.js +11 -26
  5. package/client/pages/bulk-operation/validate-ro-popup.js +6 -16
  6. package/client/pages/components/list-view/product-list-view.js +1 -1
  7. package/client/pages/components/select-inventory-popup.js +5 -1
  8. package/client/pages/components/select-product-popup.js +9 -4
  9. package/client/pages/inbound/putaway/putaway-product.js +70 -92
  10. package/client/pages/inbound/putaway/putaway-replenishment-same-product-popup.js +3 -10
  11. package/client/pages/inbound/putaway/putaway-same-carton-popup.js +1 -1
  12. package/client/pages/inbound/putaway/putaway-worksheet-generate-popup.js +1 -1
  13. package/client/pages/inbound/putaway/undo-putaway-popup.js +16 -19
  14. package/client/pages/inbound/putaway/worksheet-putaway-return.js +1 -1
  15. package/client/pages/inbound/putaway/worksheet-putaway.js +3 -3
  16. package/client/pages/inbound/undo-unload-popup.js +1 -1
  17. package/client/pages/inbound/unload-product.js +37 -33
  18. package/client/pages/inbound/unloaded-inventories-popup.js +1 -1
  19. package/client/pages/inbound/worksheet-unloading-return.js +1 -1
  20. package/client/pages/inbound/worksheet-unloading.js +2 -2
  21. package/client/pages/inventory/inventory-adjustment.js +20 -5
  22. package/client/pages/inventory/inventory-by-product.js +43 -43
  23. package/client/pages/inventory/onhand-inventory.js +2 -2
  24. package/client/pages/inventory-check/add-extra-inventory-popup.js +10 -2
  25. package/client/pages/inventory-check/cycle-count-recheck-popup.js +2 -2
  26. package/client/pages/inventory-check/cycle-count-report.js +14 -19
  27. package/client/pages/inventory-check/inspecting-product.js +14 -2
  28. package/client/pages/master/location-list.js +9 -25
  29. package/client/pages/order/arrival-notice/arrival-notice-detail.js +23 -27
  30. package/client/pages/order/arrival-notice/assign-buffer-location.js +2 -2
  31. package/client/pages/order/arrival-notice/check-arrived-notice.js +2 -2
  32. package/client/pages/order/arrival-notice/create-arrival-notice.js +33 -29
  33. package/client/pages/order/arrival-notice/duplicate-arrival-notice.js +8 -8
  34. package/client/pages/order/arrival-notice/edit-product-popup.js +29 -27
  35. package/client/pages/order/arrival-notice/proceed-edit-product-popup.js +3 -3
  36. package/client/pages/order/arrival-notice/receive-arrival-notice.js +1 -1
  37. package/client/pages/order/arrival-notice/rejected-arrival-notice.js +1 -1
  38. package/client/pages/order/arrival-notice/view-product-changes-popup.js +3 -3
  39. package/client/pages/order/draft-release-good/draft-release-good-detail.js +2 -2
  40. package/client/pages/order/release-order/b2c/b2c-release-order-detail.js +92 -91
  41. package/client/pages/order/release-order/b2c/create-b2c-release-order.js +61 -56
  42. package/client/pages/order/release-order/create-release-order.js +64 -55
  43. package/client/pages/order/release-order/receive-release-order-request.js +1 -1
  44. package/client/pages/order/release-order/rejected-release-order.js +2 -2
  45. package/client/pages/order/release-order/release-extra-product-popup.js +11 -7
  46. package/client/pages/order/release-order/release-order-detail.js +158 -116
  47. package/client/pages/order/return-order/create-return-order.js +16 -3
  48. package/client/pages/order/return-order/return-order-inventory-popup.js +2 -1
  49. package/client/pages/outbound/inventory-assign-popup.js +2 -2
  50. package/client/pages/outbound/inventory-auto-assign-popup.js +1 -1
  51. package/client/pages/outbound/inventory-reassign-popup.js +6 -6
  52. package/client/pages/outbound/loading-product.js +3 -3
  53. package/client/pages/outbound/loading-v2/load-by-qty.js +2 -2
  54. package/client/pages/outbound/loading-v2/loading-execution-base.js +4 -4
  55. package/client/pages/outbound/packing-product.js +7 -26
  56. package/client/pages/outbound/picking-product.js +36 -16
  57. package/client/pages/outbound/picking-replacement-popup.js +4 -4
  58. package/client/pages/outbound/picking-v2/picking-execution-base.js +8 -4
  59. package/client/pages/outbound/sorting-product.js +5 -7
  60. package/client/pages/outbound/worksheet-batch-picking.js +30 -43
  61. package/client/pages/outbound/worksheet-loading.js +2 -2
  62. package/client/pages/outbound/worksheet-packing.js +1 -1
  63. package/client/pages/outbound/worksheet-picking.js +23 -19
  64. package/client/pages/outbound/worksheet-return.js +1 -1
  65. package/client/pages/outbound/worksheet-sorting.js +12 -23
  66. package/client/pages/outbound/worksheet-zone-picking.js +3 -3
  67. package/client/pages/report/replenishment-report.js +5 -14
  68. package/client/pages/report/volume-summary-report.js +6 -6
  69. package/dist-server/graphql/resolvers/outbound/sort-item.js +1 -1
  70. package/dist-server/graphql/resolvers/outbound/sort-item.js.map +1 -1
  71. package/dist-server/graphql/resolvers/reports/cycle-count-report.js +2 -1
  72. package/dist-server/graphql/resolvers/reports/cycle-count-report.js.map +1 -1
  73. package/dist-server/graphql/resolvers/zone-worksheet/zone-picking.js +18 -7
  74. package/dist-server/graphql/resolvers/zone-worksheet/zone-picking.js.map +1 -1
  75. package/dist-server/graphql/types/outbound/index.js +1 -1
  76. package/dist-server/graphql/types/reports/cycle-count-report.js +1 -1
  77. package/dist-server/graphql/types/reports/inbound-order-details-report.js +1 -1
  78. package/dist-server/graphql/types/reports/outbound-order-details-report.js +2 -2
  79. package/dist-server/graphql/types/zone-worksheet/index.js +1 -1
  80. package/package.json +16 -16
  81. package/server/graphql/resolvers/outbound/sort-item.ts +1 -1
  82. package/server/graphql/resolvers/reports/cycle-count-report.ts +2 -1
  83. package/server/graphql/resolvers/zone-worksheet/zone-picking.ts +20 -8
  84. package/server/graphql/types/outbound/index.ts +1 -1
  85. package/server/graphql/types/reports/cycle-count-report.ts +1 -1
  86. package/server/graphql/types/reports/inbound-order-details-report.ts +1 -1
  87. package/server/graphql/types/reports/outbound-order-details-report.ts +2 -2
  88. package/server/graphql/types/zone-worksheet/index.ts +1 -1
  89. package/translations/en.json +265 -259
  90. package/translations/ko.json +1 -0
  91. package/translations/ms.json +1580 -1463
  92. package/translations/zh.json +2354 -2150
@@ -302,7 +302,7 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
302
302
  name="qty"
303
303
  min="0"
304
304
  @change="${e => {
305
- let qtyInputValue = parseInt(this.qtyInput.value) || null
305
+ let qtyInputValue = parseFloat(this.qtyInput.value) || null
306
306
  if (!Number.isInteger(parseFloat(this.qtyInput.value))) {
307
307
  this.qtyInput.value = qtyInputValue
308
308
  }
@@ -324,7 +324,7 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
324
324
  @keypress="${e => {
325
325
  if (e.keyCode === 13) {
326
326
  e.preventDefault()
327
- if (parseInt(this.qtyInput.value) < 0) {
327
+ if (parseFloat(this.qtyInput.value) < 0) {
328
328
  this.qtyInput.value = 0
329
329
  } else if (this.qtyInput.value && this.toLocationNameInput.value === '') {
330
330
  this.focusOnToLocationInput()
@@ -493,21 +493,21 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
493
493
  width: 80
494
494
  },
495
495
  {
496
- type: 'integer',
496
+ type: 'float',
497
497
  name: 'qty',
498
498
  label: true,
499
499
  header: i18next.t('field.qty'),
500
500
  width: 60
501
501
  },
502
502
  {
503
- type: 'integer',
503
+ type: 'float',
504
504
  name: 'lockedQty',
505
505
  label: true,
506
506
  header: i18next.t('field.reserve_qty'),
507
507
  width: 60
508
508
  },
509
509
  {
510
- type: 'integer',
510
+ type: 'float',
511
511
  name: 'availableQty',
512
512
  label: true,
513
513
  header: i18next.t('field.available_qty'),
@@ -652,7 +652,7 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
652
652
  cartonId: this.refInventoryType === INVENTORY_TYPES.CARTON.value ? this.newCartonInput?.value : null,
653
653
  fromLocationName: this._selectedInventory.location.name,
654
654
  toLocationName: this.toLocationNameInput.value,
655
- qty: parseInt(this.qtyInput.value)
655
+ qty: parseFloat(this.qtyInput.value)
656
656
  }
657
657
 
658
658
  const response = await client.mutate({
@@ -701,8 +701,13 @@ class TransferInventory extends connect(store)(localize(i18next)(PageView)) {
701
701
  throw new Error(i18next.t('text.not_enough_available_qty'))
702
702
  }
703
703
 
704
- if (!parseInt(this.qtyInput?.value || 0) > 0) {
704
+ if (!parseFloat(this.qtyInput?.value || 0) > 0) {
705
705
  throw new Error(i18next.t('text.please_enter_transfer_qty'))
706
+ } else {
707
+ const qty = this.qtyInput?.value
708
+ if ((qty.toString().split('.')[1] || '').length > 3) {
709
+ throw new Error(i18next.t('text.transfer_qty_cannot_exceed_3_decimal_places'))
710
+ }
706
711
  }
707
712
 
708
713
  if (!this.toLocationNameInput.value) {
@@ -5,24 +5,13 @@ import './validate-ro-popup'
5
5
  import './validate-b2c-ro-popup'
6
6
 
7
7
  import gql from 'graphql-tag'
8
- import {
9
- css,
10
- html
11
- } from 'lit-element'
8
+ import { css, html } from 'lit-element'
12
9
  import XLSX from 'xlsx'
13
10
 
14
11
  import { MultiColumnFormStyles } from '@things-factory/form-ui'
15
- import {
16
- i18next,
17
- localize
18
- } from '@things-factory/i18n-base'
12
+ import { i18next, localize } from '@things-factory/i18n-base'
19
13
  import { openPopup } from '@things-factory/layout-base'
20
- import {
21
- client,
22
- CustomAlert,
23
- navigate,
24
- PageView
25
- } from '@things-factory/shell'
14
+ import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
26
15
  import { sleep } from '@things-factory/utils'
27
16
 
28
17
  import { fetchSettingRule } from '../../fetch-setting-value'
@@ -176,7 +165,12 @@ class BulkOperation extends localize(i18next)(PageView) {
176
165
  }
177
166
 
178
167
  get _ganData() {
179
- let date = (new Date().getDate().toString().padStart(2, '0') + '/' + (new Date().getMonth() + 1).toString().padStart(2, '0') + '/' + new Date().getFullYear())
168
+ let date =
169
+ new Date().getDate().toString().padStart(2, '0') +
170
+ '/' +
171
+ (new Date().getMonth() + 1).toString().padStart(2, '0') +
172
+ '/' +
173
+ new Date().getFullYear()
180
174
  return [
181
175
  {
182
176
  refNo: '',
@@ -191,7 +185,7 @@ class BulkOperation extends localize(i18next)(PageView) {
191
185
  sku: '',
192
186
  batchId: '',
193
187
  batchIdRef: '',
194
- lotId:'',
188
+ lotId: '',
195
189
  packingType: '',
196
190
  packingSize: 0,
197
191
  uom: '',
@@ -210,11 +204,11 @@ class BulkOperation extends localize(i18next)(PageView) {
210
204
  refNo2: '',
211
205
  refNo3: '',
212
206
  releaseDate:
213
- (new Date().getDate().toString().padStart(2, '0') +
207
+ new Date().getDate().toString().padStart(2, '0') +
214
208
  '/' +
215
209
  (new Date().getMonth() + 1).toString().padStart(2, '0') +
216
210
  '/' +
217
- new Date().getFullYear()),
211
+ new Date().getFullYear(),
218
212
  attentionTo: '',
219
213
  attentionCompany: '',
220
214
  deliveryAddress1: '',
@@ -289,12 +283,12 @@ class BulkOperation extends localize(i18next)(PageView) {
289
283
  packingSize: 0,
290
284
  uom: '',
291
285
  releaseQty: 0,
292
- expirationDate:
286
+ expirationDate:
293
287
  new Date().getDate().toString().padStart(2, '0') +
294
288
  '/' +
295
289
  (new Date().getMonth() + 1).toString().padStart(2, '0') +
296
290
  '/' +
297
- new Date().getFullYear(),
291
+ new Date().getFullYear()
298
292
  }
299
293
  ]
300
294
  }
@@ -537,11 +531,13 @@ class BulkOperation extends localize(i18next)(PageView) {
537
531
  packingType: raw.packingType && raw.packingType != '' ? String(raw.packingType) : null,
538
532
  packingSize: !isNaN(Number(raw.packingSize || 'x')) ? Number(raw.packingSize) : null,
539
533
  uom: raw.uom && raw.uom != '' ? String(raw.uom) : null,
540
- packQty: parseInt(raw.packQty || 0),
534
+ packQty: parseFloat(raw.packQty || 0),
541
535
  palletQty: parseInt(raw.palletQty || 0),
542
536
  palletId: String(raw.lotId || ''),
543
537
  unitPrice: raw.unitPrice,
544
- manufactureDate: Number.isInteger(raw.manufactureDate) ? raw.manufactureDate.toString() : raw.manufactureDate,
538
+ manufactureDate: Number.isInteger(raw.manufactureDate)
539
+ ? raw.manufactureDate.toString()
540
+ : raw.manufactureDate,
545
541
  etaDate: Number.isInteger(raw.etaDate) ? raw.etaDate.toString() : raw.etaDate
546
542
  }
547
543
  })}
@@ -660,12 +656,14 @@ class BulkOperation extends localize(i18next)(PageView) {
660
656
  packingType: record.packingType && record.packingType != '' ? String(record.packingType) : null,
661
657
  packingSize: !isNaN(Number(record.packingSize || 'x')) ? Number(record.packingSize) : null,
662
658
  uom: record.uom && record.uom != '' ? String(record.uom) : null,
663
- releaseQty: parseInt(record.releaseQty),
659
+ releaseQty: parseFloat(record.releaseQty),
664
660
  type: 'b2c',
665
661
  exportOption: false,
666
662
  packingOption: true,
667
663
  courierOption: true,
668
- expirationDate: Number.isInteger(record.expirationDate) ? record.expirationDate.toString() : record.expirationDate,
664
+ expirationDate: Number.isInteger(record.expirationDate)
665
+ ? record.expirationDate.toString()
666
+ : record.expirationDate
669
667
  }
670
668
  })}
671
669
  .bizplaceId=${this._roB2cBizplaceId}
@@ -2,20 +2,10 @@ import '@material/mwc-button/mwc-button'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import {
6
- css,
7
- html,
8
- LitElement
9
- } from 'lit-element'
5
+ import { css, html, LitElement } from 'lit-element'
10
6
 
11
- import {
12
- i18next,
13
- localize
14
- } from '@things-factory/i18n-base'
15
- import {
16
- client,
17
- CustomAlert
18
- } from '@things-factory/shell'
7
+ import { i18next, localize } from '@things-factory/i18n-base'
8
+ import { client, CustomAlert } from '@things-factory/shell'
19
9
  import { ScrollbarStyles } from '@things-factory/styles'
20
10
  import { isMobileDevice } from '@things-factory/utils'
21
11
 
@@ -309,7 +299,7 @@ class ValidateB2cRoPopup extends localize(i18next)(LitElement) {
309
299
  width: 100
310
300
  },
311
301
  {
312
- type: 'integer',
302
+ type: 'float',
313
303
  name: 'releaseQty',
314
304
  header: i18next.t('field.release_qty'),
315
305
  width: 150
@@ -2,25 +2,12 @@ import '@material/mwc-button/mwc-button'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import {
6
- css,
7
- html,
8
- LitElement
9
- } from 'lit-element'
5
+ import { css, html, LitElement } from 'lit-element'
10
6
 
11
- import {
12
- i18next,
13
- localize
14
- } from '@things-factory/i18n-base'
15
- import {
16
- client,
17
- CustomAlert
18
- } from '@things-factory/shell'
7
+ import { i18next, localize } from '@things-factory/i18n-base'
8
+ import { client, CustomAlert } from '@things-factory/shell'
19
9
  import { ScrollbarStyles } from '@things-factory/styles'
20
- import {
21
- isMobileDevice,
22
- sleep
23
- } from '@things-factory/utils'
10
+ import { isMobileDevice, sleep } from '@things-factory/utils'
24
11
 
25
12
  import { fetchSettingRule } from '../../fetch-setting-value'
26
13
 
@@ -191,7 +178,7 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
191
178
  width: 100
192
179
  },
193
180
  {
194
- type: 'integer',
181
+ type: 'float',
195
182
  name: 'packQty',
196
183
  header: i18next.t('field.pack_qty'),
197
184
  width: 150
@@ -428,20 +415,18 @@ class ValidateGanPopup extends localize(i18next)(LitElement) {
428
415
  let batchSkuPairs = this.records
429
416
  .filter(item => item.batchId !== null && item.sku !== null) // Filter out items with null batchId or sku
430
417
  .map(item => `${item.batchId.toLowerCase()}-${item.sku.toLowerCase()}-${item.refNo.toLowerCase()}`) // Create a combined key of batchId and sku
431
-
418
+
432
419
  let uniqueBatchSkuPairs = new Set(batchSkuPairs)
433
420
  if (uniqueBatchSkuPairs.size !== batchSkuPairs.length) {
434
421
  throw new Error(i18next.t('text.duplicated_batch_id_and_sku'))
435
422
  }
436
423
  } else {
437
- let palletIds = this.records
438
- .map(item => item.palletId)
439
- .filter(palletId => palletId !== null)
424
+ let palletIds = this.records.map(item => item.palletId).filter(palletId => palletId !== null)
440
425
 
441
- let uniquePalletIds = new Set(palletIds);
442
- if (uniquePalletIds.size !== palletIds.length) {
443
- throw new Error(i18next.t('text.duplicated_lot_id'));
444
- }
426
+ let uniquePalletIds = new Set(palletIds)
427
+ if (uniquePalletIds.size !== palletIds.length) {
428
+ throw new Error(i18next.t('text.duplicated_lot_id'))
429
+ }
445
430
  }
446
431
  }
447
432
 
@@ -2,20 +2,10 @@ import '@material/mwc-button/mwc-button'
2
2
  import '@things-factory/grist-ui'
3
3
 
4
4
  import gql from 'graphql-tag'
5
- import {
6
- css,
7
- html,
8
- LitElement
9
- } from 'lit-element'
5
+ import { css, html, LitElement } from 'lit-element'
10
6
 
11
- import {
12
- i18next,
13
- localize
14
- } from '@things-factory/i18n-base'
15
- import {
16
- client,
17
- CustomAlert
18
- } from '@things-factory/shell'
7
+ import { i18next, localize } from '@things-factory/i18n-base'
8
+ import { client, CustomAlert } from '@things-factory/shell'
19
9
  import { ScrollbarStyles } from '@things-factory/styles'
20
10
  import { isMobileDevice } from '@things-factory/utils'
21
11
 
@@ -268,13 +258,13 @@ class ValidateRoPopup extends localize(i18next)(LitElement) {
268
258
  width: 150
269
259
  },
270
260
  {
271
- type: 'integer',
261
+ type: 'float',
272
262
  name: 'releaseQty',
273
263
  header: i18next.t('field.release_qty'),
274
264
  width: 150
275
265
  },
276
266
  {
277
- type: 'integer',
267
+ type: 'float',
278
268
  name: 'assignedQty',
279
269
  header: i18next.t('field.assigned_qty'),
280
270
  width: 150
@@ -400,7 +390,7 @@ class ValidateRoPopup extends localize(i18next)(LitElement) {
400
390
  `,
401
391
  variables: { rawReleaseGoods, bizplaceId }
402
392
  })
403
- this.records = response.data.bulkReleaseGoodsAvailableItems
393
+ this.records = response.data.bulkReleaseGoodsAvailableItems
404
394
  }
405
395
 
406
396
  async _generateReleaseOrders() {
@@ -250,7 +250,7 @@ class ProductListView extends localize(i18next)(LitElement) {
250
250
  <input
251
251
  class="input-field"
252
252
  value="${data ? data : 0}"
253
- @change=${e => this._handleValueChange(field.field, parseInt(e.target.value), index)}
253
+ @change=${e => this._handleValueChange(field.field, parseFloat(e.target.value), index)}
254
254
  />
255
255
  </div>
256
256
  </div>`
@@ -459,6 +459,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
459
459
  productBrand
460
460
  productName
461
461
  productSKU
462
+ isInventoryDecimal
462
463
  packingType
463
464
  remainQty
464
465
  remainUomValue
@@ -504,6 +505,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
504
505
  productName
505
506
  productBrand
506
507
  palletId
508
+ isInventoryDecimal
507
509
  location {
508
510
  name
509
511
  type
@@ -562,7 +564,8 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
562
564
  packingType: selectedProduct.packingType,
563
565
  packingSize: selectedProduct.packingSize,
564
566
  primaryUnit: selectedProduct.uom,
565
- primaryValue: selectedProduct.uomValue
567
+ primaryValue: selectedProduct.uomValue,
568
+ isInventoryDecimal: selectedProduct.isInventoryDecimal,
566
569
  },
567
570
  productDetail: {
568
571
  id: selectedProduct.productDetailId
@@ -594,6 +597,7 @@ class SelectInventoryPopUp extends localize(i18next)(LitElement) {
594
597
  remainUomValueWithUom: itm.remainUomValueWithUom,
595
598
  productId: itm.productId,
596
599
  productDetailId: itm.productDetailId,
600
+ isInventoryDecimal: itm.isInventoryDecimal,
597
601
  remainUomValue: itm.remainUomValue,
598
602
  batchId: itm.batchId,
599
603
  batchIdRef: itm.batchIdRef,
@@ -223,6 +223,7 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
223
223
  description
224
224
  type
225
225
  costPrice
226
+ isInventoryDecimal
226
227
  }
227
228
  }
228
229
  total
@@ -245,7 +246,8 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
245
246
  brand: item.product.brand,
246
247
  name: item.name,
247
248
  description: item.product.description,
248
- costPrice: (item.costPrice = (item?.costPrice || 0).toFixed(2))
249
+ costPrice: (item.costPrice = (item?.costPrice || 0).toFixed(2)),
250
+ isInventoryDecimal: item.product.isInventoryDecimal
249
251
  }
250
252
  }) || []
251
253
  }
@@ -273,7 +275,8 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
273
275
  packingSize: record.packingSize,
274
276
  primaryUnit: record.uom,
275
277
  primaryValue: record.uomValue,
276
- costPrice: parseFloat(record.costPrice).toFixed(2)
278
+ costPrice: parseFloat(record.costPrice).toFixed(2),
279
+ isInventoryDecimal: record.isInventoryDecimal
277
280
  }
278
281
  }
279
282
  })
@@ -304,7 +307,8 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
304
307
  packingSize: selectedProduct.packingSize,
305
308
  primaryUnit: selectedProduct.uom,
306
309
  primaryValue: selectedProduct.uomValue,
307
- costPrice: parseFloat(selectedProduct.costPrice).toFixed(2)
310
+ costPrice: parseFloat(selectedProduct.costPrice).toFixed(2),
311
+ isInventoryDecimal: selectedProduct.isInventoryDecimal
308
312
  }
309
313
  }
310
314
  })
@@ -336,7 +340,8 @@ class SelectProductPopup extends localize(i18next)(LitElement) {
336
340
  packingSize: itm.packingSize,
337
341
  primaryUnit: itm.uom,
338
342
  primaryValue: itm.uomValue,
339
- costPrice: parseFloat(itm.costPrice).costPrice
343
+ costPrice: parseFloat(itm.costPrice).costPrice,
344
+ isInventoryDecimal: itm.isInventoryDecimal
340
345
  }
341
346
  }
342
347
  })