@extends('layouts.cannavaro.master') @section('header') @stop @section('breadcrumb') @stop @section('content')
@if(Auth::user()->can('user.index')) @endif

Senarai Pengguna

@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'))
{{ Form::actions('useraction',[''=>'-- '.__('Admin::base.select_action').' ', 'enable'=>__('Admin::user.enable')], '', ['class'=>'form-control input-sm']) }}
@endif
@if(count($users) > 0) @foreach($users as $user) @endforeach @else @endif @if(count($users) > 0) @endif
No Staf Nama Staf ID Pengguna Status {{ __('Admin::base.action') }}
{!! ($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
No result(s)
{{ $users->firstItem() }} - {{ $users->lastItem() }} daripada {{ $users->total() }} (Mukasurat {{ $users->currentPage() }})
{{ $users->appends(Request::only('search'))->appends(Request::only('keyword'))->links() }}
{!! Form::close() !!}
@stop @section('footer') @stop