add prompt confirmation and update carton
This commit is contained in:
@@ -66,4 +66,14 @@ class FcsShipment {
|
||||
bool isConfirmed() {
|
||||
return status == fcs_shipment_confirmed_status;
|
||||
}
|
||||
|
||||
bool isChangedForEdit(FcsShipment fcsShipment) {
|
||||
return fcsShipment.shipmentNumber != this.shipmentNumber ||
|
||||
fcsShipment.cutoffDate != this.cutoffDate ||
|
||||
fcsShipment.arrivalDate != this.arrivalDate ||
|
||||
fcsShipment.shipType != this.shipType ||
|
||||
fcsShipment.consignee != this.consignee ||
|
||||
fcsShipment.port != this.port ||
|
||||
fcsShipment.destination != this.destination;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user