mirror of
https://github.com/itflow-org/itflow
synced 2026-03-28 08:15:38 +00:00
Merge pull request #647 from wrongecho/ticket-colours
tickets.php - Rename unused ticket_status_display to ticket_status_color
This commit is contained in:
14
tickets.php
14
tickets.php
@@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
// Default Column Sortby Filter
|
// Default Column Sortby Filter
|
||||||
$sb = "ticket_number";
|
$sb = "ticket_number";
|
||||||
@@ -287,17 +287,17 @@ $user_active_assigned_tickets = intval($row['total_tickets_assigned']);
|
|||||||
$contact_mobile = formatPhoneNumber($row['contact_mobile']);
|
$contact_mobile = formatPhoneNumber($row['contact_mobile']);
|
||||||
if ($ticket_status == "Open") {
|
if ($ticket_status == "Open") {
|
||||||
$ticket_status_color = "primary";
|
$ticket_status_color = "primary";
|
||||||
}elseif ($ticket_status == "Working") {
|
} elseif ($ticket_status == "Working") {
|
||||||
$ticket_status_display = "success";
|
$ticket_status_color = "success";
|
||||||
}else{
|
} else{
|
||||||
$ticket_status_display = "secondary";
|
$ticket_status_color = "secondary";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($ticket_priority == "High") {
|
if ($ticket_priority == "High") {
|
||||||
$ticket_priority_color = "danger";
|
$ticket_priority_color = "danger";
|
||||||
}elseif ($ticket_priority == "Medium") {
|
} elseif ($ticket_priority == "Medium") {
|
||||||
$ticket_priority_color = "warning";
|
$ticket_priority_color = "warning";
|
||||||
}else{
|
} else{
|
||||||
$ticket_priority_color = "info";
|
$ticket_priority_color = "info";
|
||||||
}
|
}
|
||||||
$ticket_assigned_to = intval($row['ticket_assigned_to']);
|
$ticket_assigned_to = intval($row['ticket_assigned_to']);
|
||||||
|
|||||||
Reference in New Issue
Block a user