Commit 5c506ad7e9ff7c34a64ee008480a6cd777a2cb5f
1 parent
e46f120b
ga
Showing
2 changed files
with
4 additions
and
2 deletions
Show diff stats
backend/controllers/ReportController.php
... | ... | @@ -14,8 +14,11 @@ use yii\web\Controller; |
14 | 14 | class ReportController extends Controller |
15 | 15 | { |
16 | 16 | public function actionIndex() { |
17 | + $request = Yii::$app->request; | |
18 | + $dateRange = $request->post('dateRange'); | |
17 | 19 | |
18 | 20 | return $this->render('index', [ |
21 | + 'range' => $dateRange | |
19 | 22 | ]); |
20 | 23 | |
21 | 24 | } | ... | ... |
backend/views/report/index.php