Hide edit/delete buttons for closed tickets

This commit is contained in:
Marcus Hill
2022-03-24 21:04:20 +00:00
parent 7874acaa65
commit 3019f6a5d4
3 changed files with 26 additions and 22 deletions

View File

@@ -317,7 +317,7 @@ if(isset($_GET['ticket_id'])){
</div>
</h3>
<?php if($ticket_reply_type !== "Client") { ?>
<?php if($ticket_reply_type !== "Client" AND $ticket_status !== "Closed") { ?>
<div class="card-tools">
<div class="dropdown dropleft">
<button class="btn btn-tool" type="button" id="dropdownMenuButton" data-toggle="dropdown">