fix error messages in log

This commit is contained in:
o-psi 2023-12-22 16:25:36 +00:00
parent 7709627e5b
commit eb29f74fab
3 changed files with 4 additions and 5 deletions

View File

@ -864,7 +864,7 @@ if (isset($_GET['ticket_id'])) {
require_once "ticket_merge_modal.php";
if ($config_module_enabled_accounting) {
if ($config_module_enable_accounting) {
require_once "ticket_edit_billable_modal.php";
require_once "ticket_invoice_add_modal.php";
}

View File

@ -62,7 +62,7 @@
</div>
</div>
<?php if ($config_module_enabled_accounting) {
<?php if ($config_module_enable_accounting) {
?>
<div class="form-group">
<label>Billable</label>

View File

@ -251,7 +251,7 @@ $user_active_assigned_tickets = intval($row['total_tickets_assigned']);
<th><a class="text-dark"
href="?<?php echo $url_query_strings_sort; ?>&sort=client_name&order=<?php echo $disp; ?>">Client / Contact</a>
</th>
<?php if ($config_module_enabled_accounting) {
<?php if ($config_module_enable_accounting) {
?>
<th class="text-center"><a class="text-dark"
href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_billable&order=<?php echo $disp; ?>">Billable</a>
@ -401,8 +401,7 @@ $user_active_assigned_tickets = intval($row['total_tickets_assigned']);
require "ticket_edit_priority_modal.php";
if ($config_module_enabled_accounting) {
if ($config_module_enable_accounting) {
require "ticket_edit_billable_modal.php";
}