// Stock : updated stock{cover, mvt, instant_state}controllers

This commit is contained in:
bMancone
2011-11-09 16:03:51 +00:00
parent baeaf2dee6
commit 469a2f6ed4
9 changed files with 177 additions and 58 deletions
@@ -5,8 +5,8 @@
<input type="hidden" name="token" value="{$token}" />
{if count($stock_instant_state_warehouses) > 1}
<div id="stock_instant_state_form_warehouse">
<label for="instant_state_warehouse">{l s="Select a warehouse:"}</label>
<select name="instant_state_warehouse" onChange="$(this).parent().parent().submit();">
<label for="id_warehouse">{l s="Select a warehouse:"}</label>
<select name="id_warehouse" onChange="$(this).parent().parent().submit();">
{foreach from=$stock_instant_state_warehouses key=k item=i}
<option {if $i.id_warehouse == $stock_instant_state_cur_warehouse} selected="selected"{/if} value="{$i.id_warehouse}">{$i.name}</option>
{/foreach}