add indexes, add messagedetsta
This commit is contained in:
@@ -12,15 +12,17 @@ use yii\helpers\ArrayHelper;
|
||||
<?php
|
||||
|
||||
$warehouseOptions = ArrayHelper::map($warehouses, 'id_warehouse', 'name') ;
|
||||
$accountsOptions = ArrayHelper::map($accounts, 'id_account', 'name') ;
|
||||
|
||||
?>
|
||||
<div class="procurement-form">
|
||||
|
||||
<?php $form = ActiveForm::begin(); ?>
|
||||
|
||||
<?= $form->field($model, 'productIdentifier')->textInput()->hint(Yii::t('common/procurement', "Product name, product number or barcode")) ?>
|
||||
<?= $form->field($model, 'productIdentifier')->textInput()->hint(Yii::t('common/procurement', "Product name, product number or barcode"))->label('Vonalkód vagy termékszám') ?>
|
||||
|
||||
<?= $form->field($model, 'id_warehouse')->dropDownList($warehouseOptions) ?>
|
||||
<?= $form->field($model, 'id_account')->dropDownList($accountsOptions)->label('Kassza') ?>
|
||||
|
||||
<?= $form->field($model, 'count')->textInput() ?>
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
|
||||
<?= $this->render('_form', [
|
||||
'model' => $model,
|
||||
'warehouses' => $warehouses
|
||||
'warehouses' => $warehouses,
|
||||
'accounts' => $accounts
|
||||
]) ?>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user