|
|
|
@ -70,12 +70,13 @@
|
|
|
|
|
<th class="p-3 text-sm font-semibold tracking-wide text-left">Protocolo</th> |
|
|
|
|
<th class="p-3 text-sm font-semibold tracking-wide text-left">Agente</th> |
|
|
|
|
<th class="p-3 text-sm font-semibold tracking-wide text-left">Interações</th> |
|
|
|
|
<th class="p-3 text-sm font-semibold tracking-wide text-left">Data Atendimento</th> |
|
|
|
|
<th class="p-3 text-sm font-semibold tracking-wide text-left">Data Evento</th> |
|
|
|
|
<th class="p-3 text-sm font-semibold tracking-wide text-left">Inicio Atendimento</th> |
|
|
|
|
<th class="p-3 text-sm font-semibold tracking-wide text-left">Data Abandono</th> |
|
|
|
|
<th class="p-3 text-sm font-semibold tracking-wide text-left">Ação</th> |
|
|
|
|
</tr> |
|
|
|
|
</thead> |
|
|
|
|
@forelse ($atendimentos as $atendimento) |
|
|
|
|
<tbody> |
|
|
|
|
@forelse ($atendimentos as $atendimento) |
|
|
|
|
<tr class="bg-white dark:bg-gray-800 dark:border-gray-600 border-b-2"> |
|
|
|
|
<td class="p-3 text-sm text-gray-700 dark:text-gray-100">{{$atendimento->cliente_id ?? "-"}}</td> |
|
|
|
|
<td class="p-3 text-sm text-gray-700 dark:text-gray-100">{{$atendimento->nome ?? "-"}}</td> |
|
|
|
@ -85,6 +86,13 @@
|
|
|
|
|
<td class="p-3 text-sm text-gray-700 dark:text-gray-100">{{$atendimento->interacao ?? "-"}}</td> |
|
|
|
|
<td class="p-3 text-sm text-gray-700 dark:text-gray-100">{{\Carbon\Carbon::parse($atendimento->data_reg)->format('Y-m-d H:i:s') ?? "-"}}</td> |
|
|
|
|
<td class="p-3 text-sm text-gray-700 dark:text-gray-100">{{\Carbon\Carbon::parse($atendimento->data_evento)->format('Y-m-d H:i:s') ?? "-"}}</td> |
|
|
|
|
<td class="p-3 text-sm text-gray-700 dark:text-gray-100" title="Visualizar conversa"> |
|
|
|
|
<a href="/relatorio/historicoAtendimento/{{$atendimento->uniqueid}}"> |
|
|
|
|
<button class="bg-blue-600 text-white p-2 rounded text-lg w-full"> |
|
|
|
|
<i class="fas fa-eye"></i> |
|
|
|
|
</button> |
|
|
|
|
</a> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
@empty |
|
|
|
|
<div class="flex flex-col gap-3 items-center h-[50vh] justify-center"> |
|
|
|
@ -93,10 +101,9 @@
|
|
|
|
|
</div> |
|
|
|
|
<h1 class="text-gray-100 text-xl">Nenhum registro foi encontrado</h1> |
|
|
|
|
</div> |
|
|
|
|
@endforelse |
|
|
|
|
</tbody> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
@endforelse |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</x-app-layout> |