Add New ticket button in client top header button, spruce up credential favorites on overview

This commit is contained in:
johnnyq
2026-03-03 15:50:14 -05:00
parent b94604ae71
commit 3481431eb5
3 changed files with 54 additions and 53 deletions

View File

@@ -17,6 +17,12 @@
data-modal-url="modals/client/client_edit.php?id=<?= $client_id ?>">
<i class="fas fa-fw fa-edit mr-2"></i>Edit Client
</a>
<?php if (lookupUserPermission("module_support") >= 2) { ?>
<div class="dropdown-divider"></div>
<a class="dropdown-item ajax-modal" href="#" data-modal-url="modals/ticket/ticket_add_v2.php?client_id=<?= $client_id ?>" data-modal-size="lg">
<i class="fas fa-fw fa-life-ring mr-2"></i>New Ticket
</a>
<?php } ?>
<?php if (lookupUserPermission("module_billing") >= 2) { ?>
<?php if ($show_add_credit) { ?>
<div class="dropdown-divider"></div>