Commit 0bfe95ba authored by Volker Krause's avatar Volker Krause

Show train class if available

parent 937bd1d1
...@@ -145,7 +145,9 @@ App.DetailsPage { ...@@ -145,7 +145,9 @@ App.DetailsPage {
Kirigami.Separator { Kirigami.Separator {
Kirigami.FormData.label: i18n("Seat") Kirigami.FormData.label: i18n("Seat")
Kirigami.FormData.isSection: true Kirigami.FormData.isSection: true
visible: reservation.reservedTicket.ticketedSeat.seatNumber != "" || reservation.reservedTicket.ticketedSeat.seatSection != "" visible: reservation.reservedTicket.ticketedSeat.seatNumber != ""
|| reservation.reservedTicket.ticketedSeat.seatSection != ""
|| reservation.reservedTicket.ticketedSeat.seatingType != ""
} }
QQC2.Label { QQC2.Label {
Kirigami.FormData.label: i18n("Coach:") Kirigami.FormData.label: i18n("Coach:")
...@@ -157,6 +159,11 @@ App.DetailsPage { ...@@ -157,6 +159,11 @@ App.DetailsPage {
text: reservation.reservedTicket.ticketedSeat.seatNumber text: reservation.reservedTicket.ticketedSeat.seatNumber
visible: reservation.reservedTicket.ticketedSeat.seatNumber != "" visible: reservation.reservedTicket.ticketedSeat.seatNumber != ""
} }
QQC2.Label {
Kirigami.FormData.label: i18n("Class:")
text: reservation.reservedTicket.ticketedSeat.seatingType
visible: reservation.reservedTicket.ticketedSeat.seatingType != ""
}
// booking details // booking details
Kirigami.Separator { Kirigami.Separator {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment