fix invoice display

This commit is contained in:
Sai Naw Wun
2020-10-28 06:23:04 +06:30
parent 9f58e7f748
commit bd63e1e161
4 changed files with 54 additions and 46 deletions

View File

@@ -311,9 +311,7 @@ class _ShipmentInfoState extends State<ShipmentInfo> {
children: getBoxList(context, _shipment.boxes),
),
!_isCustomer ? fcsShipmentNumberBox : Container(),
...(_shipment.isAssigned ||
_shipment.isConfirmed ||
_shipment.isPending
...(!_shipment.isPending
? [
handlingFeeBox,
]