mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 00:04:50 +00:00
Add filter to Client Tickets
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user