Skip to content
Snippets Groups Projects
Commit a1d98b85 authored by Peter Rotich's avatar Peter Rotich
Browse files

Add method to get number of closed tickets.

parent c353af8d
No related branches found
No related tags found
No related merge requests found
......@@ -114,6 +114,10 @@ class Client {
return ($stats=$this->getTicketStats())?$stats['open']:0;
}
function getNumClosedTickets() {
return ($stats=$this->getTicketStats())?$stats['closed']:0;
}
/* ------------- Static ---------------*/
function getLastTicketIdByEmail($email) {
$sql='SELECT ticketID FROM '.TICKET_TABLE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment