mirror of
https://github.com/itflow-org/itflow
synced 2026-09-10 08:45:13 +00:00
Update Font, Migrated away from JQUERY dependent libs: toastr to bootstrap5 toasts, daterangepicker to flatpickr, select2 to Tom Select, InputMask to IMask
This commit is contained in:
@@ -72,7 +72,7 @@ ob_start();
|
||||
<label>Status</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-tasks"></i></span>
|
||||
<select class="form-control select2" name="status[]" data-placeholder="- Open tickets -" multiple>
|
||||
<select class="form-select select2" name="status[]" data-placeholder="- Open tickets -" multiple>
|
||||
<?php
|
||||
$sql_statuses_filter = mysqli_query($mysqli, "SELECT ticket_status_id, ticket_status_name FROM ticket_statuses ORDER BY ticket_status_name ASC");
|
||||
while ($row = mysqli_fetch_assoc($sql_statuses_filter)) {
|
||||
@@ -92,7 +92,7 @@ ob_start();
|
||||
<label>Resolution</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-check"></i></span>
|
||||
<select class="form-control select2" name="resolution">
|
||||
<select class="form-select select2" name="resolution">
|
||||
<option <?php if ($state_filter === 'open') { echo "selected"; } ?> value="">Open</option>
|
||||
<option <?php if ($state_filter === 'closed') { echo "selected"; } ?> value="Closed">Closed</option>
|
||||
<option <?php if ($state_filter === 'all') { echo "selected"; } ?> value="All">Open and closed</option>
|
||||
@@ -105,7 +105,7 @@ ob_start();
|
||||
<label>Billing</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-dollar-sign"></i></span>
|
||||
<select class="form-control select2" name="billing">
|
||||
<select class="form-select select2" name="billing">
|
||||
<option value="">- Any -</option>
|
||||
<option <?php if ($billing_filter === 'unbilled') { echo "selected"; } ?> value="unbilled">Billable, not invoiced</option>
|
||||
<option <?php if ($billing_filter === 'invoiced') { echo "selected"; } ?> value="invoiced">Invoiced</option>
|
||||
@@ -120,7 +120,7 @@ ob_start();
|
||||
<label>Client</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-user"></i></span>
|
||||
<select class="form-control select2" name="client">
|
||||
<select class="form-select select2" name="client">
|
||||
<option value="">- All Clients -</option>
|
||||
<?php
|
||||
$sql_clients_filter = mysqli_query($mysqli, "SELECT client_id, client_name FROM clients WHERE EXISTS (SELECT 1 FROM tickets WHERE ticket_client_id = client_id) ORDER BY client_name ASC");
|
||||
@@ -141,7 +141,7 @@ ob_start();
|
||||
<label>Category</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-list"></i></span>
|
||||
<select class="form-control select2" name="category">
|
||||
<select class="form-select select2" name="category">
|
||||
<option value="">- All Categories -</option>
|
||||
<?php
|
||||
$sql_category_filter = mysqli_query($mysqli, "SELECT category_id, category_name FROM categories WHERE category_type = 'Ticket' ORDER BY category_name ASC");
|
||||
@@ -161,7 +161,7 @@ ob_start();
|
||||
<label>Assigned To</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-user-tie"></i></span>
|
||||
<select class="form-control select2" name="assigned">
|
||||
<select class="form-select select2" name="assigned">
|
||||
<option value="">- Anyone -</option>
|
||||
<?php
|
||||
$sql_assigned_filter = mysqli_query($mysqli, "SELECT user_id, user_name FROM users WHERE user_type = 1 AND user_archived_at IS NULL ORDER BY user_name ASC");
|
||||
@@ -181,7 +181,7 @@ ob_start();
|
||||
<label>SLA</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-stopwatch"></i></span>
|
||||
<select class="form-control select2" name="sla">
|
||||
<select class="form-select select2" name="sla">
|
||||
<option value="">- Any SLA state -</option>
|
||||
<option <?php if ($sla_filter === 'breached') { echo "selected"; } ?> value="breached">Breached</option>
|
||||
<option <?php if ($sla_filter === 'at_risk') { echo "selected"; } ?> value="at_risk">At risk</option>
|
||||
|
||||
Reference in New Issue
Block a user