Add beneficiaries information to bookings list
This commit is contained in:
parent
03f389825e
commit
1d86d44aa8
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue