Update show-log-general.blade.php
This commit is contained in:
@@ -44,9 +44,12 @@
|
|||||||
@foreach ($logs as $log)
|
@foreach ($logs as $log)
|
||||||
<tr
|
<tr
|
||||||
class="border-gray-200 text-left w-full pl-4
|
class="border-gray-200 text-left w-full pl-4
|
||||||
@if (isset($log->tipo) && $log->tipo == 'corregido') bg-green-200 @endif
|
@if (isset($log->tipo)) @if ($log->tipo == 'corregido') bg-green-200
|
||||||
|
@elseif($log->tipo == 'revertida') bg-orange-200 @endif
|
||||||
|
@endif
|
||||||
hover:bg-gray-200 hover:ring-gray-500 select-text">
|
hover:bg-gray-200 hover:ring-gray-500 select-text">
|
||||||
|
|
||||||
|
|
||||||
<td class="pl-2">{{ $log->user->name ?? '' }}</td>
|
<td class="pl-2">{{ $log->user->name ?? '' }}</td>
|
||||||
<td class="pl-2">{{ $log->detalle ?? '' }}</td>
|
<td class="pl-2">{{ $log->detalle ?? '' }}</td>
|
||||||
<td class="pl-2">{{ $log->created_at->format('d M Y h:i A') ?? '' }}</td>
|
<td class="pl-2">{{ $log->created_at->format('d M Y h:i A') ?? '' }}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user