@extends('admin.layout') @section('content')

{{ trans('User log') }} Showing {{($result->currentPage()-1)* $result->perPage()+($result->total() ? 1:0)}} to {{($result->currentPage()-1)*$result->perPage()+count((array) $result)}} of {{$result->total()}} Results

@php $getUserRoleData = userRoleData(); $logs = explode(",",$getUserRoleData->logs); @endphp
@if (count((array) $errors) > 0) @if($errors->any()) @endif @endif
@if(in_array("View",$logs ))
@if(count((array) $result)>0) @foreach ($result as $key=>$uVal) @endforeach @else @endif
Sn {{ trans('Name') }} {{ trans('Role') }} {{ trans('IP Address') }} {{ trans('Date') }}
1 @if(!empty($uVal->first_name)){{ $uVal->first_name }} @endif @if(!empty($uVal->last_name)){{ $uVal->last_name }} @endif @if(!empty($uVal->RoleName)){{ $uVal->RoleName }} @endif @if(!empty($uVal->ip_address)){{ $uVal->ip_address }} @endif @if(!empty($uVal->date)){{ date('d-m-Y H:i:s', strtotime($uVal->date)) }} @endif
{{ trans('labels.NoRecordFound') }}
{{ $result->appends($_GET)->links() }}
@else

Please contact with SuperAdmin

@endif
@endsection