@extends('layouts.app') @section('title','Revision Logs') @section('page-title','Revision Logs') @section('page-description','Review changes made to syllabus and programme records, including import activities and manual updates.') @section('page-badge', $logs->total().' entries') @section('content') @php $importCount = $logs->getCollection()->where('action', 'imported')->count(); $editCount = $logs->getCollection()->whereIn('action', ['updated','edited'])->count(); $deleteCount = $logs->getCollection()->where('action', 'deleted')->count(); @endphp
Use View to inspect the record snapshot before and after a change.
| Date & time | User | Action | Record | Before | After | Actions |
|---|---|---|---|---|---|---|
| {{ $l->created_at?->format('d/m/Y') }} {{ $l->created_at?->format('h:i:s A') }} | {{ $l->user?->name ?? 'System' }} {{ $l->user?->role ? ucfirst($l->user->role) : 'Automated action' }} | {{ ucfirst($l->action) }} | {{ $l->record_label }} Log #{{ $l->id }} | Edit | ||
|
No revision logs found
Try a different search term or perform an import/update first.
|
||||||