$product, 'attributes' =>[ [ 'attribute' => 'productCategoryName', 'label' => 'Termék kategória' ], [ 'attribute' => 'accountName', 'label' => 'Kassza' ], [ 'attribute' => 'product_number', 'label' => 'Termék szám' ], [ 'attribute' => 'barcode', 'label' => 'Vonalkód' ], [ 'attribute' => 'stock', 'label' => 'Raktáron' ], ] ]); ?>
field($model, 'id_warehouse')->dropDownList($warehouseOptions) ?> field($model, 'count')->textInput() ?> field($model, 'purchase_price')->textInput() ?> field($model, 'description')->textarea(['maxlength' => true]) ?>
isNewRecord ? Yii::t('common/procurement', 'Create') : Yii::t('common/procurement', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>