mirror of https://github.com/itflow-org/itflow
update tickets_compact.php
This commit is contained in:
parent
1fb243df11
commit
dec91d116a
|
|
@ -9,35 +9,35 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" id="selectAllCheckbox" type="checkbox" onclick="checkAll(this)">
|
<input class="form-check-input" id="selectAllCheckbox" type="checkbox" onclick="checkAll(this)" onKeyPress="checkAll(this)">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<th>
|
<th scope="col">
|
||||||
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_subject&order=<?php echo $disp; ?>">
|
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_subject&order=<?php echo $disp; ?>">
|
||||||
Ticket <?php if ($sort == 'ticket_subject') { echo $order_icon; } ?>
|
Ticket <?php if ($sort == 'ticket_subject') { echo $order_icon; } ?>
|
||||||
</a>
|
</a>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th scope="col">
|
||||||
<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 <?php if ($sort == 'client_name') { echo $order_icon; } ?>
|
Client <?php if ($sort == 'client_name') { echo $order_icon; } ?>
|
||||||
</a>
|
</a>
|
||||||
</th>
|
</th>
|
||||||
|
|
||||||
<?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" scope="col">
|
||||||
<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; ?>">
|
||||||
Billable <?php if ($sort == 'ticket_billable') { echo $order_icon; } ?>
|
Billable <?php if ($sort == 'ticket_billable') { echo $order_icon; } ?>
|
||||||
</a>
|
</a>
|
||||||
</th>
|
</th>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<th>
|
<th scope="col">
|
||||||
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_status&order=<?php echo $disp; ?>">
|
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_status&order=<?php echo $disp; ?>">
|
||||||
Status <?php if ($sort == 'ticket_status') { echo $order_icon; } ?>
|
Status <?php if ($sort == 'ticket_status') { echo $order_icon; } ?>
|
||||||
</a>
|
</a>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th scope="col">
|
||||||
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=user_name&order=<?php echo $disp; ?>">
|
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=user_name&order=<?php echo $disp; ?>">
|
||||||
Assigned <?php if ($sort == 'user_name') { echo $order_icon; } ?>
|
Assigned <?php if ($sort == 'user_name') { echo $order_icon; } ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -221,7 +221,7 @@
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<!-- Ticket Billable (if accounting enabled -->
|
<!-- Ticket Billable (if accounting enabled -->
|
||||||
<?php if (1==2&&$config_module_enable_accounting && lookupUserPermission("module_sales") >= 2) { ?>
|
<?php if ($config_module_enable_accounting && lookupUserPermission("module_sales") >= 2) { ?>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
<a href="#" data-toggle="modal" data-target="#editTicketBillableModal<?php echo $ticket_id; ?>">
|
<a href="#" data-toggle="modal" data-target="#editTicketBillableModal<?php echo $ticket_id; ?>">
|
||||||
<?php
|
<?php
|
||||||
|
|
@ -253,12 +253,12 @@
|
||||||
// Edit actions, for open tickets
|
// Edit actions, for open tickets
|
||||||
if (empty($ticket_closed_at)) {
|
if (empty($ticket_closed_at)) {
|
||||||
|
|
||||||
require "modals/ticket_assign_modal.php";
|
require_once "modals/ticket_assign_modal.php";
|
||||||
|
|
||||||
require "modals/ticket_edit_priority_modal.php";
|
require_once "modals/ticket_edit_priority_modal.php";
|
||||||
|
|
||||||
if ($config_module_enable_accounting) {
|
if ($config_module_enable_accounting) {
|
||||||
require "modals/ticket_edit_billable_modal.php";
|
require_once "modals/ticket_edit_billable_modal.php";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue