add inventory item changes
This commit is contained in:
@@ -24,6 +24,7 @@ $this->registerJs('inventoryItemIndex.init( ' . json_encode($options) . ' );');
|
||||
|
||||
?>
|
||||
|
||||
<!--suppress CssUnusedSymbol -->
|
||||
<style>
|
||||
.table th {
|
||||
white-space: normal;
|
||||
@@ -65,7 +66,7 @@ $this->registerJs('inventoryItemIndex.init( ' . json_encode($options) . ' );');
|
||||
}
|
||||
?>
|
||||
<?php echo $this->render('_search', ['model' => $searchModel]); ?>
|
||||
<p>
|
||||
<div>
|
||||
Magyarázat:
|
||||
<ul>
|
||||
<li>
|
||||
@@ -87,7 +88,7 @@ $this->registerJs('inventoryItemIndex.init( ' . json_encode($options) . ' );');
|
||||
Különbség: = "Leltározott mennyiség - ( "Előző leltár" + "Beszerzett mennyiség" - "Eladott mennyiség" )
|
||||
</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
<?php echo Html::a("XLS letöltése", Url::current(['InventoryItemSearch[output]' => 'xls']), ['class' => 'btn btn-primary']) ?>
|
||||
</p>
|
||||
@@ -165,7 +166,7 @@ $this->registerJs('inventoryItemIndex.init( ' . json_encode($options) . ' );');
|
||||
'urlCreator' => function ($action, $model) {
|
||||
$result = "";
|
||||
if ($action == 'update') {
|
||||
$result = Url::toRoute(['update-item', 'id' => $model['item_id_inventory_item']]);
|
||||
$result = Url::toRoute(['update', 'id' => $model['item_id_inventory_item']]);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user