@extends('admin/layouts/admin') @section('title', __($translatePrefix .'.title')) @section('scripts') @endsection @section('content')
{{ __($translatePrefix. '.subheading') }}
|
#
|
{{ __('global.name') }}
|
{{ __('global.email') }}
|
{{ __('global.status') }}
|
{{ __('admin.roles.role') }}
|
{{ __('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)
{{ __($translatePrefix . '.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->role != null ? $item->role->name : 'None' }} | {{ $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') }} |