2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-17 04:35:26 +00:00
This commit is contained in:
Oliver Walters
2022-03-28 21:48:23 +11:00
parent 8233fb39d6
commit 5c0ffe795c
2 changed files with 8 additions and 8 deletions

View File

@ -104,10 +104,10 @@ class InvenTreeStockItemHistory extends InvenTreeModel {
// Serial number takes priority here
if (deltas.containsKey("serial")) {
var serial = (deltas["serial"] ?? "").toString() as String;
var serial = (deltas["serial"] ?? "") as String;
return "# ${serial}";
} else if (deltas.containsKey("quantity")) {
double q = (deltas["quantity"] ?? 0);
double q = (deltas["quantity"] ?? 0) as double;
return simpleNumberString(q);
} else {