@php $supportTicketLog = app()->make(\App\Models\Collection\Support\SupportTicketLog::class); @endphp
| ID | {{ __('views.support.logs_table.user') }} | {{ __('views.support.logs_table.action') }} | {{ __('views.support.logs_table.context') }} | {{ __('views.support.logs_table.created_at') }} |
|---|---|---|---|---|
| {{ $log->id }} | {{ $log->user->nombre }} | {{ $log::getActionDescription($log->action) }} |
@if($log->action === $supportTicketLog::ACTION_CHANGE_STATUS)
{{ __('admin.from') }}:
{{ $supportTicket::getStatusDescription($log->context['from'] ?? 0) }}
{{ __('admin.to') }}:
{{ $supportTicket::getStatusDescription($log->context['to'] ?? 0) }}
{{ $log->context['comment'] ?? '' }}
@else
{{ json_encode($log->context) }}
@endif
|
{{ toDate($log->created_at) }} |