mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-16 01:36:29 +00:00
Bug fix for zero quantity pricing (#4765)
- Fix default value for formatPriceRange method - Display empty value in table
This commit is contained in:
@@ -2072,6 +2072,10 @@ function loadStockTable(table, options) {
|
||||
currency = baseCurrency();
|
||||
}
|
||||
|
||||
if (row.quantity <= 0) {
|
||||
return '-';
|
||||
}
|
||||
|
||||
return formatPriceRange(
|
||||
min_price,
|
||||
max_price,
|
||||
|
Reference in New Issue
Block a user