@extends('admin/layouts/admin') @section('title', __($translatePrefix . '.show.title', ['name' => $item->username])) @section('scripts') @endsection @section('content')
|
#
|
{{ __('global.name') }}
|
{{ __('global.email') }}
|
{{ __('global.status') }}
|
{{ __('admin.customers.show.last_login') }}
|
{{ __('global.created') }}
|
{{ __('global.actions') }} |
|---|---|---|---|---|---|---|
|
{{ __('global.no_results') }} |
@endif
@foreach($items as $item)
||||||
| {{ $item->id }} | {{ $item->username }} | {{ $item->email }} |
@if ($item->isActive())
@if ($item->expires_at != null)
{{ __('admin.staffs.badge.expires_at', ['date' => \Carbon\Carbon::parse($item->expires_at)->format('d/m/y')]) }}
@else
@endif
@if ($item->expires_at != null)
{{ __($translatePrefix . '.badge.expired_at', ['date' => \Carbon\Carbon::parse($item->expires_at)->format('d/m/y')]) }}
@else
@endif
|
{{ $item->last_login != null ? $item->last_login->format('d/m/y H:i:s') : 'None' }} | {{ $item->created_at != null ? $item->created_at->format('d/m/y') : 'None' }} | {{ __('global.show') }} |