Update source into github
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
@extends('admin.main')
|
||||
@section('content')
|
||||
@if (auth()->guard('admins')->user()->can('edit customer'))
|
||||
<div class="card card-outline card-primary">
|
||||
<div class="card-header">
|
||||
@include('admin.block.nav')
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table class="table table-invoice table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Description</th>
|
||||
<th style="width: 100px">Username</th>
|
||||
<th style="width: 100px">Client IP</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@if (count($logs) > 0)
|
||||
@foreach ($logs as $item)
|
||||
<tr>
|
||||
<td>
|
||||
{{ $item->created_at }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $item->description }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $item->username }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $item->client_ip }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="8">
|
||||
No Records Found
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tbody>
|
||||
<tfoot>
|
||||
{!! $logs->withQueryString()->links() !!}
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="alert alert-danger alert-dismissible">
|
||||
<h5 class="mb-0"><i class="icon fas fa-ban"></i> Access Denied - You are not assigned to any Customer
|
||||
management department</h5>
|
||||
</div>
|
||||
@endif
|
||||
@endsection
|
||||
Reference in New Issue
Block a user