update carton list and editor
This commit is contained in:
@@ -87,10 +87,11 @@ const shipment_local_dropoff = "Local drop off";
|
||||
const shipment_courier_dropoff = "Courier drop off";
|
||||
|
||||
//Carton types
|
||||
const carton_from_packages = "From packages";
|
||||
const carton_from_packages = "Carton for packages";
|
||||
const carton_mix_carton = "Mix carton";
|
||||
|
||||
const carton_from_cartons = "From cartons";
|
||||
const carton_from_shipments = "From shipments";
|
||||
const carton_mix_carton = "Mix carton";
|
||||
const carton_small_bag = "Small bag";
|
||||
const carton_mix_box = "Mix box";
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ class Carton {
|
||||
String? mixCartonNumber;
|
||||
String? cartonSizeID;
|
||||
String? cartonSizeName;
|
||||
double? cartonWeight;
|
||||
double cartonWeight;
|
||||
|
||||
int rate;
|
||||
int weight;
|
||||
@@ -158,7 +158,7 @@ class Carton {
|
||||
this.mixBoxType,
|
||||
this.mixCartons = const [],
|
||||
this.mixCartonIDs = const [],
|
||||
this.cartonWeight});
|
||||
this.cartonWeight =0});
|
||||
|
||||
Map<String, dynamic> toMap() {
|
||||
List _cargoTypes = cargoTypes.map((c) => c.toMap()).toList();
|
||||
|
||||
7
lib/domain/vo/local_step.dart
Normal file
7
lib/domain/vo/local_step.dart
Normal file
@@ -0,0 +1,7 @@
|
||||
enum StepType { TYPE, CARTONS, SIZE, PACKAGES, CARGOS, SUBMIT }
|
||||
|
||||
class LocalStep {
|
||||
String lable;
|
||||
StepType stepType;
|
||||
LocalStep({required this.lable, required this.stepType});
|
||||
}
|
||||
Reference in New Issue
Block a user