mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Fixes for double.tryParse
This commit is contained in:
parent
40613c9c36
commit
f058cefad2
3 changed files with 5 additions and 6 deletions
|
|
@ -344,7 +344,7 @@ class InvenTreeStockItem extends InvenTreeModel {
|
|||
|
||||
String get serialNumber => jsondata['serial'] ?? "";
|
||||
|
||||
double get quantity => double.tryParse(jsondata['quantity']) ?? 0;
|
||||
double get quantity => double.tryParse(jsondata['quantity'].toString()) ?? 0;
|
||||
|
||||
String get quantityString {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue