// Stock : improvements (ergonomy/translations)

This commit is contained in:
bMancone
2011-12-20 16:45:05 +00:00
parent 73843d560d
commit 1276d4fbd7
7 changed files with 105 additions and 81 deletions
@@ -76,7 +76,7 @@
<tr>
<td valign="top" style="vertical-align:top;">
<input {if $product->depends_on_stock == 0 || $stock_management_active == 0}checked="checked" {/if} type="radio" name="depends_on_stock" class="depends_on_stock" id="depends_on_stock_0" value="0"/>
<label style="float:none;font-weight:normal" for="depends_on_stock_0">{l s='I want to specify available quantities manually, and manage my stock independently'}</label>
<label style="float:none;font-weight:normal" for="depends_on_stock_0">{l s='I want to specify available quantities manually'}</label>
<br /><br />
</td>
</tr>
@@ -148,7 +148,7 @@
<ul>
<li>{l s='You are managing all shops.'}</li>
<li>{l s='You are managing a group of shops where quantities are not shared between all shops of this group.'}</li>
<li>{l s='You are managing a shop witch is in a group where quantities are shared between all shops of this group.'}</li>
<li>{l s='You are managing a shop which is in a group where quantities are shared between all shops of this group.'}</li>
</ul>
</div>
{/if}
@@ -43,6 +43,8 @@
<div class="hint" style="display:block; position:'auto';">
<p>{l s='This interface allows you to specify the suppliers of the current product and eventually its combinations.'}</p>
<p>{l s='It is also possible to specify for each product/product combinations the supplier reference according to previously associated suppliers.'}</p>
<br />
<p>{l s='When using the advanced stock management (see Preferences/Products), the values you fill here (prices, references) will be used in the supply orders.'}</p>
</div>
<p>{l s='Please choose the suppliers associated to this product, and the default one.'}</p>
{assign var=confirm value="Are you sure you want to delete entered product information?"}
@@ -78,7 +80,11 @@
<p>&nbsp;</p>
<h4>{l s='Product reference(s)'}</h4>
<div class="separation"></div>
<p>{l s='You can specify product reference(s) for each supplier associated.'}</p>
{if $associated_suppliers|@count == 0}
<p>{l s='You have to specify the suppliers associated to this product and the default one before setting references.'}</p>
{else}
<p>{l s='You can specify product reference(s) for each supplier associated.'}</p>
{/if}
<div id="suppliers_accordion" style="margin-top:10px; display:block;">
{foreach from=$associated_suppliers item=supplier}
@@ -58,9 +58,9 @@
<div style="display:block;">
<table cellpadding="10" cellspacing="0" class="table">
<tr>
<th width="100">{l s='In the warehouse?'}</th>
<th>{l s='product name'}</th>
<th width="150">{l s='location in the warehouse (optionnal)'}</th>
<th width="100">{l s='Stored'}</th>
<th>{l s='Product'}</th>
<th width="150">{l s='Location (optionnal)'}</th>
</tr>
{foreach $attributes AS $index => $attribute}
{assign var=location value=''}
@@ -90,7 +90,7 @@
</tr>
<tr>
<td><input type="checkbox" id="check_all_suppliers" value="check_warehouse_{$warehouse['id_warehouse']}" /></td>
<td colspan="2"><i>{l s='Mark all products available in the current warehouse.'}</i></td>
<td colspan="2"><i>{l s='Mark all products as stored in this warehouse.'}</i></td>
</tr>
</table>
</div>
@@ -50,7 +50,7 @@
</div>
{/if}
<div>
<label for="warn_days">{l s='Highlight when coverage is less than:'}</label>
<label for="warn_days">{l s='Highlight when coverage (in days) 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>