@extends('admin.main') @section('content') @if (auth()->guard('admins')->user()->can('manager system log'))
@if (count($logs) > 0) @foreach ($logs->all() as $item) @endforeach @else @endif
Date Description Customer Username Client IP
{{ $item->created_at }} {{ $item->description }} @if ($item->Customer) Customer Code {{ $item->customer_id }}
{{ $item->customer->email }} @else

None

@endif
{{ $item->username }} {{ $item->client_ip }}
No Records Found
@else
Access Denied - You are not assigned to System Log
@endif @endsection