FIX_ACTIVE MEMBERS IN SUBSCRIBERS LIST

This commit is contained in:
Srinivas-Saravanan 2024-12-23 14:10:29 +05:30
parent 17bce828ff
commit ae3ef6867f

View File

@ -262,7 +262,7 @@ public function getQueryforSubscriptionDetailsBySchemeName($flag,$condition, $va
$currentDate = date('Y-m-d');
if ($downloadType === 'active') {
$result1 = $this->getQueryforSubscriptionDetailsBySchemeName(1,'s.to_subscription >', $currentDate,$selectedScheme);
$result1 = $this->getQueryforSubscriptionDetailsBySchemeName(1,'s.to_subscription >=', $currentDate,$selectedScheme);
$result2 = $this->getQueryforSubscriptionDetailsBySchemeName(1,'s.isactive', 1,$selectedScheme);
// Flatten the arrays for comparison
$flattened1 = array_map('serialize', $result1);