update carton

This commit is contained in:
Thinzar Win
2021-01-12 16:59:52 +06:30
parent 9dee2c55f3
commit fddcc91515
11 changed files with 91 additions and 139 deletions

View File

@@ -63,8 +63,6 @@ class _CartonInfoState extends State<CartonInfo> {
void initState() {
super.initState();
_box = widget.box;
// _box.cartonType = carton_from_cargos;
// _box.cartonType = carton_mix_box;
//for shipment weight
volumetricRatio = Provider.of<ShipmentRateModel>(context, listen: false)
.rate
@@ -188,13 +186,13 @@ class _CartonInfoState extends State<CartonInfo> {
);
final consigneefcsIDBox = DisplayText(
text: _box.receiverFCSID != null ? _box.receiverFCSID : "",
text: _box.fcsID != null ? _box.fcsID : "",
labelTextKey: "processing.fcs.id",
icon: FcsIDIcon(),
);
final consigneeNameBox = DisplayText(
text: _box.receiverName != null ? _box.receiverName : "",
text: _box.userName != null ? _box.userName : "",
labelTextKey: "processing.consignee.name",
maxLines: 2,
iconData: Icons.person,