add carton editor for package
This commit is contained in:
@@ -15,7 +15,7 @@ class CartonSelectionModel extends BaseModel {
|
||||
bool reachEnd = false;
|
||||
List<Carton> cartons = [];
|
||||
|
||||
bool isLoading= false;
|
||||
bool isLoading = false;
|
||||
|
||||
// for default carton
|
||||
DocumentSnapshot? _lastDocument;
|
||||
@@ -102,7 +102,7 @@ class CartonSelectionModel extends BaseModel {
|
||||
String path = "/$cartons_collection";
|
||||
Query query = FirebaseFirestore.instance
|
||||
.collection(path)
|
||||
.where("fcs_shipment_id", isEqualTo: shipmentId)
|
||||
// .where("fcs_shipment_id", isEqualTo: shipmentId)
|
||||
// .where("status", isEqualTo: carton_processing_status)
|
||||
// .where("carton_type", isEqualTo: carton_mix_box)
|
||||
.where("is_deleted", isEqualTo: false)
|
||||
@@ -134,7 +134,7 @@ class CartonSelectionModel extends BaseModel {
|
||||
notifyListeners();
|
||||
} catch (e) {
|
||||
log.warning("error:$e");
|
||||
}finally{
|
||||
} finally {
|
||||
isLoading = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user