@php $tz = config('app.display_timezone'); $eventColor = ['created' => 'emerald', 'updated' => 'sky', 'deleted' => 'rose', 'restored' => 'violet', 'merged' => 'amber']; @endphp
{{ trans_choice('{0}No changes|{1}:count change|[2,*]:count changes', $audits->total(), ['count' => number_format($audits->total())]) }} @if ($record && $type !== '') · {{ __('one :type only', ['type' => \Illuminate\Support\Str::lower(\App\Services\Crm\Admin\RecordDirectory::TYPES[$type][1] ?? '')]) }} @endif
| {{ __('When') }} | {{ __('Who') }} | {{ __('What') }} | {{ __('Record') }} | {{ __('Change') }} |
|---|---|---|---|---|
| {{ $entry['when']?->copy()->timezone($tz)->format('j M Y') }} {{ $entry['when']?->copy()->timezone($tz)->format('H:i') }} | {{ $entry['who'] }} |
|
{{ $entry['typeLabel'] }} @if ($entry['url']) {{ $entry['name'] }} @else {{ $entry['name'] }} @endif @if ($entry['deleted']) {{ __('Deleted') }} @endif @if ($entry['type'] && ! ($record && $type === $entry['type'])) @endif |
@if ($entry['changes'] !== [])
{{ __('Reason: :reason', ['reason' => $entry['reason']]) }} @endif |
|
@if ($hasFilters)
|
||||