add Date for diags
This commit is contained in:
parent
42ba42f3a6
commit
65c2f52438
|
@ -27,6 +27,10 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="border-t border-gray-200 px-4 py-5 sm:px-6">
|
<div class="border-t border-gray-200 px-4 py-5 sm:px-6">
|
||||||
<dl class="grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2">
|
<dl class="grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2">
|
||||||
|
<div class="sm:col-span-1">
|
||||||
|
<dt class="text-sm font-medium text-gray-500">Date du diagnostic</dt>
|
||||||
|
<dd class="mt-1 text-sm text-gray-900">{{(timeFrom .ViewState.diag.Diagdate).Format "02/01/2006"}}</dd>
|
||||||
|
</div>
|
||||||
{{if eq .ViewState.diag.Namespace "parcoursmob_beneficiaries"}}
|
{{if eq .ViewState.diag.Namespace "parcoursmob_beneficiaries"}}
|
||||||
<div class="sm:col-span-1">
|
<div class="sm:col-span-1">
|
||||||
<dt class="text-sm font-medium text-gray-500">Type</dt>
|
<dt class="text-sm font-medium text-gray-500">Type</dt>
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
<th scope="col" class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900 sm:pl-6">
|
<th scope="col" class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900 sm:pl-6">
|
||||||
Type
|
Type
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" class="relative py-3.5 pl-3 pr-4 sm:pr-6">
|
<th scope="col" class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900 sm:pl-6">
|
||||||
<span class="sr-only">Actions</span>
|
Date
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" class="relative py-3.5 pl-3 pr-4 sm:pr-6">
|
<th scope="col" class="relative py-3.5 pl-3 pr-4 sm:pr-6">
|
||||||
<span class="sr-only">Actions</span>
|
<span class="sr-only">Actions</span>
|
||||||
|
@ -44,7 +44,6 @@
|
||||||
<a href="/app/diags/{{.ID}}">
|
<a href="/app/diags/{{.ID}}">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
||||||
|
|
||||||
<div class="font-medium text-gray-900">{{.Name}}</div>
|
<div class="font-medium text-gray-900">{{.Name}}</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
||||||
|
@ -58,6 +57,9 @@
|
||||||
<div class="text-gray-500">Diagnostic véhicule réservé</div>
|
<div class="text-gray-500">Diagnostic véhicule réservé</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</td>
|
</td>
|
||||||
|
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
||||||
|
<div class="font-medium text-gray-900">{{(timeFrom .Diagdate).Format "02/01/2006"}}</div>
|
||||||
|
</td>
|
||||||
<td class="whitespace nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
<td class="whitespace nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
||||||
{{if eq .Deleted true}}
|
{{if eq .Deleted true}}
|
||||||
<div class="w-full px-4 py-2 border border-transparent text-sm font-medium rounded-2xl shadow-sm text-white bg-co-red hover:bg-co-red focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Diagnostic retiré</div>
|
<div class="w-full px-4 py-2 border border-transparent text-sm font-medium rounded-2xl shadow-sm text-white bg-co-red hover:bg-co-red focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Diagnostic retiré</div>
|
||||||
|
|
Loading…
Reference in New Issue