Add history for solidarity transport and organized carpool

This commit is contained in:
Arnaud Delcasse
2025-10-08 21:33:54 +02:00
parent e2e4286858
commit 73d99e7ad7
12 changed files with 459 additions and 14 deletions

View File

@@ -134,6 +134,14 @@
{{ timeFormat .ViewState.booking.PassengerPickupDate.AsTime "02/01/2006 15:04" }}
</dd>
</div>
{{if .ViewState.booking.Distance}}
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
<dt class="text-sm font-medium text-gray-500">Distance</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">
{{ .ViewState.booking.Distance }} km
</dd>
</div>
{{end}}
<div class="py-4 sm:py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
<dt class="text-sm font-medium text-gray-500">Prix (passager)</dt>
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2">