Pricing integration

This commit is contained in:
Arnaud Delcasse 2025-05-23 13:34:09 +02:00
parent 4bb249ef2a
commit 5e260b1072
2 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,9 @@
</thead>
<tbody class="divide-y divide-gray-200 bg-white">
{{ range .ViewState.driver_journeys }}
{{if lt .DriverDistance 250}}
{{ $driver := (index $.ViewState.solidarity_drivers .DriverId)}}
<tr>
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">{{ $driver.Data.first_name }} {{ $driver.Data.last_name }}</td>
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">{{ .DriverDistance }} km</td>
@ -41,6 +43,7 @@
</a>
</td>
</tr>
{{end}}
{{ end }}
</tbody>
</table>

View File

@ -7,7 +7,7 @@
</div>
<div class="mt-4 sm:mt-0 sm:ml-16 sm:flex-none">
<!--<a href="/app/journeys/groups_covoiturage">
<border-gray-200utton type="button"
<button type="button"
class="inline-flex items-center justify-center rounded-2xl border border-transparent bg-co-blue px-4 py-2 text-sm font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 sm:w-auto">
{{$.IconSet.Icon "hero:outline/plus-circle" "h-5 w-5 mr-3"}}
Gestion des groupes