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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10007 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-11-09 16:03:51 +00:00
parent 72077bb489
commit c92e78ad00
9 changed files with 177 additions and 58 deletions
@@ -1,11 +1,11 @@
{extends file="helper/list/list_header.tpl"}
{block name=leadin}
{if count($list_warehouses) > 1}
<form type="get" onchange="submit();">
<label for="warehouse">{l s="Select a warehouse:"}</label>
<form type="get">
<label for="id_warehouse">{l s="Select a warehouse:"}</label>
<input type="hidden" name="controller" value="AdminStockMvt" />
<input type="hidden" name="token" value="{$token}" />
<select name="warehouse">
<select name="id_warehouse" onChange="$(this).parent().submit();">
{foreach $list_warehouses as $warehouse}
<option {if $warehouse.id_warehouse == $current_warehouse}selected="selected"{/if} value="{$warehouse.id_warehouse}">{$warehouse.name}</option>
{/foreach}