@extends('admin.layouts.master') @section('page_title', __('admin.View :name Details' , ['name' => __('admin.User Activity')])) @section('page_heading', __('admin.View :name Details' , ['name' => __('admin.User Activity')])) @section('page_text', __('admin.View :name Details' , ['name' => __('admin.User Activity')])) @section('page_breadcrumb_icon') @endsection @section('page_breadcrumb_item', 'User Activity') @section('page_breadcrumb_item2', 'User Activity') @section('content')
| First Name | {{ $user->first_name }} |
|---|---|
| Last Name | {{ $user->last_name }} |
| {{ $user->email }} | |
| Property | {{ ($user->profile->property_id)? $user->profile->property->name : '' }} |
| Department | {{ ($user->profile->department_id) ? $user->profile->department->name : '' }} |
| Country | {{ ($user->profile->country_id) ? $user->profile->country->name : '' }} |
| Location | {{ ($user->profile->location_id) ? $user->profile->location->name : '' }} |
| Last login | @if(isset($user->loginHistory)) {{ $user->loginHistory()->latest()->first()->last_login->format('d/m/Y H:i:s') }} @else n/a @endif |
| Last ip | @if(isset($user->loginHistory)) {{ $user->loginHistory()->latest()->first()->last_ip }} @else n/a @endif |
| logged in times | @if(isset($user->loginHistory)) {{ $user->loginHistory->count() }} @else n/a @endif |