update carton and fcs shipment

This commit is contained in:
tzw
2025-02-17 20:13:30 +06:30
parent ffaa715333
commit 0295a29c44
33 changed files with 171 additions and 2383 deletions

View File

@@ -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)
]))));
}