Add beneficiaries information to bookings list

This commit is contained in:
Arnaud Delcasse 2024-11-19 15:55:12 +01:00
parent 03f389825e
commit 1d86d44aa8
1 changed files with 6 additions and 3 deletions

View File

@ -67,8 +67,11 @@
{{if .Data.administrator_unavailability}}
<div class="text-gray-900" ></div>
{{else}}
<div class="text-gray-900" ><img class="h-6 w-6 rounded-co"
src="/app/beneficiaries/{{.Driver}}/picture" alt=""></div>
<div class="text-gray-900" >
<!--<img class="h-6 w-6 rounded-co" src="/app/beneficiaries/{{.Driver}}/picture" alt="">-->
{{ (index $.ViewState.drivers_map .Driver).Data.first_name }}
{{ (index $.ViewState.drivers_map .Driver).Data.last_name }}
</div>
{{end}}
</td>
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
@ -94,4 +97,4 @@
</div>
</div>
</div>
{{end}}
{{end}}