| } | } | ||||
| } | } | ||||
| if(!empty($count_businessCyber)){ | |||||
| for ($i=0;$i<count($count_businessCyber);$i++){ | for ($i=0;$i<count($count_businessCyber);$i++){ | ||||
| for($j=0;$j<51;$j++){ | for($j=0;$j<51;$j++){ | ||||
| $total = number_format(floatval(str_replace("RM ", "", $count_businessCyber[$j]['retail_price'])) * 2.0, 2); | $total = number_format(floatval(str_replace("RM ", "", $count_businessCyber[$j]['retail_price'])) * 2.0, 2); | ||||
| )); | )); | ||||
| } | } | ||||
| } | } | ||||
| } | |||||
| } else { | } else { | ||||
| $dataR = $this->returnDataR($company, $year, $month); | $dataR = $this->returnDataR($company, $year, $month); |