add account model + crud ( kassza )

This commit is contained in:
2015-09-20 22:02:02 +02:00
parent 5e1835dff5
commit 6163163b1c
16 changed files with 707 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ use yii\helpers\Html;
/* @var $model common\models\Warehouse */
$this->title = Yii::t('common/warehouse', 'Update {modelClass}: ', [
'modelClass' => 'Warehouse',
'modelClass' => Yii::t("common/warehouse", "Warehouse"),
]) . ' ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/warehouse', 'Warehouses'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id_warehouse]];