update pickup and box list

This commit is contained in:
Thinzar Win
2020-06-26 16:17:40 +06:30
parent 59cb172713
commit ace9254093
20 changed files with 1266 additions and 213 deletions

View File

@@ -1,4 +1,5 @@
import 'package:fcs/vo/cargo.dart';
import 'package:fcs/vo/shipping_address.dart';
import 'package.dart';
class Status {
@@ -36,6 +37,8 @@ class Box {
List<Cargo> cargoTypes;
ShippingAddress shippingAddress;
int get amount => rate != null && weight != null ? rate * weight : 0;
String get packageNumber =>
@@ -67,5 +70,6 @@ class Box {
this.cargoDesc,
this.statusHistory,
this.packages,
this.cargoTypes});
this.cargoTypes,
this.shippingAddress});
}