mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Floating point formatting for BOM table (#3600)
This commit is contained in:
parent
528da731f2
commit
2dd5a43444
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user