Start using the new modal when creating tickets. This allows us to select both the client and contact, along with a client-specific asset, location and vendor

This commit is contained in:
Marcus Hill
2025-06-28 17:56:55 +01:00
parent 3f21e73b2e
commit 1939e06a24
7 changed files with 599 additions and 80 deletions

View File

@@ -51,7 +51,7 @@
</div>
<div class="row">
<div class="col">
<div class="form-group">
<label>Priority <strong class="text-danger">*</strong></label>
@@ -233,7 +233,7 @@
$asset_name_select = nullable_htmlentities($row['asset_name']);
?>
<option value="<?php echo $asset_id_select; ?>"
<?php if (isset($_GET['asset_id']) && $asset_id_select == $_GET['asset_id']) { echo "selected"; }
<?php if (isset($_GET['asset_id']) && $asset_id_select == $_GET['asset_id']) { echo "selected"; }
?>
><?php echo $asset_name_select; ?>
@@ -288,4 +288,4 @@
<!-- Recurring Ticket Client/Contact JS -->
<link rel="stylesheet" href="plugins/jquery-ui/jquery-ui.min.css">
<script src="plugins/jquery-ui/jquery-ui.min.js"></script>
<script src="js/recurring_tickets_add_modal.js"></script>
<script src="js/tickets_add_modal.js"></script>