update carton and fcs shipment
This commit is contained in:
@@ -376,9 +376,11 @@ class _CartonInfoState extends State<CartonInfo> {
|
||||
labelColor: primaryColor,
|
||||
arrowColor: primaryColor,
|
||||
actions: <Widget>[
|
||||
IconButton(
|
||||
icon: Icon(Icons.edit, color: primaryColor),
|
||||
onPressed: _gotoEditor),
|
||||
_carton.status == carton_packed_status
|
||||
? IconButton(
|
||||
icon: Icon(Icons.edit, color: primaryColor),
|
||||
onPressed: _gotoEditor)
|
||||
: const SizedBox(),
|
||||
]),
|
||||
body: Container(
|
||||
padding: const EdgeInsets.only(left: 20, right: 20),
|
||||
@@ -452,7 +454,9 @@ class _CartonInfoState extends State<CartonInfo> {
|
||||
_carton.photoUrls.isNotEmpty
|
||||
? const SizedBox(height: 40)
|
||||
: const SizedBox(),
|
||||
deleteBtn,
|
||||
_carton.status == carton_packed_status
|
||||
? deleteBtn
|
||||
: const SizedBox(),
|
||||
const SizedBox(height: 20)
|
||||
]))));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user