add inventory changes
This commit is contained in:
@@ -11,36 +11,22 @@ use yii\widgets\ActiveForm;
|
||||
<div class="inventory-item-search">
|
||||
|
||||
<?php $form = ActiveForm::begin([
|
||||
'action' => ['index'],
|
||||
'action' => ['index','id' => $model->inventory->id_inventory],
|
||||
'method' => 'get',
|
||||
]); ?>
|
||||
|
||||
<?= $form->field($model, 'id_inventory_item') ?>
|
||||
|
||||
<?= $form->field($model, 'id_inventory') ?>
|
||||
|
||||
<?= $form->field($model, 'count_in') ?>
|
||||
|
||||
<?= $form->field($model, 'count_sold') ?>
|
||||
|
||||
<?= $form->field($model, 'count') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'type') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'id_product') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'id_inventory_group') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'id_user') ?>
|
||||
<?= $form->field($model, 'item_type')->hiddenInput()->label(false) ?>
|
||||
<?= $form->field($model, 'item_id')->hiddenInput()->label(false) ?>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<?= $form->field($model, 'item_name')->label("Termék/Termék csoport neve") ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php // echo $form->field($model, 'created_at') ?>
|
||||
|
||||
<?php // echo $form->field($model, 'updated_at') ?>
|
||||
|
||||
<div class="form-group">
|
||||
<?= Html::submitButton(Yii::t('common/inventory-item', 'Search'), ['class' => 'btn btn-primary']) ?>
|
||||
<?= Html::resetButton(Yii::t('common/inventory-item', 'Reset'), ['class' => 'btn btn-default']) ?>
|
||||
<?= Html::submitButton(Yii::t('common/inventory-item', 'Keresés'), ['class' => 'btn btn-primary']) ?>
|
||||
</div>
|
||||
|
||||
<?php ActiveForm::end(); ?>
|
||||
|
||||
Reference in New Issue
Block a user