work on inventory

This commit is contained in:
2016-03-07 20:54:32 +01:00
parent 603508eb70
commit 1d3c476476
24 changed files with 1357 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Inventory */
$this->title = Yii::t('common/inventory', 'Update {modelClass}: ', [
'modelClass' => 'Inventory',
]) . ' ' . $model->id_inventory;
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/inventory', 'Inventories'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id_inventory, 'url' => ['view', 'id' => $model->id_inventory]];
$this->params['breadcrumbs'][] = Yii::t('common/inventory', 'Update');
?>
<div class="inventory-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>