- Départ passager
- {{.driver_journey.PassengerPickup.Properties.label}}
- Destination passager
- {{.driver_journey.PassengerDrop.Properties.label}}
- Départ conducteur
- {{.driver_journey.DriverDeparture.Properties.label}}
- Destination conducteur
- {{.driver_journey.DriverArrival.Properties.label}}
- Kilomètres passager
- {{.driver_journey.PassengerDistance}} km
- Kilomètres conducteur
- {{.driver_journey.DriverDistance}} km
- Horaire départ conducteur
- {{ timeFormat .driver_journey.DriverDepartureDate "02/01/2006 15:04"}}
- Horaire rendez vous passager
- {{ timeFormat .driver_journey.PassengerPickupDate "02/01/2006 15:04"}}
- Temps de trajet (passager)
- {{ printf "%.0f" .driver_journey.Duration.Minutes }} min
- Prix (passager)
-
{{if .pricing_result}}
{{ printf "%.2f" (round2 .pricing_result.passenger.Amount) }} {{.pricing_result.passenger.Currency}}
{{else if .booking}}
{{ printf "%.2f" (round2 .booking.Journey.Price.Amount) }} {{.booking.Journey.Price.Currency}}
{{else}}
0.00 EUR
{{end}}
{{if and .pricing_result .pricing_result.driver (gt (round2 .pricing_result.driver.Amount) 0.0)}}
- Indemnité conducteur
- {{ printf "%.2f" (round2 .pricing_result.driver.Amount) }} {{.pricing_result.driver.Currency}}
{{else if .booking}}
{{if .booking.DriverCompensationAmount}}
{{if gt (round2 .booking.DriverCompensationAmount) 0.0}}
- Indemnité conducteur
- {{ printf "%.2f" (round2 .booking.DriverCompensationAmount) }} {{.booking.DriverCompensationCurrency}}
{{end}}
{{end}}
{{end}}