fix standard class field (thanks Alan Dennis!)

This commit is contained in:
eta 2023-03-02 22:39:22 +00:00
parent 91afbafb7a
commit 1623ddd15c

View File

@ -133,7 +133,7 @@ function onload() {
} }
} }
let adult = data.child_ticket ? "Child" : "Adult"; let adult = data.child_ticket ? "Child" : "Adult";
let first = data.first_class ? "First Class" : "Standard Class"; let first = data.standard_class ? "Standard Class" : "First Class";
document.getElementById("ticket-fromto").innerHTML = origin + " to " + destination; document.getElementById("ticket-fromto").innerHTML = origin + " to " + destination;
if (data.manually_inspect) { if (data.manually_inspect) {
row("", "<i>Manual inspection required</i>"); row("", "<i>Manual inspection required</i>");