All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by k.atilano » Mon Jun 05, 2017 9:20 am
Hi, I am a laravel developer and i'm creating a report that needs the number of contacted leads per agent per day, how do I do this? which database should I look for? and is there any equation to it? I'm looking at the vicidial_agent_log but when i do a count on todays log it doesn't match the results in AST_team_performance_detail.php. Please help
Thank you
-
k.atilano
-
- Posts: 5
- Joined: Fri Mar 17, 2017 5:06 am
by mflorell » Mon Jun 05, 2017 2:37 pm
You have the right table, but you have to put conditions on the query, the lead_id should be non-zero and do the count on distinct records by lead_id
-
mflorell
- Site Admin
-
- Posts: 18386
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
Return to Support
Who is online
Users browsing this forum: No registered users and 88 guests