Sorry for my slow reply, I was traveling recently.
I have taken some time to debug this myself and made the following changes and everything is working as expected now. Please confirm if these changes are ok:
upicrm_admin_lists.php
Line 93:
Was:
$getLeads = $UpiCRMLeads->get(0, 0, 0, 'DESC', $check_date);
Changed To:
$getLeads = $UpiCRMLeads->get($userID, 0, 0, 'DESC', $check_date);
Line 398:
Was:
foreach ($arr as $key2 => $value) { ?><td data-belongs="<?php echo $key;?>[<?php echo $key2; ?>]"><?php
Changed To:
foreach ($arr as $key2 => $value) { ?><td name="<?php echo $key2; ?>_<?php echo $leadObj->lead_id; ?>" data-belongs="<?php echo $key;?>[<?php echo $key2; ?>]"><?php
Line 788 (Between ‘remarks’ and ‘var data {‘):
Added:
if (user_id == '' || typeof user_id == 'undefined'){
var currentUser = $j("td[name='user_id_"+lead_id+"']").html();
var currentStatus = $j("td[name='lead_status_id_"+lead_id+"']").html();
user_id = $j("option").filter(function() {
return $(this).text() === currentUser;
}).first().attr("value");
lead_status_id = $j("option").filter(function() {
return $(this).text() === currentStatus;
}).first().attr("value");
}
-
This reply was modified 7 years, 5 months ago by foxbuntu.
-
This reply was modified 7 years, 5 months ago by foxbuntu.