update carton form ,info and filter

This commit is contained in:
tzw
2024-10-01 18:15:53 +06:30
parent 02e079c514
commit 41fdc3ef43
13 changed files with 123 additions and 109 deletions

View File

@@ -44,7 +44,10 @@ class CargoType {
factory CargoType.fromMapForCargo(Map<String, dynamic> map, String id) {
return CargoType(
id: id, name: map['name'], weight: map['weight']?.toDouble() ?? 0);
id: id,
name: map['name'],
weight: map['weight']?.toDouble() ?? 0,
displayIndex: map['display_index'] ?? 0);
}
factory CargoType.fromMapForsurcharge(Map<String, dynamic> map, String id) {