@extends('layout.main') @section('filter')

Filter

{{ Form::text('search', '', array("class"=>"form-control")) }}
{{Form::select('status[]', $status, (Input::get('status')?explode(',',Input::get('status')):$OpenTicketStatus) ,array("class"=>"select2","multiple"=>"multiple"))}}
{{Form::select('priority[]', $Priority, '' ,array("class"=>"select2","multiple"=>"multiple"))}}
{{Form::select('group[]', $Groups, '' ,array("class"=>"select2","multiple"=>"multiple"))}}
@if(User::is_admin()) {{Form::select('agent[]', $Agents, (Input::get('agent')?0:'') ,array("class"=>"select2","multiple"=>"multiple"))}} @else @if( TicketsTable::GetTicketAccessPermission() == TicketsTable::TICKETRESTRICTEDACCESS) @else @endif @endif
@if(User::is_admin()) {{Form::select('requester[]', $Requester, (Input::get('requester')?0:'') ,array("class"=>"select2 requestersearch ","multiple"=>"multiple"))}} @else @if( TicketsTable::GetTicketAccessPermission() == TicketsTable::TICKETRESTRICTEDACCESS) @else @endif @endif
{{Form::select('overdue[]', TicketsTable::$DueFilter, $overdueVal ,array("class"=>"select2","multiple"=>"multiple"))}}
{{ Form::text('StartDate', !empty(Input::get('StartDate'))?Input::get('StartDate'):'', array("class"=>"form-control small-date-input datepicker", "data-date-format"=>"yyyy-mm-dd" ,"data-enddate"=>date('Y-m-d'))) }}
{{ Form::text('EndDate', !empty(Input::get('EndDate'))?Input::get('EndDate'):'', array("class"=>"form-control small-date-input datepicker","data-date-format"=>"yyyy-mm-dd" ,"data-enddate"=>date('Y-m-d'))) }}
{{Form::select('LastReply', TicketsTable::$LastReply ,'',array("class"=>"select2"))}}


@stop @section('content')

Tickets


@if( User::checkCategoryPermission('Tickets','Edit')) @endif
@if( User::checkCategoryPermission('Tickets','Add'))
@endif

Processing...
@stop @section('footer_ext') @parent @stop