Stock : Add new tpl for leadin intregration

This commit is contained in:
dSevere
2011-11-08 09:49:19 +00:00
parent 543f84b029
commit 499658e005
3 changed files with 57 additions and 0 deletions
@@ -0,0 +1,15 @@
{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>
<input type="hidden" name="controller" value="AdminStockMvt" />
<input type="hidden" name="token" value="{$token}" />
<select name="warehouse">
{foreach $list_warehouses as $warehouse}
<option {if $warehouse.id_warehouse == $current_warehouse}selected="selected"{/if} value="{$warehouse.id_warehouse}">{$warehouse.name}</option>
{/foreach}
</select>
</form>
{/if}
{/block}