mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-04 13:53:18 +00:00
Cleanup
This commit is contained in:
parent
0c4803b889
commit
c2aa51ed95
8 changed files with 28 additions and 19 deletions
|
|
@ -287,6 +287,11 @@ class InvenTreeStockItem extends InvenTreeModel {
|
|||
return 'SN ${serialNumber}';
|
||||
}
|
||||
|
||||
// Is an integer?
|
||||
if (quantity.toInt() == quantity) {
|
||||
return '${quantity.toInt()}';
|
||||
}
|
||||
|
||||
return '${quantity}';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue