Restore Client Delete functionality for clients for compliance sake

This commit is contained in:
johnnyq 2023-09-26 12:01:49 -04:00
parent 4adc0c7cd1
commit c8d1d4d5e1
2 changed files with 2 additions and 9 deletions

View File

@ -289,13 +289,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
<a class="dropdown-item text-danger confirm-link" href="post.php?archive_client=<?php echo $client_id; ?>">
<i class="fas fa-fw fa-archive mr-2"></i>Archive
</a>
<!-- Removing this function from the frontend as this is extremely destructive. Its best to use Archive, use this for development or test purposes only.
<div class="dropdown-divider"></div>
<a class="dropdown-item text-danger text-bold confirm-link" href="post.php?delete_client=<?php echo $client_id; ?>">
<i class="fas fa-fw fa-trash mr-2"></i>Delete
</a>
-->
</div>
</div>
</td>

View File

@ -22,12 +22,12 @@
<a class="dropdown-item text-danger confirm-link" href="post.php?archive_client=<?php echo $client_id; ?>">
<i class="fas fa-fw fa-archive mr-2"></i>Archive Client
</a>
<!-- Removing this function from the frontend as this is extremely destructive. Its best to use Archive, use this for development or test purposes only.
<?php if ($session_user_role == 3) { ?>
<div class="dropdown-divider"></div>
<a class="dropdown-item text-danger text-bold confirm-link" href="#" data-toggle="modal" data-target="#deleteClientModal<?php echo $client_id; ?>">
<i class="fas fa-fw fa-trash mr-2"></i>Delete Client
</a>
-->
<?php } ?>
</div>
</div>
<?php } ?>