|
@if($log->authenticatable_type == App\Models\User::class)
{{ optional($log->user)->name }}
@elseif($log->authenticatable_type == App\Models\Visitor::class)
{{ optional($log->visitor)->name }}
@else
-
@endif
|
{{ $log->login_at
? date(config('choicescrm.date_format_forms'), strtotime($log->login_at))
: '-' }}
|
{{ $log->login_at
? date('H:i:s', strtotime($log->login_at))
: '-' }}
|
{{ $log->logout_at
? date(config('choicescrm.date_format_forms'), strtotime($log->logout_at))
: '-' }}
|
{{ $log->logout_at
? date('H:i:s', strtotime($log->logout_at))
: '-' }}
|
{{ $log->ip_address }}
|
@empty
@endforelse