// Stock : updated styles in templates
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
{/foreach}
|
{/foreach}
|
||||||
</select>
|
</select>
|
||||||
{/if}
|
{/if}
|
||||||
{if count($stock_cover_warehouses) > 1}
|
{if count($stock_cover_warehouses) > 0}
|
||||||
<select name="id_warehouse" onChange="$(this).parent().submit();">
|
<select name="id_warehouse" onChange="$(this).parent().submit();">
|
||||||
{foreach from=$stock_cover_warehouses key=k item=i}
|
{foreach from=$stock_cover_warehouses key=k item=i}
|
||||||
<option {if $i.id_warehouse == $stock_cover_cur_warehouse} selected="selected"{/if} value="{$i.id_warehouse}">{$i.name}</option>
|
<option {if $i.id_warehouse == $stock_cover_cur_warehouse} selected="selected"{/if} value="{$i.id_warehouse}">{$i.name}</option>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<form id="stock_instant_state" type="get">
|
<form id="stock_instant_state" type="get">
|
||||||
<input type="hidden" name="controller" value="AdminStockInstantState" />
|
<input type="hidden" name="controller" value="AdminStockInstantState" />
|
||||||
<input type="hidden" name="token" value="{$token}" />
|
<input type="hidden" name="token" value="{$token}" />
|
||||||
{if count($stock_instant_state_warehouses) > 1}
|
{if count($stock_instant_state_warehouses) > 0}
|
||||||
<div id="stock_instant_state_form_warehouse">
|
<div id="stock_instant_state_form_warehouse">
|
||||||
<label for="id_warehouse">{l s="Select a warehouse:"}</label>
|
<label for="id_warehouse">{l s="Select a warehouse:"}</label>
|
||||||
<select name="id_warehouse" onChange="$(this).parent().parent().submit();">
|
<select name="id_warehouse" onChange="$(this).parent().parent().submit();">
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{extends file="helper/list/list_header.tpl"}
|
{extends file="helper/list/list_header.tpl"}
|
||||||
{block name=leadin}
|
{block name=override_header}
|
||||||
{if count($list_warehouses) > 1}
|
{if count($list_warehouses) > 0}
|
||||||
|
<div class="filter-stock">
|
||||||
<form type="get">
|
<form type="get">
|
||||||
<label for="id_warehouse">{l s="Select a warehouse:"}</label>
|
<label for="id_warehouse">{l s="Select a warehouse:"}</label>
|
||||||
<input type="hidden" name="controller" value="AdminStockMvt" />
|
<input type="hidden" name="controller" value="AdminStockMvt" />
|
||||||
@@ -12,4 +13,5 @@
|
|||||||
</select>
|
</select>
|
||||||
</form>
|
</form>
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|||||||
Reference in New Issue
Block a user