
19/05/2009, 12:51
|
| | Fecha de Ingreso: mayo-2007 Ubicación: Lima/Peru
Mensajes: 25
Antigüedad: 17 años, 9 meses Puntos: 0 | |
Respuesta: pasar este codigo de php 4 a php 5 <p>
<p><strong>ORDEN PROCESADA CORRECTAMENTE </strong>
<br />
<p><strong>EL VALOR INGRESADO ES : $<?=$actionqty?> Pesos valor neto<br />
<?
$totalqty=0.0;
$totalamount=0.0;
$totalqty= $actionqty;
$totalamount= $actionqty;
?>
<br />
<strong>EL TOTAL SIN IMPUESTOS ES : $</strong> <?=$totalqty?><br />
<br />
<?
$taxrate=1.16;
$totalamount = ($totalamount * $taxrate);
?>
<strong>TOTAL MAS IVA 16% : $</strong> <?=$totalamount?><br />";
<br />
<?
$totaliva= $totalamount+-$actionqty ;
?>
<strong>EL VALOR DEL IVA ES DE : </strong><?=$totaliva?>
</p> |