/var/www/vhosts/nabawater/backend/views/item
NameSizeModeActions
create.php12580644editdlrm
files.php7260644editdlrm
import-item.php11170644editdlrm
index.php152990644editdlrm
item-ingredient.php22010644editdlrm
update.php12650644editdlrm
view.php56580644editdlrm
_form.php142540644editdlrm
_stock.php50280644editdlrm
Edit: /var/www/vhosts/nabawater/backend/views/item/_stock.php (5028B)
title = yii::t('backend','Item Stock Mangement'); ?>

title ?>

\yii\grid\SerialColumn::className()], [ 'attribute' => 'item_image_path', 'format' => 'raw', 'value' => function (Item $model) { $uploadHelper = UploadHelper::getInstance(); $url= ($model->item_image_path != null && !empty($model->item_image_path)) ? $model->item_image_path : ''; $url = Com::checkExist($url); return Html::img($url, ['alt'=>'ItemImage','width'=>'60','height'=>'60', 'class' => 'img-responsive img-thumbnail']); } ], [ 'attribute' => 'item_name', 'headerOptions' => ['style' => 'width:15%'], 'filterInputOptions' => ['class' => 'col-md-12 form-control'], 'value' => function (Item $model) { return $model->item_name; } ], [ 'attribute' => 'category_name', 'headerOptions' => ['style' => 'width:10%'], 'filter' => $categoryName, 'filterInputOptions' => ['class' => 'select2 form-control', 'prompt' => 'All'], 'format' => 'raw' ], [ 'attribute' => 'vendor_name', 'headerOptions' => ['style' => 'width:10%'], 'filter' => $vendorName, 'filterInputOptions' => ['class' => 'select2 form-control', 'prompt' => 'All'], 'format' => 'raw' ], 'quantity', ]; ?> $dataProvider, 'filterModel' => $searchModel, 'id' => 'items', 'columns' => $columns ]); ?>