mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Merge branch 'master' into ticketing-hide-functions-closed
This commit is contained in:
26
ticket.php
26
ticket.php
@@ -64,7 +64,7 @@ if (isset($_GET['ticket_id'])) {
|
||||
$ticket_scheduled_wording = "$ticket_scheduled_for";
|
||||
}
|
||||
|
||||
//Set Ticket Bage Color based of priority
|
||||
//Set Ticket Badge Color based of priority
|
||||
if ($ticket_priority == "High") {
|
||||
$ticket_priority_display = "<span class='p-2 badge badge-danger'>$ticket_priority</span>";
|
||||
} elseif ($ticket_priority == "Medium") {
|
||||
@@ -77,16 +77,16 @@ if (isset($_GET['ticket_id'])) {
|
||||
$ticket_feedback = nullable_htmlentities($row['ticket_feedback']);
|
||||
|
||||
$ticket_status = nullable_htmlentities($row['ticket_status']);
|
||||
if ($ticket_status == "Pending-Assignment") {
|
||||
if ($ticket_status == "New") {
|
||||
$ticket_status_display = "<span class='p-2 badge badge-danger'>$ticket_status</span>";
|
||||
} elseif ($ticket_status == "Assigned") {
|
||||
} elseif ($ticket_status == "Open") {
|
||||
$ticket_status_display = "<span class='p-2 badge badge-primary'>$ticket_status</span>";
|
||||
} elseif ($ticket_status == "In-Progress") {
|
||||
} elseif ($ticket_status == "On Hold") {
|
||||
$ticket_status_display = "<span class='p-2 badge badge-success'>$ticket_status</span>";
|
||||
} elseif ($ticket_status == "Closed") {
|
||||
} elseif ($ticket_status == "Auto Close" || $ticket_status == "Closed") {
|
||||
$ticket_status_display = "<span class='p-2 badge badge-dark'>$ticket_status</span>";
|
||||
} else {
|
||||
$ticket_status_display = "<span class='p-2 badge badge-secondary'>$ticket_status</span>";
|
||||
$ticket_status_display = "<span class='p-2 badge badge-secondary'>$ticket_status</span>"; // To be removed
|
||||
}
|
||||
|
||||
$ticket_vendor_ticket_number = nullable_htmlentities($row['ticket_vendor_ticket_number']);
|
||||
@@ -333,18 +333,12 @@ if (isset($_GET['ticket_id'])) {
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-thermometer-half"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="status" required>
|
||||
<option <?php if ($ticket_status == "In-Progress") {
|
||||
<option <?php if ($ticket_status == "Open") {
|
||||
echo "selected";
|
||||
} ?>>In-Progress</option>
|
||||
<option <?php if ($ticket_status == "Pending-Client") {
|
||||
} ?>>Open</option>
|
||||
<option <?php if ($ticket_status == "On Hold") {
|
||||
echo "selected";
|
||||
} ?>>Pending-Client</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>
|
||||
} ?>>On Hold</option>
|
||||
<?php if ($config_ticket_autoclose) { ?>
|
||||
<option <?php if ($ticket_status == 'Auto Close') {
|
||||
echo "selected";
|
||||
|
||||
Reference in New Issue
Block a user