diff --git a/www/vicidial/admin_modify_lead.php b/www/vicidial/admin_modify_lead.php index 8b31396e..07e7e93d 100644 --- a/www/vicidial/admin_modify_lead.php +++ b/www/vicidial/admin_modify_lead.php @@ -81,6 +81,7 @@ # 170224-1639 - Added ability to display archived recordings # 170409-1554 - Added IP List validation code # 170527-2253 - Fix for rare inbound logging issue #1017 +# 170710-2039 - Added Audit Comments display # require("dbconnect_mysqli.php"); @@ -1404,6 +1405,45 @@ else if ($lead_id != 'NEW') { + $stmt="SELECT user_id, timestamp, list_id, campaign_id, comment from vicidial_comments where lead_id='$lead_id' order by timestamp;"; + $rslt=mysql_to_mysqli($stmt, $link); + $row_count = mysqli_num_rows($rslt); + $audit_comments=false; + $o=0; + while ($row_count > $o) + { + if (!$audit_comments) + { + echo "