@if(Session::has('success'))
{{Session::get('success')}}
@endif
@if(Session::has('fails'))
{{Session::get('fails')}}
@endif
| {{Lang::get('lang.name')}} |
{{Lang::get('lang.user_name')}} |
{{Lang::get('lang.status')}} |
{{Lang::get('lang.group')}} |
{{Lang::get('lang.department')}} |
{{Lang::get('lang.created')}} |
{{Lang::get('lang.lastlogin')}} |
{{Lang::get('lang.action')}} |
@foreach($user as $use)
| {{$use -> user_name }} |
{{$use -> user_name }} |
@if($use->account_type=='1')
{{'Active'}}
@else
{{'Inactive'}}
@endif
| {{$use -> assign_group }} |
{{$use -> primary_dpt }} |
{{$use -> created_at}} |
{{$use -> Lastlogin_at}} |
{!! Form::open(['route'=>['agents.destroy', $use->id],'method'=>'DELETE']) !!}
{!! Form::button(' Delete',
['type' => 'submit',
'class'=> 'actions-line icon-trash',
'onclick'=>'return confirm("Are you sure?")'])
!!}
{!! Form::close() !!}
|
@endforeach