@if(Auth::user()->can('user.index'))
@endif
{!! Form::open(['action'=>'\App\Modules\Admin\Controllers\UserController@processaction', 'method'=>'post', 'class'=>'form-horizontal']) !!}
{{ csrf_field() }}
@if(Auth::user()->can('perfom.bulk.action'))
@endif
| No Staf |
Nama Staf |
ID Pengguna |
Status |
{{ __('Admin::base.action') }} |
@if(count($users) > 0)
@foreach($users as $user)
| {!! ($user->detail) ? $user->detail->users_detail_staffno : '' !!} |
{!! $user->name !!} |
{!! $user->username !!} |
{!! ($user->status=='1') ? ''.__('Admin::base.active').'' : 'Tidak Aktif' !!}
|
@if(in_array($user->id,[1,2]))
@else
@if($user->approve_status == 1)
@if($user->status == 1)
@if(Auth::user()->can('user.disable'))
@endif
@else
@if(Auth::user()->can('user.enable'))
@endif
@endif
@else
@if(Auth::user()->can('user.enable'))
@endif
@endif
@endif
|
@endforeach
@else
| No result(s) |
@endif
@if(count($users) > 0)
|
{{ $users->firstItem() }} - {{ $users->lastItem() }} daripada {{ $users->total() }} (Mukasurat {{ $users->currentPage() }})
|
@endif
{{ $users->appends(Request::only('search'))->appends(Request::only('keyword'))->links() }}
{!! Form::close() !!}