add discount crud + model (kedvezmény)

This commit is contained in:
2015-09-21 08:45:41 +02:00
parent 0fed98d239
commit 2e7b52e5a3
12 changed files with 581 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Discount */
$this->title = Yii::t('common/discount', 'Create Discount');
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/discount', 'Discounts'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="discount-create">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>