mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 18:01:14 +00:00
Fix another quantity
This commit is contained in:
1 parent
ce323d80ea
commit
441a947dbb
1 file changed
+3
@@ -1643,6 +1643,9 @@ function allocateStockToBuild(build_id, part_id, bom_items, options={}) {
|
|||||||
remaining = 0;
|
remaining = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ensure the quantity sent to the form field is correctly formatted
|
||||||
|
remaining = parseFloat(remaining.toFixed(15));
|
||||||
|
|
||||||
// We only care about entries which are not yet fully allocated
|
// We only care about entries which are not yet fully allocated
|
||||||
if (remaining > 0) {
|
if (remaining > 0) {
|
||||||
table_entries += renderBomItemRow(bom_item, remaining);
|
table_entries += renderBomItemRow(bom_item, remaining);
|
||||||
|
|||||||
Reference in new issue
Block a user