diff --git a/www/vicidial/AST_timeonVDADall.php b/www/vicidial/AST_timeonVDADall.php
index dec16062..8d3045cc 100644
--- a/www/vicidial/AST_timeonVDADall.php
+++ b/www/vicidial/AST_timeonVDADall.php
@@ -98,10 +98,11 @@
# 160104-1059 - Added detection of dead chat sessions
# 160227-1031 - Added INGROUPcolorOVERRIDE option
# 160327-1259 - Added report_display_type option and several design changes
+# 160331-1947 - Fix for non-pausecode display in HTML format
#
-$version = '2.12-86';
-$build = '160327-1259';
+$version = '2.12-87';
+$build = '160331-1947';
header ("Content-type: text/html; charset=utf-8");
@@ -3266,6 +3267,9 @@ if ($talking_to_print > 0)
if ($PHONEdisplay > 0) {$phoneD = "$G$phone$EG
";}
else {$phoneD = " ";}
+ if ($agent_pause_codes_active > 0) {$pausecodeHTML = " | $pausecode | ";}
+ else {$pausecodeHTML = "";}
+
$vac_stage='';
$vac_campaign='';
$INGRP='';
@@ -3295,11 +3299,11 @@ if ($talking_to_print > 0)
if ($realtime_block_user_info > 0)
{
- $Aecho .= "| $UGD $G$sessionid$EG$L$R$Aring_note[$i] | $G"._QXZ("$status",6)."$EG | $CM | $pausecode | $CP$SVD$G$call_time_MS$EG | $G$campaign_id$EG | $G$calls_today$EG | $INGRP
\n";
+ $Aecho .= "| $UGD $G$sessionid$EG$L$R$Aring_note[$i] | $G"._QXZ("$status",6)."$EG | $CM | $pausecodeHTML$CP$SVD$G$call_time_MS$EG | $G$campaign_id$EG | $G$calls_today$EG | $INGRP
\n";
}
if ($realtime_block_user_info < 1)
{
- $Aecho .= "| $G$extension$EG$Aring_note[$i] | $phoneD$G$user$EG $G+$EG | $UGD $G$sessionid$EG$L$R | $G"._QXZ("$status",6)."$EG | $CM | $pausecode | $CP$SVD$G$call_time_MS$EG | $G$campaign_id$EG | $G$calls_today$EG | $INGRP
\n";
+ $Aecho .= "| $G$extension$EG$Aring_note[$i] | $phoneD$G$user$EG $G+$EG | $UGD $G$sessionid$EG$L$R | $G"._QXZ("$status",6)."$EG | $CM | $pausecodeHTML$CP$SVD$G$call_time_MS$EG | $G$campaign_id$EG | $G$calls_today$EG | $INGRP
\n";
}
}
$j++;