Hello
I have been looking for the shd_get_active_tickets() or $context['Cuuent_open_tickets'] so it would out put the number of current open tickets. If anyone would know what this might be I would be very greatful
Thanks
It is never supposed to display the number of current open tickets. EVER.
The number it is supposed to display is the number of tickets that need response. For example, consider a helpdesk with 10 tickets, but every single one of them was last replied to by a staff member... the theory then of course is that every ticket is waiting for user response - so the number should be 0 (and thus not shown) because there's nothing for the staff to do.
It could be changed to what you're asking but frankly there is pretty much only one person who *can* do that, and that would be its original author...
Thanks for your reply but then my next question is how to i call that number of tickets that need a response.
I found it
', $context['active_tickets'] ,'
Will out put the current number of tickets that need a reply
for example usage
<span>', $context['active_tickets'] ,'</span>
I got it from this - https://github.com/SimpleDesk/SimpleDesk/blob/41dbf9e44bbee3c19d7aebf999fae0142e1d8c0b/sd_source/Subs-SimpleDesk.php#L293-L358