diff --git a/InvenTree/part/templates/part/allocation.html b/InvenTree/part/templates/part/allocation.html index c87d71814b..913469997f 100644 --- a/InvenTree/part/templates/part/allocation.html +++ b/InvenTree/part/templates/part/allocation.html @@ -39,6 +39,9 @@ { title: 'Allocated', sortable: false, + formatter: function(value, row, index, field) { + return parseFloat(value); + }, }, { title: 'Status', diff --git a/InvenTree/part/templates/part/used_in.html b/InvenTree/part/templates/part/used_in.html index 872288723e..bad93b17ec 100644 --- a/InvenTree/part/templates/part/used_in.html +++ b/InvenTree/part/templates/part/used_in.html @@ -53,6 +53,9 @@ sortable: true, field: 'quantity', title: 'Uses', + formatter: function(value, row, index, field) { + return parseFloat(value); + }, } ],