|
|
|
@ -606,7 +606,7 @@ class _OrderDetailsPageState extends State<OrderDetailsPage> {
|
|
|
|
if (widget.orderModel.orderStatusId == 30 || widget.orderModel.orderStatusId == 997 || widget.orderModel.orderStatusId == 994)
|
|
|
|
if (widget.orderModel.orderStatusId == 30 || widget.orderModel.orderStatusId == 997 || widget.orderModel.orderStatusId == 994)
|
|
|
|
return Color(0xFF4CAF50);
|
|
|
|
return Color(0xFF4CAF50);
|
|
|
|
else if (widget.orderModel.orderStatusId == 20 || widget.orderModel.orderStatusId == 995 || widget.orderModel.orderStatusId == 998 || widget.orderModel.orderStatusId == 999)
|
|
|
|
else if (widget.orderModel.orderStatusId == 20 || widget.orderModel.orderStatusId == 995 || widget.orderModel.orderStatusId == 998 || widget.orderModel.orderStatusId == 999)
|
|
|
|
return Colors.grey[700];
|
|
|
|
return Colors.grey[500];
|
|
|
|
else if (widget.orderModel.orderStatusId == 10)
|
|
|
|
else if (widget.orderModel.orderStatusId == 10)
|
|
|
|
return Colors.orange[300];
|
|
|
|
return Colors.orange[300];
|
|
|
|
else if (widget.orderModel.orderStatusId == 40 || widget.orderModel.orderStatusId == 996 || widget.orderModel.orderStatusId == 200) return Colors.red[900];
|
|
|
|
else if (widget.orderModel.orderStatusId == 40 || widget.orderModel.orderStatusId == 996 || widget.orderModel.orderStatusId == 200) return Colors.red[900];
|
|
|
|
|