mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Fix issue with non integer serial number display
This commit is contained in:
parent
392493e004
commit
4445973548
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ class InvenTreeStockItem extends InvenTreeModel {
|
|||
return sku;
|
||||
}
|
||||
|
||||
int get serialNumber => jsondata['serial'] as int ?? null;
|
||||
String get serialNumber => jsondata['serial'] as String ?? null;
|
||||
|
||||
double get quantity => double.tryParse(jsondata['quantity'].toString() ?? '0');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue