<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;

/* @var $this yii\web\View */
/* @var $model common\models\Procurement */
/* @var $warehouses common\models\Warehouse[] */
/* @var $form yii\widgets\ActiveForm */
?>
<?php 


?>
<div class="procurement-form">

    <?php $form = ActiveForm::begin(); ?>

    <?php // echo  $form->field($model, 'id_account')->dropDownList($accountsOptions)->label('Kassza') ?>

    <?= $form->field($model, 'count')->textInput() ?>

    <?= $form->field($model, 'purchase_price')->textInput() ?>



    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? Yii::t('common/procurement', 'Create') : Yii::t('common/procurement', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
