detsta import improvements, procurement changes

This commit is contained in:
2016-02-26 21:19:51 +01:00
parent 6efbfa7d9b
commit 75aeb64b19
8 changed files with 49 additions and 12 deletions

View File

@@ -17,21 +17,41 @@ $warehouseOptions = ArrayHelper::map($warehouses, 'id_warehouse', 'name') ;
?>
<h3><?= Yii::t('common/product', 'Product') ?> </h3>
<div class="row">
<div class="col-md-6">
<?php
echo DetailView::widget([
'model' => $product,
'attributes' =>[
'productCategoryName',
'accountName',
'product_number',
'barcode',
'stock',
[
'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'
],
]
]);
?>
</div>
</div>
<div class="row">
<div class="col-md-4" >
<div class="procurement-form">
<?php $form = ActiveForm::begin(); ?>
@@ -52,3 +72,4 @@ echo DetailView::widget([
<?php ActiveForm::end(); ?>
</div>
</div></div>