diff --git a/InvenTree/templates/js/translated/bom.js b/InvenTree/templates/js/translated/bom.js index ccee63e30f..3d03e20c94 100644 --- a/InvenTree/templates/js/translated/bom.js +++ b/InvenTree/templates/js/translated/bom.js @@ -1068,10 +1068,10 @@ function loadBomTable(table, options={}) { }); if (can_build == null) { - can_build = '-'; + return '-'; + } else { + return formatDecimal(can_build, 2); } - - return can_build; }, sorter: function(valA, valB, rowA, rowB) { // Function to sort the "can build" quantity