@extends('layouts.app') @section('content')
Log ID:
#{{ $auditLog->id }}
Created:
{{ $auditLog->created_at->format('M d, Y H:i:s A') }}
Last Updated:
{{ $auditLog->updated_at->format('M d, Y H:i:s A') }}
Original User:
{{ $auditLog->user ? $auditLog->user->name : 'System' }}
Action:
@php $actionColors = [ 'created' => 'success', 'updated' => 'warning', 'deleted' => 'danger' ]; @endphp {{ ucfirst($auditLog->action) }}