active priority

only active priority is showing in ticket edit page and email setting
page
This commit is contained in:
arindam85
2016-10-31 15:13:53 +05:30
parent 53868f5c07
commit 1a8d75e8de
2 changed files with 5 additions and 5 deletions

View File

@@ -76,8 +76,8 @@ class EmailsController extends Controller
$departments = $department->get();
// fetch all the helptopics from the helptopic table
$helps = $help->get();
// fetch all the types of priority from the ticket_priority table
$priority = $ticket_priority->get();
// fetch all the types of active priority from the ticket_priority table
$priority = $ticket_priority->where('status','=',1)->get();
// fetch all the types of mailbox protocols from the mailbox_protocols table
$mailbox_protocols = $mailbox_protocol->get();
@@ -321,8 +321,8 @@ class EmailsController extends Controller
$count = $email->count();
// get all the helptopic
$helps = $help->get();
// get all the priority
$priority = $ticket_priority->get();
// get all active the priority
$priority = $ticket_priority->where('status','=',1)->get();
// get all the mailbox protocols
$mailbox_protocols = $mailbox_protocol->get();