Commit a3fa79584feb73e2f6a222ff69309ad8ea157a70
1 parent
9014e327
base
Showing
2 changed files
with
42 additions
and
0 deletions
Show diff stats
| 1 | +<?php | ||
| 2 | +/** | ||
| 3 | + * Created by PhpStorm. | ||
| 4 | + * User: Alex Savenko | ||
| 5 | + * Date: 28.12.2016 | ||
| 6 | + * Time: 21:47 | ||
| 7 | + */ | ||
| 8 | + | ||
| 9 | +namespace backend\controllers; | ||
| 10 | + | ||
| 11 | +use yii\web\Controller; | ||
| 12 | + | ||
| 13 | + | ||
| 14 | +class ReportController extends Controller | ||
| 15 | +{ | ||
| 16 | + public function actionIndex() { | ||
| 17 | + return $this->render('index', [ | ||
| 18 | + | ||
| 19 | + ]); | ||
| 20 | + } | ||
| 21 | +} | ||
| 0 | \ No newline at end of file | 22 | \ No newline at end of file |
| 1 | +<?php | ||
| 2 | +/** | ||
| 3 | + * Created by PhpStorm. | ||
| 4 | + * User: Alex Savenko | ||
| 5 | + * Date: 28.12.2016 | ||
| 6 | + * Time: 21:52 | ||
| 7 | + */ | ||
| 8 | + | ||
| 9 | +use yii\helpers\Html; | ||
| 10 | +use yii\grid\GridView; | ||
| 11 | +use yii\helpers\Url; | ||
| 12 | + | ||
| 13 | +/* @var $this yii\web\View */ | ||
| 14 | + | ||
| 15 | +$this->title = Yii::t('app', 'Report'); | ||
| 16 | +$this->params['breadcrumbs'][] = $this->title; | ||
| 17 | +?> | ||
| 18 | + | ||
| 19 | +<div> | ||
| 20 | + <h1><?= Html::encode($this->title) ?></h1> | ||
| 21 | +</div> | ||
| 0 | \ No newline at end of file | 22 | \ No newline at end of file |