@extends('user.layout') @section('content')
| # | {{ __('Image') }} | {{ __('Name') }} | {{ __('Username') }} | {{ __('Email') }} | {{ __('Role') }} | {{ __('Account Status') }} | {{ __('Login Indicator') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
@if (!empty($staff->image))
|
{{ $staff->first_name . ' ' . $staff->last_name }} | {{ $staff->username }} |
{{ $staff->email }} | @if ($staff->role) {{ $staff->role->name }} @else {{ __('No Role') }} @endif |
@if (!empty($staff->last_login_at))
{{ __('Logged In') }}
{{ \Carbon\Carbon::parse($staff->last_login_at)->diffForHumans() }} @else {{ __('Pending (Never Logged In)') }} @endif |
{{ __('Edit') }} |