{{ define "carpool_bookings_list" }} {{template "booking_filters" dict "tab" "carpoolService" "filters" .ViewState.filters "geography_filters_enabled" .ViewState.geography_filters_enabled "geography_filters_list" .ViewState.geography_filters_list }} {{if eq (len .ViewState.bookings) 0}}
Aucun trajet déclaré
{{else}} {{$inrange := false}}
1) this.currentPage--; }, goToPage(page) { this.currentPage = page; }, getStatusBadge(status) { if (status === 'WAITING_DRIVER_CONFIRMATION') return { class: 'p-1 text-xs bg-gray-300 rounded-xl', text: 'Attente confirmation' }; if (status === 'WAITING_PASSENGER_CONFIRMATION') return { class: 'p-1 text-xs bg-gray-300 rounded-xl', text: 'Attente confirmation passager' }; if (status === 'CONFIRMED') return { class: 'p-1 text-xs bg-co-green rounded-xl', text: 'Confirmé' }; if (status === 'VALIDATED') return { class: 'p-1 text-xs bg-co-green rounded-xl', text: 'Validé' }; if (status === 'CANCELLED') return { class: 'p-1 text-xs bg-co-red text-white rounded-xl', text: 'Annulé' }; return { class: '', text: '' }; } }">
Conducteur Passager Départ Destination Date Statut Prix  
{{end}} {{end}}