@extends('layouts.admin') @section('page-title') {{ __('Manage User Log') }} @endsection @section('breadcrumb') @endsection @section('content')
{{ Form::open(['route' => ['userlog'], 'method' => 'get', 'id' => 'userlogin_filter']) }}
{{ Form::label('select_month', __('Select Month'), ['class' => 'form-label']) }} {{ Form::month('month', isset($_GET['month']) ? $_GET['month'] : '', ['class' => 'form-control']) }}
{{ Form::label('user', __('Select User'), ['class' => 'form-label']) }} {{ Form::select('user', $usersList, isset($_GET['user']) ? $_GET['user'] : '', ['class' => 'form-control select ', 'id' => 'user_id']) }}
{{ Form::close() }}
@foreach ($users as $user) @php $data = json_decode($user->details); $month = date('m', strtotime($user->date)); @endphp @if ($month == date('m')) @endif @endforeach
{{ __('Name') }} {{ __('Role') }} {{ __('Email') }} {{ __('Ip') }} {{ __('Last Login') }} {{ __('Country') }} {{ __('Device Type') }} {{ __('OS Name') }} {{ __('Action') }}
{{ $user->user_name }}
{{ $user->role }}
{{ $user->user_email }} {{ $user->ip }} {{ $user->date }} {{ $data->country }} {{ $data->device_type }} {{ $data->os_name }}
@csrf @method('DELETE')
@endsection