// Updated OrderHistory / StockManager. Added feature to StockCover: it is now possible to display the number of sales per product / and highlight products which coverage is less than a given threshold
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11163 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
91cb67a25d
commit
9329793e65
7 files changed
+132
-36
No files matched your search
@@ -30,20 +30,31 @@
|
||||
<input type="hidden" name="controller" value="AdminStockCover" />
|
||||
<input type="hidden" name="token" value="{$token}" />
|
||||
{if count($stock_cover_periods) > 1}
|
||||
<label for="coverage_period">{l s='Filter by period/warehouse:'}</label>
|
||||
<select name="coverage_period" onChange="$(this).parent().submit();">
|
||||
<div>
|
||||
<label for="coverage_period">{l s='Filter by period:'}</label>
|
||||
<select name="coverage_period" onChange="$(this).parent().parent().submit();">
|
||||
{foreach from=$stock_cover_periods key=k item=i}
|
||||
<option {if $i == $stock_cover_cur_period} selected="selected"{/if} value="{$i}">{$k}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
{/if}
|
||||
{if count($stock_cover_warehouses) > 0}
|
||||
<select name="id_warehouse" onChange="$(this).parent().submit();">
|
||||
<div>
|
||||
<label for="id_warehouse">{l s='Filter by warehouse:'}</label>
|
||||
<select name="id_warehouse" onChange="$(this).parent().parent().submit();"">
|
||||
{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>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
{/if}
|
||||
<div>
|
||||
<label for="warn_days">{l s='Highlight when coverage is less than:'}</label>
|
||||
<input name="warn_days" type="text" size="3" onChange="$(this).parent().parent().submit();"
|
||||
value="{if isset($stock_cover_warn_days)}{$stock_cover_warn_days}{/if}">
|
||||
</input>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{/block}
|
||||
Reference in new issue
Block a user