| @@ -2790,10 +2790,11 @@ class DealerController extends Controller | |||
| } | |||
| // Store to combineData New Incentive August | |||
| foreach ($countAugustR as $key => $d) { | |||
| info('R '. $d['wo']. ''. $d['submission']); | |||
| info('R '. $d['wo']. ' '. $d['submission']); | |||
| if(count($countAugustR) >= 50){ | |||
| if(date('m/Y', strtotime($d['activation'])) == $month.'/'.$year){ | |||
| if($d['contract'] == '12'){ | |||
| info('Contract 12 '. $d['wo']. ' '. $d['submission']); | |||
| array_push($combineData, array( | |||
| 'index' => $d['index'], | |||
| 'contract' => $d['contract'], | |||
| @@ -2810,6 +2811,7 @@ class DealerController extends Controller | |||
| )); | |||
| }else { | |||
| info('Contract 24 '. $d['wo']. ' '. $d['submission']); | |||
| if ($d['package']== 50){ | |||
| $finalprice = 69; | |||
| $total = number_format(69 * 2.5 + 50, 2); | |||