mirror of
https://github.com/itflow-org/itflow
synced 2026-03-20 20:54:50 +00:00
Added Confirmation to Close Ticket in Client Portal - Seperated cofirmation modal to a seperate JS file which is now included in the Client Portal
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
|
||||
<p class="text-center"><?php echo nullable_htmlentities($session_company_name); ?></p>
|
||||
|
||||
<?php require_once "../inc_confirm_modal.php"; ?>
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="../plugins/jquery/jquery.min.js"></script>
|
||||
|
||||
@@ -52,4 +54,6 @@
|
||||
plugins: 'link image lists table code codesample fullscreen autoresize',
|
||||
});
|
||||
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<script src="../js/confirm_modal.js"></script>
|
||||
@@ -53,7 +53,7 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
|
||||
Ticket <?php echo $ticket_prefix, $ticket_number ?>
|
||||
<?php
|
||||
if ($ticket_status !== "Closed") { ?>
|
||||
<a href="portal_post.php?close_ticket=<?php echo $ticket_id; ?>" class="btn btn-sm btn-outline-success float-right text-white"><i class="fas fa-fw fa-check text-success"></i> Close ticket</a>
|
||||
<a href="portal_post.php?close_ticket=<?php echo $ticket_id; ?>" class="btn btn-sm btn-outline-success float-right text-white confirm-link"><i class="fas fa-fw fa-check text-success"></i> Close ticket</a>
|
||||
<?php } ?>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user