More work on ticket table
This commit is contained in:
parent
93dac37532
commit
8c01a46738
@ -71,8 +71,6 @@ foreach ($statuses as $status) {
|
|||||||
}
|
}
|
||||||
$search_filter['critical_on_top'] = true;
|
$search_filter['critical_on_top'] = true;
|
||||||
|
|
||||||
get_tickets($search_filter, $hesk_settings);
|
|
||||||
|
|
||||||
|
|
||||||
hesk_handle_messages();
|
hesk_handle_messages();
|
||||||
?>
|
?>
|
||||||
@ -93,10 +91,14 @@ hesk_handle_messages();
|
|||||||
<p><i><?php echo $hesklang['na_view_tickets']; ?></i></p>
|
<p><i><?php echo $hesklang['na_view_tickets']; ?></i></p>
|
||||||
<?php
|
<?php
|
||||||
else:
|
else:
|
||||||
|
$tickets = get_tickets($search_filter, $hesk_settings);
|
||||||
?>
|
?>
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
|
<thead>
|
||||||
|
<?php foreach ($hesk_settings['ticket_list'] as $ticket_header): ?>
|
||||||
|
<th><?php echo $hesk_settings['possible_ticket_list'][$ticket_header]; ?></th>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</thead>
|
||||||
</table>
|
</table>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -92,6 +92,9 @@ function get_tickets($search_filter, $hesk_settings) {
|
|||||||
|
|
||||||
//Uncomment for debugging purposes
|
//Uncomment for debugging purposes
|
||||||
//echo "SQL: $sql";
|
//echo "SQL: $sql";
|
||||||
|
$results = hesk_dbQuery($sql);
|
||||||
|
|
||||||
|
return $results;
|
||||||
}
|
}
|
||||||
|
|
||||||
function handle_ticket_assignments($search_filter, $sql) {
|
function handle_ticket_assignments($search_filter, $sql) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user