// fix table features, quantities, accounting

This commit is contained in:
vKham
2012-01-04 17:04:45 +00:00
parent d209e2ac04
commit b076099180
5 changed files with 14 additions and 8 deletions
@@ -43,11 +43,10 @@
{if !empty($error)}
<div class="hint" style="display:block">{$error}</div>
{else}
<fieldset>
<legend>{l s='Account number'}</legend>
<div class="hint" style="display:block">
{l s='Configure the account number of the product for each zone, if a field is empty, it will use the default one of the shop set in the Accounting Management tab'}
</div>
<h3>{l s='Account number'}</h3>
<br />
{foreach from=$productAccountNumberList['zones'] key=id_zone item=currentZone}
<label>{$currentZone['name']}</label>
@@ -60,7 +59,6 @@
<i>{l s='These fields are used for the accounting export'}</i>
</div>
<div class="separation"></div>
</fieldset>
{/if}
{/if}
@@ -28,7 +28,7 @@
{block name="after"}
<div class="hint clear" style="display:block">
<div class="hint" style="display:block">
<ul>
<li>{l s='The row in blue is the default combination.'}</li>
<li>{l s='A default combination must be designated for each product.'}</li>
@@ -85,7 +85,7 @@
<input type="hidden" name="feature_{$available_feature.id_feature}_value" value="0" />
<span>{l s='N/A'} -
<a href="{$link->getAdminLink('AdminFeatures')}&amp;addfeature_value&id_feature={$available_feature.id_feature}"
class="confirm_leave button">{l s='Add pre-defined values first'}</a>
class="confirm_leave button"><img src="../img/admin/add.gif" alt="values_first" title="{l s='Add pre-defined values first'}" />&nbsp;{l s='Add pre-defined values first'}</a>
</span>
{/if}
</td>
@@ -83,7 +83,7 @@
</tr>
<tr>
<td valign="top" style="text-align:left;vertical-align:top;">
<table class="table" cellpadding="0" cellspacing="0" style="width:50%;">
<table class="table" cellpadding="0" cellspacing="0" style="width:100%;">
<colgroup>
<col width="50"></col>
<col></col>
@@ -115,12 +115,16 @@
<tr>
<td class="col-left"><label>{l s='When out of stock:'}</label></td>
<td style="padding-bottom:5px;">
<ul class="listForm">
<li>
<input {if $product->out_of_stock == 0} checked="checked" {/if} id="out_of_stock_1" type="radio" checked="checked" value="0" class="out_of_stock" name="out_of_stock">
<label id="label_out_of_stock_1" class="t" for="out_of_stock_1">{l s='Deny orders'}</label>
<br>
</li>
<li>
<input {if $product->out_of_stock == 1} checked="checked" {/if} id="out_of_stock_2" type="radio" value="1" class="out_of_stock" name="out_of_stock">
<label id="label_out_of_stock_2" class="t" for="out_of_stock_2">{l s='Allow orders'}</label>
<br>
</li>
<li>
<input {if $product->out_of_stock == 2} checked="checked" {/if} id="out_of_stock_3" type="radio" value="2" class="out_of_stock" name="out_of_stock">
<label id="label_out_of_stock_3" class="t" for="out_of_stock_3">
{l s='Default'}:
@@ -129,6 +133,8 @@
{l s='as set in Preferences'}
</a>
</label>
</li>
</ul>
</td>
</tr>
</tbody>