| | |
| | | |
| | | private static String resolveDisplayStatus(String orderStatus, boolean reviewed) { |
| | | if ("PENDING_PAYMENT".equals(orderStatus)) { return "pendingPay"; } |
| | | if ("PENDING_ACCEPT".equals(orderStatus) || "PENDING_MEETING".equals(orderStatus)) { return "pendingGuide"; } |
| | | if ("PENDING_ACCEPT".equals(orderStatus)) { return "pendingAccept"; } |
| | | if ("PENDING_MEETING".equals(orderStatus)) { return "pendingGuide"; } |
| | | if ("IN_SERVICE".equals(orderStatus)) { return "serving"; } |
| | | if ("COMPLETED".equals(orderStatus)) { return reviewed ? "completed" : "pendingReview"; } |
| | | if ("REFUNDED".equals(orderStatus)) { return "refunded"; } |