mirror of
https://github.com/itflow-org/itflow
synced 2026-03-23 14:05:38 +00:00
Allow both Client and Contact to be sorted in same column in ticket list
This commit is contained in:
@@ -24,20 +24,17 @@
|
|||||||
Subject <?php if ($sort == 'ticket_subject') { echo $order_icon; } ?>
|
Subject <?php if ($sort == 'ticket_subject') { echo $order_icon; } ?>
|
||||||
</a>
|
</a>
|
||||||
</th>
|
</th>
|
||||||
<?php if (!$client_url) { ?>
|
|
||||||
<th>
|
<th>
|
||||||
|
<?php if (!$client_url) { ?>
|
||||||
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=client_name&order=<?php echo $disp; ?>">
|
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=client_name&order=<?php echo $disp; ?>">
|
||||||
Client / <span class="text-secondary">Contact</span> <?php if ($sort == 'client_name') { echo $order_icon; } ?>
|
Client <?php if ($sort == 'client_name') { echo $order_icon; } ?> /
|
||||||
</a>
|
</a>
|
||||||
</th>
|
<?php } ?>
|
||||||
<?php } ?>
|
<a class="text-secondary <?php if ($client_url) { echo "text-dark"; } ?>" href="?<?php echo $url_query_strings_sort; ?>&sort=contact_name&order=<?php echo $disp; ?>">
|
||||||
<?php if ($client_url) { ?>
|
|
||||||
<th>
|
|
||||||
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=contact_name&order=<?php echo $disp; ?>">
|
|
||||||
Contact <?php if ($sort == 'contact_name') { echo $order_icon; } ?>
|
Contact <?php if ($sort == 'contact_name') { echo $order_icon; } ?>
|
||||||
</a>
|
</a>
|
||||||
</th>
|
</th>
|
||||||
<?php } ?>
|
|
||||||
<?php if ($config_module_enable_accounting && lookupUserPermission("module_sales") >= 2) { ?>
|
<?php if ($config_module_enable_accounting && lookupUserPermission("module_sales") >= 2) { ?>
|
||||||
<th class="text-center">
|
<th class="text-center">
|
||||||
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_billable&order=<?php echo $disp; ?>">
|
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_billable&order=<?php echo $disp; ?>">
|
||||||
|
|||||||
Reference in New Issue
Block a user