Bug #405
Number of Support Tickets in WHMCS display the value as 0 regardless of the number of tickets associated with the account.
Status: | New | Start date: | 10 Jul 2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% |
||
Category: | - | |||
Target version: | - |
Description
"Number of Support Tickets" option always display the count as 0 regardless of the number of tickets available under the logged in user account. Clicking on the link available there, it will display all the ticket associated with the logged in user account.
History
Updated by Mansi Wason about 10 years ago
- Assignee set to Mansi Wason
Hi,
Make all the changes -
1. In file 'modules/support/kayako/fetchOpenTickets.php'
Add a line - $_totalTicketCount = kyTicket::getTicketCount($_ticketDepartmentObjectContainer, $_ticketStatusObjectContainer, array(), array(), $clientsdetails['email']);
2. In file 'includes/hooks/hooks.php'
IN function hook_clientarea_details($_params)
Add a line - $_params['clientsstats']['numactivetickets'] = $_numActiveTickets;
$_params['clientsstats']['numtickets'] = $_totalTicketCount;
Thanks,
Mansi Wason