{{-- Audit Timeline Component (Odoo-style Chatter) Usage in any edit form: @include('admin.audit.components.timeline', [ 'model' => $customer, // Any Eloquent model 'title' => 'Activity Log', // Optional title ]) --}} @php $subjectType = get_class($model); $subjectId = $model->getKey(); $title = $title ?? 'Activity & Notes'; $uniqueId = 'timeline_' . md5($subjectType . $subjectId); @endphp

{{ $title }}

0 activities
{{-- Comment Input --}}
{{ strtoupper(substr(auth('admin')->user()->name ?? auth()->user()->name ?? 'U', 0, 1)) }}{{ strtoupper(substr(explode(' ', auth('admin')->user()->name ?? auth()->user()->name ?? 'User')[1] ?? '', 0, 1)) }}
{{-- Timeline List --}}
Loading activity...