Example #1
0
 public function actionGet_sub_expenses_truck()
 {
     $car_id = \Yii::$app->request->post('car_id');
     $year = \Yii::$app->request->post('year');
     $month = \Yii::$app->request->post('month');
     $report = new \app\models\Report();
     $result = $report->get_expenses_truck($year, $month, $car_id);
     return $this->renderPartial('sub_outgoing', ['result' => $result]);
 }