@extends('themes.default1.agent.layout.agent') @section('Tickets') class="active" @stop @section('ticket-bar') active @stop @section('inbox') class="active" @stop @section('PageHeader')

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

@stop @section('content') role == 'agent') { $dept = App\Model\helpdesk\Agent\Department::select('id', 'name')->where('id', '=', Auth::user()->primary_dpt)->first(); $dept_name = $dept->name; } else { $dept_name = \Request::segments()[1]; } ?>

{!! $dept_name !!} / {!! $status !!}

@if(Session::has('success'))
{{Session::get('success')}}
@endif @if(Session::has('fails'))
{!! Lang::get('lang.alert') !!}! {{Session::get('fails')}}
@endif {!! Form::open(['id'=>'modalpopup', 'route'=>'select_all','method'=>'post']) !!} {{-- --}} @if(Auth::user()->role == 'admin') @endif
{!!$table->render('vendor.Chumper.template')!!}
{!! Form::close() !!}
{!! $table->script('vendor.Chumper.ticket-dept-javascript') !!} @stop