Billable and non billable status use icons check and minus

This commit is contained in:
johnnyq 2025-12-18 20:38:15 -05:00
parent a277380441
commit a82e2c7ea1
3 changed files with 19 additions and 19 deletions

View File

@ -39,8 +39,8 @@
</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">
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_billable&order=<?php echo $disp; ?>"> <a class="text-secondary" href="?<?= $url_query_strings_sort ?>&sort=ticket_billable&order=<?= $disp ?>">
Billable <?php if ($sort == 'ticket_billable') { echo $order_icon; } ?> Billable <?php if ($sort == 'recurring_ticket_billable') { echo $order_icon; } ?>
</a> </a>
</th> </th>
<?php } ?> <?php } ?>
@ -242,9 +242,9 @@
data-modal-url="modals/ticket/ticket_billable.php?id=<?= $ticket_id ?>"> data-modal-url="modals/ticket/ticket_billable.php?id=<?= $ticket_id ?>">
<?php <?php
if ($ticket_billable == 1) { if ($ticket_billable == 1) {
echo "<span class='badge badge-pill badge-success p-2'>Yes</span>"; echo "<span class='badge badge-pill badge-success p-2'><i class='fas fa-fw fa-check'></i></span>";
} else { } else {
echo "<span class='badge badge-pill badge-secondary p-2'>No</span>"; echo "<span class='badge badge-pill badge-secondary p-2'><i class='fas fa-fw fa-minus'></i></span>";
} }
?> ?>
</a> </a>