feat: enhance ticket order detail and status display

- Updated ticket status display logic to handle "failed" status and improve "settled_win" condition.
- Refactored TicketOrderDetailScreen to utilize search parameters for dynamic navigation and grouping of tickets.
- Enhanced TicketOrdersListScreen to group ticket items and improve rendering of order details.
- Added new translations for order-related terms in multiple languages to support enhanced user experience.
This commit is contained in:
2026-05-25 16:02:23 +08:00
parent ca3a1db770
commit 3bcbf7d256
10 changed files with 446 additions and 30 deletions

View File

@@ -396,6 +396,14 @@
"detailTitle": "Ticket detail",
"ticketNo": "Ticket {{ticketNo}}",
"orderNo": "Order {{orderNo}}",
"orderNoLabel": "Order No.",
"orderNoAt": "Order No. {{orderNo}} · {{time}}",
"noOrderNo": "—",
"groupDetail": "Order detail",
"groupNotFound": "Could not load this order. Please open it again from My Bets.",
"betItems": "Bet lines",
"itemCount": "{{count}} bet line(s)",
"viewBetLine": "View bet line detail",
"drawNo": "Issue",
"placedAt": "Placed at",
"number": "Number",
@@ -421,6 +429,7 @@
"settledAt": "Settled at {{time}}",
"viewDraw": "View this draw",
"backToOrders": "Back to My Bets",
"backToGroup": "Back to order detail",
"notFound": "Ticket does not exist or cannot be viewed.",
"noData": "No data",
"loadFailed": "Failed to load"
@@ -555,6 +564,7 @@
"pending_payout": "Won, pending payout",
"settled_win": "Paid",
"settled_lose": "Not won",
"failed": "Failed",
"unknown": "{{status}}"
},
"prizeTier": {