mirror of
https://github.com/itflow-org/itflow
synced 2026-03-18 03:34:50 +00:00
Adjust filter to only show unbilled
This commit is contained in:
@@ -19,9 +19,11 @@ if (isset($_GET['status']) && ($_GET['status']) == 'Open') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_GET['billable']) && ($_GET['billable']) == '1') {
|
if (isset($_GET['billable']) && ($_GET['billable']) == '1') {
|
||||||
$billable = 1;
|
if (isset($_GET['unbilled'])) {
|
||||||
$ticket_billable_snippet = "ticket_billable = 1";
|
$billable = 1;
|
||||||
$ticket_status_snippet = '1 = 1';
|
$ticket_billable_snippet = "ticket_billable = 1 AND ticket_invoice_id = 0";
|
||||||
|
$ticket_status_snippet = '1 = 1';
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$billable = 0;
|
$billable = 0;
|
||||||
$ticket_billable_snippet = '1 = 1';
|
$ticket_billable_snippet = '1 = 1';
|
||||||
|
|||||||
Reference in New Issue
Block a user