@extends('layouts.app') @section('title', __('app.audit.title') . ' - PMMS') @section('content')
| {{ __('app.audit.table.time') }} | {{ __('app.audit.table.user') }} | {{ __('app.audit.table.action') }} | {{ __('app.audit.table.entity') }} | {{ __('app.audit.table.details') }} | {{ __('app.audit.table.ip') }} |
|---|---|---|---|---|---|
| {{ \Illuminate\Support\Carbon::parse($log->created_at)->format('d/m/Y H:i:s') }} | {{ $log->user_name }} | {{ $log->action }} | {{ $log->entity_type }}{{ $log->entity_id ? ' #'.$log->entity_id : '' }} |
@if ($log->old_value)
{{ __('app.audit.old_label') }} {{ $log->old_value }}
@endif
@if ($log->new_value)
{{ __('app.audit.new_label') }} {{ $log->new_value }}
@endif
|
{{ $log->ip_address ?? '-' }} |
| {{ __('app.audit.empty') }} | |||||