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

Filter

@if(User::is_admin())
{{Form::select('AccountOwner',$account_owners,User::get_userID(),array("class"=>"select2"))}}
@endif

{{Form::select('TaskStatus',[''=>'Select a Status']+$taskStatus,'',array("class"=>"select2 small"))}}
{{Form::select('AccountIDs',$leadOrAccount,'',array("class"=>"select2"))}}

{{Form::select('DueDateFilter',Task::$tasks,'',array("class"=>"select2 small"))}}

@stop @section('content')

Tasks

@if(User::checkCategoryPermission('Task','Add')) Add Task @endif @if(User::checkCategoryPermission('TaskBoard','Configure')) Configure Board @endif

@include('taskboards.taskmodal') @stop @section('footer_ext') @parent @stop