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

@@ -31,7 +31,7 @@
<div class="max-w-7xl m-auto px-4 sm:px-6 md:px-8 flex flex-col justify-items-center">
{{if .ViewState.passenger}}
{{if lt .ViewState.passenger_wallet_balance .ViewState.pricing_result.passenger.Amount}}
<p class="text-xl text-co-red text-center p-4">Le solde du compte mobilité est insuffisant.</p>
<p class="text-xl text-co-red text-center p-4">Le solde du compte mobilité est insuffisant. <a href="/app/beneficiaries/{{.ViewState.passenger.ID}}?tab=wallet" class="underline text-co-blue">Créditer le compte</a></p>
{{end}}
<form method="POST">
{{if not .ViewState.driver_journey.Noreturn}}