| 'name' => $d['name'], | 'name' => $d['name'], | ||||
| 'address' => $d['address'], | 'address' => $d['address'], | ||||
| 'package' => $d['package'], | 'package' => $d['package'], | ||||
| 'retail_price' => 'RM '.$finalprice, | |||||
| 'retail_price' => $d['retail_price'], | |||||
| 'incentives1' => '250%', | 'incentives1' => '250%', | ||||
| 'incentives2' => $d['incentives2'], | 'incentives2' => $d['incentives2'], | ||||
| 'total' => 'RM '.$total, | 'total' => 'RM '.$total, | ||||
| } | } | ||||
| if(date('d/m/Y', strtotime($d['activation'])) >= '11/8/2020'){ | if(date('d/m/Y', strtotime($d['activation'])) >= '11/8/2020'){ | ||||
| $countAugustR[] = $d; | |||||
| $countAugustB[] = $d; | |||||
| } | } | ||||
| }else { | }else { | ||||
| if(date('d/m/Y', strtotime($d['activation'])) >= '11/8/2020'){ | if(date('d/m/Y', strtotime($d['activation'])) >= '11/8/2020'){ | ||||
| $countAugustR[] = $d; | |||||
| $countAugustB[] = $d; | |||||
| }else { | }else { | ||||
| $combineData[] = $d; | $combineData[] = $d; | ||||
| } | } |