| $dataOctober = $this->returnDataR($company,'2020','10'); | $dataOctober = $this->returnDataR($company,'2020','10'); | ||||
| foreach ($dataAugustR as $key => $d) { | foreach ($dataAugustR as $key => $d) { | ||||
| if(date('m/Y', strtotime($d['submission'])) == $month.'/'.$year){ | |||||
| if(date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020'){ | |||||
| $countAugustR[] = $d; | |||||
| } | |||||
| if((date('m/Y', strtotime($d['submission'])) == $month.'/'.$year) && date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020'){ | |||||
| $countAugustR[] = $d; | |||||
| }else { | }else { | ||||
| if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ | if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ | ||||
| $combineData[] = $d; | $combineData[] = $d; |