Ejemplo n.º 1
0
 public function cauhoiRevenueAction()
 {
     $month = $this->request->get("month", null, date("m"));
     $year = $this->request->get("year", null, date("Y"));
     $user_obj = new \HaiQuan\Backend\Models\CtgTuVan();
     $user = $user_obj->getStatistic($month, $year)->toArray();
     $user_chart = \library\Util::mergeStatistic($user, $month, $year);
     $this->view->data = \library\Util::createStatisticData($user_chart);
 }