Moved edit client, notification, and create contact note to the new ajax system, also updated the notificaiton count to be more efficient

This commit is contained in:
johnnyq
2025-02-15 16:19:35 -05:00
parent 615604661c
commit 36e1df93bb
11 changed files with 403 additions and 98 deletions

View File

@@ -11,7 +11,10 @@
<i class="fas fa-fw fa-ellipsis-v"></i>
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#editClientModal<?php echo $client_id; ?>">
<a class="dropdown-item" href="#"
data-toggle="ajax-modal"
data-ajax-url="ajax/ajax_client_edit.php"
data-ajax-id="<?php echo $client_id; ?>">
<i class="fas fa-fw fa-edit mr-2"></i>Edit Client
</a>
<?php if (lookupUserPermission("module_client") >= 3) { ?>
@@ -167,8 +170,5 @@
<?php
require_once "modals/client_edit_modal.php";
require_once "modals/client_delete_modal.php";
require_once "modals/client_download_pdf_modal.php";