Bug #405

Number of Support Tickets in WHMCS display the value as 0 regardless of the number of tickets associated with the account.

Added by Gurpreet Singh over 10 years ago. Updated about 10 years ago.

Status:New Start date:10 Jul 2014
Priority:Normal Due date:
Assignee:Mansi Wason % 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.

WHMCS.png (43.3 kB) Gurpreet Singh, 07/10/2014 06:23 am

Whmcs

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

Also available in: Atom PDF