| // Store to combineData New Incentives Ayer Keroh | // Store to combineData New Incentives Ayer Keroh | ||||
| foreach ($count_ayerKeroh as $key => $d) { | foreach ($count_ayerKeroh as $key => $d) { | ||||
| if(count($count_ayerKeroh) > 20){ | |||||
| if(count($count_ayerKeroh) > 50){ | |||||
| if($d['contract'] == '12'){ | if($d['contract'] == '12'){ | ||||
| } | } | ||||
| }else if(count($count_ayerKeroh) < 20){ | |||||
| }else if(count($count_ayerKeroh) < 50){ | |||||
| if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ | if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ | ||||
| array_push($combineData, array( | array_push($combineData, array( | ||||
| 'index' => $d['index'], | 'index' => $d['index'], |