diff --git a/ticket.php b/ticket.php index 1179fb99..ca898d4e 100644 --- a/ticket.php +++ b/ticket.php @@ -638,7 +638,7 @@ if (isset($_GET['ticket_id'])) { - +
Billable: @@ -830,7 +830,7 @@ if (isset($_GET['ticket_id'])) {
- + Invoice Ticket @@ -864,10 +864,10 @@ if (isset($_GET['ticket_id'])) { require_once "ticket_merge_modal.php"; - require_once "ticket_invoice_add_modal.php"; - - require_once "ticket_edit_billable_modal.php"; - + if ($config_module_enable_accounting) { + require_once "ticket_edit_billable_modal.php"; + require_once "ticket_invoice_add_modal.php"; + } } diff --git a/ticket_edit_modal.php b/ticket_edit_modal.php index 63e35c14..2313e61a 100644 --- a/ticket_edit_modal.php +++ b/ticket_edit_modal.php @@ -62,6 +62,8 @@
+
@@ -73,8 +75,9 @@
-
+ + diff --git a/tickets.php b/tickets.php index b4a27bc8..8c70b8dd 100644 --- a/tickets.php +++ b/tickets.php @@ -243,30 +243,36 @@ $user_active_assigned_tickets = intval($row['total_tickets_assigned']); } ?>"> Number + href="?&sort=ticket_number&order=">Number Subject + href="?&sort=ticket_subject&order=">Subject Client / Contact + href="?&sort=client_name&order=">Client / Contact + + + Billable + + + + Priority Billable + href="?&sort=ticket_status&order=">Status + Assigned Priority + href="?&sort=ticket_updated_at&order=">Last Response Status - Assigned - - Last Response - - Created + href="?&sort=ticket_created_at&order=">Created @@ -361,6 +367,8 @@ $user_active_assigned_tickets = intval($row['total_tickets_assigned']);
+ X"; } ?> + @@ -390,7 +401,9 @@ $user_active_assigned_tickets = intval($row['total_tickets_assigned']); require "ticket_edit_priority_modal.php"; - require "ticket_edit_billable_modal.php"; + if ($config_module_enable_accounting) { + require "ticket_edit_billable_modal.php"; + } }