From 1058a7c490db66599be767d749dfd7b4eda40bd2 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 22 Nov 2022 10:00:51 +1100 Subject: [PATCH] Simple formatting fix for BOM table (#3984) --- InvenTree/templates/js/translated/bom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/templates/js/translated/bom.js b/InvenTree/templates/js/translated/bom.js index 4bd0504709..eb5da71bb7 100644 --- a/InvenTree/templates/js/translated/bom.js +++ b/InvenTree/templates/js/translated/bom.js @@ -957,10 +957,10 @@ function loadBomTable(table, options={}) { } }); - var total = `${top_total}`; + var total = `${formatDecimal(top_total)}`; if (top_total != all_total) { - total += ` / ${all_total}`; + total += ` / ${formatDecimal(all_total)}`; } return total;