feat(inventory): implement numeric stock inventory across fullstack and improve prescription UX handoff
This commit is contained in:
1 parent
e9582430e6
commit
741365f04c
13 files changed
+177
-47
No files matched your search
@@ -187,7 +187,7 @@ export class TorobController {
|
||||
const isInStock =
|
||||
product.stockStatus !== 'DISCONTINUED' &&
|
||||
product.stockStatus !== 'OUT_OF_STOCK' &&
|
||||
(product.packageSize === null || Number(product.packageSize) > 0) &&
|
||||
(product.stock === undefined || product.stock > 0) &&
|
||||
String(product.stockStatus || '')
|
||||
.toLowerCase()
|
||||
.includes('in');
|
||||
|
||||
Reference in new issue
Block a user