Realtime reports editing... Resolved!

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Realtime reports editing... Resolved!

Postby Lozza » Tue Dec 18, 2012 7:59 am

Hi all,

I guess I'm a noob to vicidial & php & mysql but learning at a fast rate. I was wandering if anyone could give me a hand editing the real main reports page.

At the moment when an agent has been waiting for a call for more that 1 minute, it turns dark blue. Could somebody nudge me in the right direction about how to change this to if an agent has been waiting for more than 2 minutes, it turns dark blue instead of one minute.

Thank you for reading,

Im using Vicibox redux v.4.0.1
Last edited by Lozza on Wed Dec 19, 2012 8:04 am, edited 1 time in total.
Lozza
 
Posts: 14
Joined: Tue Dec 18, 2012 7:50 am

Re: Realtime reports editing...

Postby DomeDan » Tue Dec 18, 2012 9:03 am

Welcome Lozza!

The Real-Time Main Report get's its data with AJAX from AST_timeonVDADall.php and maybe some other scripts I think.

I took a quick look in AST_timeonVDADall.php (build 120612-2150) and it seams like you only need to change 60 to 120 here:
Code: Select all
if ($call_time_S >= 60) {$G='<SPAN class="blue"><B>'; $EG='</B></SPAN>';}


and then you might want to change the info printed:
Code: Select all
$Aecho .= "  <SPAN class=\"blue\"><B>          </SPAN> - Agent waiting for call > 1 minute</B>\n";


Good luck!
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: Realtime reports editing...

Postby Lozza » Tue Dec 18, 2012 9:23 am

Thank You Very Much DomeDan!

That has worked perfectly.

And you have saved me a lot of time!
Lozza
 
Posts: 14
Joined: Tue Dec 18, 2012 7:50 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 133 guests