mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Only show tasks if ticket is open OR when ticket is resolved & there were tasks
This commit is contained in:
@@ -898,7 +898,8 @@ if (isset($_GET['ticket_id'])) {
|
||||
|
||||
|
||||
<!-- Tasks Card -->
|
||||
<div class="card card-body">
|
||||
<?php if (empty($ticket_resolved_at) || (!empty($ticket_resolved_at) && $task_count > 0)) { ?>
|
||||
<div class="card card-body">
|
||||
|
||||
<?php if (empty($ticket_resolved_at) && lookupUserPermission("module_support") >= 2) { ?>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
@@ -970,6 +971,7 @@ if (isset($_GET['ticket_id'])) {
|
||||
} ?>
|
||||
</table>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- End Tasks Card -->
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user