Pricing integration

This commit is contained in:
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>