mirror of https://github.com/itflow-org/itflow
Add filter to Client Tickets
This commit is contained in:
parent
b764506f28
commit
87f1b9c0be
|
|
@ -18,9 +18,10 @@ if (isset($_GET['status']) && ($_GET['status']) == 'Open') {
|
||||||
$ticket_status_snippet = "ticket_status != 'Closed'";
|
$ticket_status_snippet = "ticket_status != 'Closed'";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_GET['unbilled']) && ($_GET['billable']) == '1') {
|
if (isset($_GET['billable']) && ($_GET['billable']) == '1') {
|
||||||
$billable = '1';
|
$billable = '1';
|
||||||
$ticket_billable_snippet = " AND ticket_billable = 1";
|
$ticket_billable_snippet = " AND ticket_billable = 1";
|
||||||
|
$ticket_status_snippet = $ticket_status . $ticket_billable_snippet;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Rebuild URL
|
//Rebuild URL
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue