diff --git a/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php b/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php
index 79992f6f..807725a0 100644
--- a/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php
+++ b/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php
@@ -118,10 +118,11 @@
# 191113-2027 - Fixed cached carrier stats bug
# 200401-1930 - Added option to show more customer info for level 9 users and customize the color chart times
# 200428-1337 - Added RS_INcolumnsHIDE, RS_report_default_format & RS_AGENTstatusTALLY options.php settings
-#
+# 200506-1642 - Added RS_CUSTINFOminUL options.php setting
+#
-$version = '2.14-103';
-$build = '200428-1337';
+$version = '2.14-104';
+$build = '200506-1642';
header ("Content-type: text/html; charset=utf-8");
@@ -774,6 +775,13 @@ while ($i < $ingroups_to_print)
if (!isset($RR)) {$RR=4;}
+if (isset($RS_CUSTINFOminUL))
+ {
+ $CUSTINFOminUL = $RS_CUSTINFOminUL;
+ }
+else {$CUSTINFOminUL = 9;}
+if ($LOGuser_level < $CUSTINFOminUL) {$CUSTINFOdisplay=0;}
+
$NFB = '';
$NFE = '';
$F=''; $FG=''; $B=''; $BG='';
diff --git a/agc_2-X/trunk/www/vicidial/options-example.php b/agc_2-X/trunk/www/vicidial/options-example.php
index b63abcbf..babac4ac 100644
--- a/agc_2-X/trunk/www/vicidial/options-example.php
+++ b/agc_2-X/trunk/www/vicidial/options-example.php
@@ -27,6 +27,7 @@
# 190525-2145 - Added RS_agentWAIT option
# 200115-1157 - Added call report export ALTERNATE_2 header
# 200428-1336 - Added RS_INcolumnsHIDE, RS_report_default_format & RS_AGENTstatusTALLY options
+# 200506-1628 - Added RS_CUSTINFOdisplay & RS_CUSTINFOminUL options
#
# used by the realtime_report.php script
@@ -61,6 +62,8 @@ $RS_SERVdisplay = 0; # 0=no, 1=yes
$RS_CALLSdisplay = 1; # 0=no, 1=yes
$RS_PHONEdisplay = 0; # 0=no, 1=yes
$RS_CUSTPHONEdisplay = 0; # 0=no, 1=yes
+$RS_CUSTINFOdisplay = 0; # 0=no, 1=yes
+$RS_CUSTINFOminUL = 9; # 7-9 (minimum user level to use CUST INFO option)
$RS_PAUSEcodes = 'N';
$RS_with_inbound = 'Y';
$RS_CARRIERstats = 0; # 0=no, 1=yes
diff --git a/agc_2-X/trunk/www/vicidial/realtime_report.php b/agc_2-X/trunk/www/vicidial/realtime_report.php
index f81ddb8f..9063897e 100644
--- a/agc_2-X/trunk/www/vicidial/realtime_report.php
+++ b/agc_2-X/trunk/www/vicidial/realtime_report.php
@@ -49,12 +49,13 @@
# 190927-1758 - Fixed PHP7 array issue
# 200401-1930 - Added option to show more customer info to level 9 users
# 200428-1002 - Added RS_report_default_format options.php setting
+# 200506-1633 - Added RS_CUSTINFOminUL options.php setting
#
$startMS = microtime();
-$version = '2.14-36';
-$build = '200428-1002';
+$version = '2.14-37';
+$build = '200506-1633';
header ("Content-type: text/html; charset=utf-8");
@@ -238,6 +239,11 @@ if (!isset($CUSTINFOdisplay))
if (!isset($RS_CUSTINFOdisplay)) {$CUSTINFOdisplay=0;}
else {$CUSTINFOdisplay = $RS_CUSTINFOdisplay;}
}
+if (isset($RS_CUSTINFOminUL))
+ {
+ $CUSTINFOminUL = $RS_CUSTINFOminUL;
+ }
+else {$CUSTINFOminUL = 9;}
if (!isset($PAUSEcodes))
{
if (!isset($RS_PAUSEcodes)) {$PAUSEcodes='N';}
@@ -1974,7 +1980,7 @@ if (!preg_match("/WALL/",$report_display_type))
else
{echo " "._QXZ("SHOW CUSTPHONES")."";}
- if ($LOGuser_level >= 9)
+ if ($LOGuser_level >= $CUSTINFOminUL)
{
if ($CUSTINFOdisplay>0)
{echo " "._QXZ("HIDE CUST INFO")."";}