{{ if .ViewState.booking.Price }}
{{ if eq .ViewState.booking.Price.Type.String "FREE" }}
Gratuit
{{ else if eq .ViewState.booking.Price.Type.String "PAYING" }}
{{ printf "%.2f" (round2 .ViewState.booking.Price.Amount) }} {{ .ViewState.booking.Price.Currency }}
{{ else }}
Prix non défini
{{ end }}
{{ else }}
Prix non disponible
{{ end }}
{{if and .ViewState.booking.DriverCompensationAmount .ViewState.booking.DriverCompensationCurrency}}
{{if gt (round2 .ViewState.booking.DriverCompensationAmount) 0.0}}