@things-factory/operato-wms 4.3.637 → 4.3.638

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