@extends('layouts.app') @section('content')

{{ __('common.activity_log') }}

{{ __('common.cancel') }}
@forelse($rows as $row) @empty @endforelse
ID {{ __('common.description') }} {{ __('common.event_type') }} {{ __('common.user') }} {{ __('common.created_at') }} {{ __('common.actions') }}
{{ $row->id }} @php $descKey = 'common.event_' . strtolower($row->description); @endphp {{ Lang::has($descKey) ? __($descKey) : $row->description }} @if($row->subject_type) @php $modelBase = strtolower(class_basename($row->subject_type)); $modelKey = 'common.model_' . $modelBase; @endphp {{ Lang::has($modelKey) ? __($modelKey) : class_basename($row->subject_type) }} @else - @endif {{ $row->causer?->name ?? ('#'.$row->causer_id) }} {{ $row->created_at?->format('d.m.Y H:i') }}
{{ __('common.no_record_found') }}
{{ __('common.showing_entries', ['from' => $rows->firstItem() ?? 0, 'to' => $rows->lastItem() ?? 0, 'total' => $rows->total()]) }}
    {{ $rows->links('pagination::bootstrap-5') }}
@endsection @push('scripts') @endpush