Floating point formatting for BOM table (#3600)

This commit is contained in:
Oliver 2022-08-24 14:16:02 +10:00 committed by GitHub
parent 528da731f2
commit 2dd5a43444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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