add product
This commit is contained in:
@@ -7,8 +7,8 @@ use yii\helpers\Html;
|
||||
/* @var $model common\models\Product */
|
||||
/* @var $accounts common\models\Account[] */
|
||||
|
||||
$this->title = Yii::t('common/ticket_type', 'Create Product');
|
||||
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/ticket_type', 'Products'), 'url' => ['index']];
|
||||
$this->title = Yii::t('common/product', 'Create Product');
|
||||
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/product', 'Products'), 'url' => ['index']];
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
?>
|
||||
<div class="product-create">
|
||||
@@ -18,6 +18,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
<?= $this->render('_form', [
|
||||
'model' => $model,
|
||||
'accounts' => $accounts,
|
||||
'categories' => $categories ,
|
||||
]) ?>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user