mirror of
https://github.com/itflow-org/itflow
synced 2026-03-10 15:54:51 +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 -->
|
<!-- 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) { ?>
|
<?php if (empty($ticket_resolved_at) && lookupUserPermission("module_support") >= 2) { ?>
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
@@ -970,6 +971,7 @@ if (isset($_GET['ticket_id'])) {
|
|||||||
} ?>
|
} ?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
<!-- End Tasks Card -->
|
<!-- End Tasks Card -->
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user