| @@ -2776,7 +2776,7 @@ class DealerController extends Controller | |||
| // Store to combineData New Incentive August | |||
| foreach ($combineData as $key => $d) { | |||
| if(count($combineData) > 50){ | |||
| if(count($combineData) >= 50){ | |||
| if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ | |||
| if($d['contract'] == '12'){ | |||
| @@ -2869,7 +2869,6 @@ class DealerController extends Controller | |||
| $nested_data = array(); | |||
| if(!empty($combineData)){ | |||
| foreach ($combineData as $c){ | |||
| info(count($combineData)); | |||
| $update_dealer = DealerClaim::where('wo',$c['wo'])->first(); | |||
| if(!empty($update_dealer)){ | |||
| $update_dealer->incentives1 = $c['incentives1']; | |||