mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Added CDR dropdown for showing CC Queue calls (#6869)
* Added dropdown for filtering Call Center Queues * added more translations * fixed the wrong permission that I had originally * added the Call Center dropdown to advanced search
This commit is contained in:
committed by
GitHub
parent
e665299fe4
commit
69fc0c8378
@@ -22,6 +22,7 @@
|
||||
|
||||
Contributor(s):
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Tony Fernandez <tfernandez@smartip.ca>
|
||||
*/
|
||||
|
||||
//includes files
|
||||
@@ -536,12 +537,12 @@
|
||||
$sql .= "and (cc_side is null or cc_side != 'agent') \n";
|
||||
}
|
||||
//call center queue search for member or agent
|
||||
if (!empty($cc_side)) {
|
||||
if (!empty($cc_side) && permission_exists('xml_cdr_cc_side')) {
|
||||
$sql .= "and cc_side = :cc_side \n";
|
||||
$parameters['cc_side'] = $cc_side;
|
||||
}
|
||||
//show specific call center queue
|
||||
if (!empty($call_center_queue_uuid)) {
|
||||
if (!empty($call_center_queue_uuid) && permission_exists('xml_cdr_call_center_queue_uuid')) {
|
||||
$sql .= "and call_center_queue_uuid = :call_center_queue_uuid \n";
|
||||
$parameters['call_center_queue_uuid'] = $call_center_queue_uuid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user