| @@ -2779,8 +2779,8 @@ class DealerController extends Controller | |||
| foreach ($combineData as $key => $d) { | |||
| if(count($combineData) >= 50){ | |||
| if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ | |||
| info("1". $d['wo']); | |||
| if($d['contract'] == '12'){ | |||
| info("1". $d['wo']); | |||
| array_push($combineData, array( | |||
| 'index' => $d['index'], | |||
| 'contract' => $d['contract'], | |||
| @@ -2817,8 +2817,8 @@ class DealerController extends Controller | |||
| } | |||
| }else if(count($combineData) < 50){ | |||
| if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ | |||
| info("3". $d['wo']); | |||
| if($d['contract'] == '12'){ | |||
| info("3". $d['wo']); | |||
| array_push($combineData, array( | |||
| 'index' => $d['index'], | |||
| 'contract' => $d['contract'], | |||