@extends('layouts/layoutMaster') @section('title', __('Audit Logs')) @section('vendor-style') @vite([ 'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.scss', ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js', ]) @endsection @section('page-script') @vite(['resources/js/main-datatable.js']) @endsection @section('content')

@lang('Audit Logs')

@foreach($auditLogs as $auditLog) @endforeach
@lang('Id') @lang('User') @lang('Event') @lang('Ip') @lang('Model') @lang('Created At') @lang('Actions')
{{$auditLog->id}} @if($auditLog->user == null) @lang('N/A') @else
{{$auditLog->user->first_name.' '.$auditLog->user->last_name}} {{$auditLog->user->email}}
@endif
{{$auditLog->event}} {{$auditLog->ip_address}} {{$auditLog->auditable_type}} {{$auditLog->created_at}}
@endsection