From 53d10408753ee87991102aa8e5dfaa805a0ef410 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 12 Feb 2020 08:14:04 +1100 Subject: [PATCH] Fix allocation count --- InvenTree/InvenTree/static/script/inventree/build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/InvenTree/static/script/inventree/build.js b/InvenTree/InvenTree/static/script/inventree/build.js index c80cc00252..aa938ecd53 100644 --- a/InvenTree/InvenTree/static/script/inventree/build.js +++ b/InvenTree/InvenTree/static/script/inventree/build.js @@ -1,5 +1,6 @@ function updateAllocationTotal(id, count, required) { + count = parseFloat(count); $('#allocation-total-'+id).html(count);