Updated and added more descriptive Ticket Statuses
This commit is contained in:
@@ -946,7 +946,7 @@ $software_types_array = array(
|
|||||||
'Mobile',
|
'Mobile',
|
||||||
'System Software',
|
'System Software',
|
||||||
'Operating System',
|
'Operating System',
|
||||||
'Other'
|
'Misc'
|
||||||
);
|
);
|
||||||
|
|
||||||
$license_types_array = array(
|
$license_types_array = array(
|
||||||
@@ -964,7 +964,8 @@ $asset_status_array = array(
|
|||||||
'Ready to Deploy',
|
'Ready to Deploy',
|
||||||
'Deployed',
|
'Deployed',
|
||||||
'Out for Repair',
|
'Out for Repair',
|
||||||
'Lost/Stolen',
|
'Lost',
|
||||||
|
'Stolen',
|
||||||
'Retired'
|
'Retired'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -295,9 +295,11 @@ if (isset($_GET['ticket_id'])) {
|
|||||||
<span class="input-group-text"><i class="fa fa-fw fa-thermometer-half"></i></span>
|
<span class="input-group-text"><i class="fa fa-fw fa-thermometer-half"></i></span>
|
||||||
</div>
|
</div>
|
||||||
<select class="form-control select2" name="status" required>
|
<select class="form-control select2" name="status" required>
|
||||||
<option <?php if ($ticket_status == 'Open') { echo "selected"; } ?> >Open</option>
|
<option <?php if ($ticket_status == "In-Progress") {echo "selected";}?> >In-Progress</option>
|
||||||
<option <?php if ($ticket_status == 'Working') { echo "selected"; } ?> >Working</option>
|
<option <?php if ($ticket_status == "Pending-Client") {echo "selected";}?> >Pending-Client</option>
|
||||||
<option <?php if ($ticket_status == 'On Hold') { echo "selected"; } ?> >On Hold</option>
|
<option <?php if ($ticket_status == "Pending-Vendor") {echo "selected";}?> >Pending-Vendor</option>
|
||||||
|
<option <?php if ($ticket_status == "Pending-Shipment") {echo "selected";}?> >Pending-Shipment</option>
|
||||||
|
<option <?php if ($ticket_status == "Scheduled") {echo "selected";}?> >Scheduled</option>
|
||||||
<?php if($config_ticket_autoclose) { ?>
|
<?php if($config_ticket_autoclose) { ?>
|
||||||
<option <?php if ($ticket_status == 'Auto Close') { echo "selected"; } ?> >Auto Close</option>
|
<option <?php if ($ticket_status == 'Auto Close') { echo "selected"; } ?> >Auto Close</option>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|||||||
21
tickets.php
21
tickets.php
@@ -14,6 +14,21 @@ if (!isset($_GET['status'])) {
|
|||||||
} elseif (isset($_GET['status']) && ($_GET['status']) == 'Open') {
|
} elseif (isset($_GET['status']) && ($_GET['status']) == 'Open') {
|
||||||
$status = 'Open';
|
$status = 'Open';
|
||||||
$ticket_status_snippet = "ticket_status != 'Closed'";
|
$ticket_status_snippet = "ticket_status != 'Closed'";
|
||||||
|
} elseif (isset($_GET['status']) && ($_GET['status']) == 'In-Progress') {
|
||||||
|
$status = 'In-Progress';
|
||||||
|
$ticket_status_snippet = "ticket_status = 'In-Progress'";
|
||||||
|
} elseif (isset($_GET['status']) && ($_GET['status']) == 'Pending-Client') {
|
||||||
|
$status = 'Pending-Client';
|
||||||
|
$ticket_status_snippet = "ticket_status = 'Pending-Client'";
|
||||||
|
} elseif (isset($_GET['status']) && ($_GET['status']) == 'Pending-Vendor') {
|
||||||
|
$status = 'Pending-Vendor';
|
||||||
|
$ticket_status_snippet = "ticket_status = 'Pending-Vendor'";
|
||||||
|
} elseif (isset($_GET['status']) && ($_GET['status']) == 'Pending-Shipment') {
|
||||||
|
$status = 'Pending-Shipment';
|
||||||
|
$ticket_status_snippet = "ticket_status = 'Pending-Shipment'";
|
||||||
|
} elseif (isset($_GET['status']) && ($_GET['status']) == 'Scheduled') {
|
||||||
|
$status = 'Scheduled';
|
||||||
|
$ticket_status_snippet = "ticket_status = 'Scheduled'";
|
||||||
} elseif (isset($_GET['status']) && ($_GET['status']) == 'Closed') {
|
} elseif (isset($_GET['status']) && ($_GET['status']) == 'Closed') {
|
||||||
$status = 'Closed';
|
$status = 'Closed';
|
||||||
$ticket_status_snippet = "ticket_status = 'Closed'";
|
$ticket_status_snippet = "ticket_status = 'Closed'";
|
||||||
@@ -190,7 +205,11 @@ $user_active_assigned_tickets = intval($row['total_tickets_assigned']);
|
|||||||
<label>Ticket Status</label>
|
<label>Ticket Status</label>
|
||||||
<select class="form-control select2" name="status">
|
<select class="form-control select2" name="status">
|
||||||
<option value="%" <?php if ($status == "%") {echo "selected";}?> >Any</option>
|
<option value="%" <?php if ($status == "%") {echo "selected";}?> >Any</option>
|
||||||
<option value="Open" <?php if ($status == "Open") {echo "selected";}?> >Open</option>
|
<option value="In-Progress" <?php if ($status == "In-Progress") {echo "selected";}?> >In-Progress</option>
|
||||||
|
<option value="Pending-Client" <?php if ($status == "Pending-Client") {echo "selected";}?> >Pending-Client</option>
|
||||||
|
<option value="Pending-Vendor" <?php if ($status == "Pending-Vendor") {echo "selected";}?> >Pending-Vendor</option>
|
||||||
|
<option value="Pending-Shipment" <?php if ($status == "Pending-Shipment") {echo "selected";}?> >Pending-Shipment</option>
|
||||||
|
<option value="Scheduled" <?php if ($status == "Scheduled") {echo "selected";}?> >Scheduled</option>
|
||||||
<option value="Closed" <?php if ($status == "Closed") {echo "selected";}?> >Closed</option>
|
<option value="Closed" <?php if ($status == "Closed") {echo "selected";}?> >Closed</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user