Gestion des prix TTC

This commit is contained in:
Rodolphe Quiedeville 2006-12-15 12:18:58 +00:00
parent f29a926440
commit 8cea5072e5
2 changed files with 11 additions and 14 deletions

View File

@ -4,6 +4,7 @@
<input type="hidden" name="action" value="add">
<input type="hidden" name="type" value="0">
<input type="hidden" name="canvas" value="livre">
<input type="hidden" name="price_base_type" value="TTC">
<table class="border" width="100%">
<tr>
@ -81,9 +82,7 @@
<td>Taux TVA</td>
<td>
<select class="flat" name="tva_tx">
<option value="0">0%</option>
<option value="5.5">5.5%</option>
<option value="19.6" selected="true">19.6%</option>
{html_options values=$tva_taux_value output=$tva_taux_libelle selected="5.5"}
</select>
</td>
</tr>
@ -106,12 +105,18 @@
</tr>
<tr>
<td>Statut</td>
<td colspan="3">
<td>
<select class="flat" name="statut">
<option value="1" selected="true">En vente</option>
<option value="0">Hors vente</option>
</select>
</td>
<td>Poids</td>
<td>
<input name="weight" size="5" value=""
class="normal" onfocus="this.className='focus';" onblur="this.className='normal';">g
<input name="weight_units" type="hidden" value="-3">
</td>
</tr>
</table>

View File

@ -4,6 +4,7 @@
<input type="hidden" name="action" value="update">
<input type="hidden" name="id" value="{$prod_id}">
<input type="hidden" name="canvas" value="{$prod_canvas}">
<input type="hidden" name="price_base_type" value="TTC">
<table class="border" width="100%">
<tr>
@ -92,7 +93,7 @@
<table class="border" width="100%">
<tr>
<td width="15%">Prix de vente</td>
<td width="35%">{$prod_pxvente}</td>
<td width="35%">{$prod_pxvente} TTC</td>
<td width="15%">Taux TVA</td>
<td width="35%">
<select class="flat" name="tva_tx">
@ -185,14 +186,5 @@
</table>
</form>
<!-- CUT HERE -->
<!-- END SMARTY TEMPLATE -->