Commit e50352ea authored by Volker Krause's avatar Volker Krause

Split car rental delegate completely between pickup and dropoff

parent 0aff3186
......@@ -53,18 +53,22 @@ App.TimelineDelegate {
}
App.PlaceDelegate {
place: reservation.pickupLocation
currentLocation: root.previousLocation
Layout.fillWidth: true
visible: root.rangeType != TimelineModel.RangeEnd
}
QQC2.Label {
text: i18n("Drop-off: %1", Localizer.formatDateTime(reservation, "dropoffTime"))
visible: root.rangeType != TimelineModel.RangeEnd
}
QQC2.Label {
text: reservation.dropoffLocation.name
visible: root.rangeType != TimelineModel.RangeBegin
}
App.PlaceDelegate {
place: reservation.dropoffLocation
Layout.fillWidth: true
visible: root.rangeType != TimelineModel.RangeBegin
}
}
......
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