| @@ -2785,12 +2785,12 @@ class DealerController extends Controller | |||
| if(date('m/Y', strtotime($d['submission'])) == $month.'/'.$year){ | |||
| if(date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020'){ | |||
| $countAugustR[] = $d; | |||
| info ($d['submission']); | |||
| } | |||
| } | |||
| } | |||
| // Store to combineData New Incentive August | |||
| foreach ($countAugustR as $key => $d) { | |||
| info('R '. $d['wo']); | |||
| if(count($countAugustR) >= 50){ | |||
| if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ | |||
| if($d['contract'] == '12'){ | |||
| @@ -2890,13 +2890,16 @@ class DealerController extends Controller | |||
| } | |||
| foreach ($dataAugustB as $key => $d) { | |||
| if(date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020'){ | |||
| $countAugustB[] = $d; | |||
| if(date('m/Y', strtotime($d['submission'])) == $month.'/'.$year){ | |||
| if(date('d/m/Y', strtotime($d['submission'])) >= '11/8/2020'){ | |||
| $countAugustB[] = $d; | |||
| } | |||
| } | |||
| } | |||
| // Store to combineData New Incentive August | |||
| foreach ($countAugustB as $key => $d) { | |||
| info('B ' . $d['wo']); | |||
| if(count($countAugustB) >= 50){ | |||
| if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ | |||
| if($d['contract'] == '12'){ | |||