@extends('layouts.admin') @section('page-title') {{ __('Userlog') }} @endsection @section('title') {{ __('Userlog') }} @endsection @section('breadcrumb') @endsection @section('breadcrumb') @endsection @push('css-page') @endpush @section('content')
{{ Form::open(['route' => ['userlogs.index'], 'method' => 'get', 'id' => 'userlog_filter']) }}
{{ Form::label('month', __('Month'), ['class' => 'form-label']) }}
{{ Form::label('user', __('User'), ['class' => 'form-label']) }} {{ Form::select('user', $userList, isset($_GET['user']) ? $_GET['user'] : '', ['class' => 'form-control select ', 'id' => 'user_id']) }}
{{ Form::close() }}
@foreach ($userlogdetail as $userlogs) @endforeach
{{__('User')}} {{__('Role')}} {{__('Email')}} {{__('Last Login At')}} {{__('IP')}} {{__('Country')}} {{__('OS Name')}} {{__('Device Name')}} {{__('Action')}}
{{ ucfirst($userlogs->name) }} {{ ucfirst($userlogs->type)}} {{ $userlogs->email }} {{ $userlogs->date }} {{ $userlogs->ip }} {{ $json->country }} {{ $json->os_name }} {{ $json->device_type }}
{!! Form::open(['method' => 'DELETE', 'route' => ['userlogs.destroy', $userlogs->id],'id'=>'delete-form-'.$userlogs->id]) !!} {!! Form::close() !!}
@endsection @push('custom-scripts') @endpush