fix number formatting
This commit is contained in:
@@ -38,7 +38,7 @@ class Invoice {
|
||||
CargoType existing = cargoTypes.firstWhere((wc) => wc.id == tc.id);
|
||||
existing.weight += tc.weight;
|
||||
} else {
|
||||
cargoTypes.add(tc);
|
||||
cargoTypes.add(tc.clone());
|
||||
}
|
||||
actualWeight += tc.weight;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user