Skip to content

Commit

Permalink
feat: arrival status and mark as attended on ticket verification page
Browse files Browse the repository at this point in the history
KK-1224
  • Loading branch information
nikomakela committed Oct 14, 2024
1 parent 0eee7fd commit 1ab6439
Show file tree
Hide file tree
Showing 9 changed files with 762 additions and 146 deletions.
17 changes: 16 additions & 1 deletion src/common/translation/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,22 @@
"ticketValidation": {
"valid": "Ticket is valid",
"invalid": "Ticket is not valid",
"error": "Ticket validation failed"
"error": "Ticket validation failed",
"updateTicketAttended": {
"onSuccess": {
"attendedMessage": "Ticket owner is now marked as attended",
"unattendedMessage": "Ticket owner is now marked as unattended"
},
"onError": {
"message": "Ticket processing ended with an error, and the arrival status could not be updated"
},
"switchButton": {
"label": "Ticket owner has arrived"
}
},
"arrivalStatus": {
"label": "Arrival status: %{attendedEnrolmentCount} / %{enrolmentCount}"
}
},
"ticketSystemPassword": {
"passwordsTab": {
Expand Down
17 changes: 16 additions & 1 deletion src/common/translation/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,22 @@
"ticketValidation": {
"valid": "Lippu on voimassa",
"invalid": "Lippu ei ole voimassa",
"error": "Lipun tarkistaminen epäonnistui"
"error": "Lipun tarkistaminen epäonnistui",
"updateTicketAttended": {
"onSuccess": {
"attendedMessage": "Lipun omistaja on nyt merkitty saapuneeksi",
"unattendedMessage": "Lipun omistaja on nyt merkitty saapumattomaksi"
},
"onError": {
"message": "Lipun käsittely päätyi virheeseen, eikä saapumisen tilaa voitu päivittää"
},
"switchButton": {
"label": "Lipun omistaja saapunut paikalle"
}
},
"arrivalStatus": {
"label": "Paikalle saapunut: %{attendedEnrolmentCount} / %{enrolmentCount}"
}
},
"ticketSystemPassword": {
"passwordsTab": {
Expand Down
Loading

0 comments on commit 1ab6439

Please sign in to comment.