mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix summation of build allocation items
This commit is contained in:
parent
daa8496157
commit
3fd0cf67b6
@ -71,7 +71,7 @@ function loadAllocationTable(table, part_id, part, url, required, button) {
|
||||
var count = 0;
|
||||
|
||||
for (var i = 0; i < results.length; i++) {
|
||||
count += results[i].quantity;
|
||||
count += parseFloat(results[i].quantity);
|
||||
}
|
||||
|
||||
updateAllocationTotal(part_id, count, required);
|
||||
|
Loading…
Reference in New Issue
Block a user