@extends('themes.default1.layouts.blank') @section('Staffs') class="active" @stop @section('staffs-bar') active @stop @section('staffs') class="active" @stop @section('HeadInclude') @stop @section('PageHeader') @stop @section('breadcrumbs') @stop @section('content')

{{Lang::get('lang.agents')}}

{{Lang::get('lang.create_agent')}}
@if(Session::has('success'))
{{Session::get('success')}}
@endif @if(Session::has('fails'))
{{Session::get('fails')}}
@endif @foreach($user as $use) @endforeach
{{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')}}
{{$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() !!}
@section('FooterInclude') @stop @stop