add changes to procurement

This commit is contained in:
2015-09-25 08:57:05 +02:00
parent e2fe006899
commit 28caac03dc
12 changed files with 609 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\ProcurementSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="procurement-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $form->field($model, 'id_procurement') ?>
<?= $form->field($model, 'id_warehouse') ?>
<?= $form->field($model, 'id_user') ?>
<?= $form->field($model, 'id_product') ?>
<?= $form->field($model, 'count') ?>
<?php // echo $form->field($model, 'stock') ?>
<?php // echo $form->field($model, 'purchase_price') ?>
<?php // echo $form->field($model, 'description') ?>
<?php // echo $form->field($model, 'created_at') ?>
<?php // echo $form->field($model, 'updated_at') ?>
<div class="form-group">
<?= Html::submitButton(Yii::t('common/procurement', 'Search'), ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton(Yii::t('common/procurement', 'Reset'), ['class' => 'btn btn-default']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>