feat(order-tracking): enhance tracking steps logic and delivery status handling
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 5m52s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 5m52s
- Refactored the BuildTrackingSteps method to improve the logic for displaying order tracking steps based on various delivery statuses. - Added handling for new delivery statuses: "آماده تحویل در دفتر" and "مرجوع شده". - Updated the payment status step to consolidate descriptions based on payment completion. - Enhanced the overall user experience by providing clearer tracking information for different order states. These changes improve the clarity and functionality of the order tracking feature, ensuring users receive accurate updates on their order status.
This commit is contained in:
@@ -219,6 +219,8 @@ public class DiscountOrderService
|
||||
2 => "ارسال شده",
|
||||
3 => "تحویل داده شده",
|
||||
4 => "لغو شده",
|
||||
5 => "آماده تحویل در دفتر",
|
||||
6 => "مرجوع شده",
|
||||
_ => "نامشخص"
|
||||
};
|
||||
|
||||
@@ -228,7 +230,9 @@ public class DiscountOrderService
|
||||
1 => Color.Info,
|
||||
2 => Color.Primary,
|
||||
3 => Color.Success,
|
||||
4 => Color.Error,
|
||||
4 => Color.Dark,
|
||||
5 => Color.Primary,
|
||||
6 => Color.Error,
|
||||
_ => Color.Default
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user