@extends('backend.layouts.app') @section('title') {{ __('Action Logs - ' . config('app.name')) }} @endsection @php $isActionLogExist = false; @endphp @section('admin-content')

{{ __('Action Logs') }}

{{ __('Action Logs') }}

@include('backend.partials.search-form', [ 'placeholder' => __('Search by title or type'), ])
@forelse ($actionLogs as $log) @php $isActionLogExist = true; @endphp @empty @php $isActionLogExist = false; @endphp @endforelse
{{ __('Sl') }} {{ __('Type') }} {{ __('Title') }} {{ __('Action By') }} {{ __('Data') }} {{ __('Date') }}
{{ $loop->index + 1 }} {{ __(ucfirst($log->type)) }} {{ $log->title }} {{ $log->user->name . ' (' . $log->user->username . ')' ?? '' }} {{ $log->created_at->format('d M Y H:i A') }}

{{ __('No action logs found') }}

{{ $actionLogs->links() }}
@endsection @if ($isActionLogExist) @push('scripts') @endpush @endif @push('scripts') @endpush