(int)$days, 'hour' => (int)$hours, 'minute' => (int)$minutes, 'second' => (int)$seconds, ]; foreach ($sections as $name => $value){ if ($value > 0){ $timeParts[] = $value. ' '.$name.($value == 1 ? '' : 's'); } } return implode(', ', $timeParts); } if (isset($_GET['year'])) { $year = intval($_GET['year']); } else { $year = date('Y'); } $sql_ticket_years = mysqli_query($mysqli, "SELECT DISTINCT YEAR(ticket_created_at) AS ticket_year FROM tickets ORDER BY ticket_year DESC"); $sql_clients = mysqli_query($mysqli, "SELECT client_id, client_name FROM clients ORDER BY client_name ASC"); $rows = 0; ?>

Unbilled Tickets By Client

0) { $rows = $rows + 1; ?>
Client Tickets Raised Billable Tickets Unbilled Tickets
You are all caught up! There are no unbilled tickets for this year.