@extends('owner.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('content')
First Name {{ $user->first_name }}
Last Name {{ $user->last_name }}
Email {{ $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 {{ ($user->loginHistory->count()) ? $user->loginHistory()->latest()->first()->last_login->format('d/m/Y H:i:s') : 'n/a' }}
Last ip {{ ($user->loginHistory->count()) ? $user->loginHistory()->latest()->first()->last_ip : 'n/a' }}
logged in times {{ $user->loginHistory->count() }}
@endsection