<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">

.table {
 border:2px black solid;
 border-radius:10px;
 min-width:100px;
 min-height:100px;
 font-family: Helvetica,Arial;
}


body {
  background-image: url("../../../assets/img/background.jpg");
}
</style>


<? 
$idpedido = $_GET["idpedido"];
$idplatos = $_GET["idplatos"];
$hoy=date("Y-m-d");
require_once('../../conf/connection.php');

$query="SELECT * FROM detalles_pedido WHERE numero='$idpedido' AND idplatos='$idplatos'";
$rs_query=mysql_query($query);



?>
<script src="../../jquery.js"></script>
<script>
$(document).ready(function(){
// Demo 5
$('#identidad').Rut({
  on_error: function(){ alert('Rut incorrecto'); },
  format_on: 'keyup' 
});
$("#content > ul").tabs();
});

function cerrar() {
			window.close();
		}
		
</script>  
   <script type="text/javascript" src="../js/jquery-1.6.2.js"></script>
   <script src="../js/jquery.Rut.js" type="text/javascript"></script>
   <script type="text/javascript" src="../js/funciones/scripts.js"></script>






        <h3><font color="#FFFFFF">Modificar cliente</font> </h3>
     <p >
       <form id="frm_add" name="frm_add" method="post" action="mod_reg.php">
   <table width="514" class="table">
     <tr>
       <td height="2" colspan="2"><strong>Edicion de cantidad </strong></td>
     </tr>
     <tr>
       <td height="2" colspan="2">Codido de producto:<? echo $idplatos ?> n° de Voucher: <? echo $idpedido ?></td>
     </tr>
     
     <tr>
       <td width="217" height="32"><p>CANTIDAD:</p></td>
       <td width="285">
       <input name="cantidad" type="text" id="cantidad" value="<?php echo mysql_result($rs_query,0,"cantidad")?>"  />
       
       <input name="idpedido" type="hidden" id="idpedido" value="<?php echo $idpedido ?>"  />
       <input name="idplatos" type="hidden" id="idplatos" value="<?php echo $idplatos ?>"  />
       
       </td>
     </tr>
     
     <tr>
       <td colspan="2" align="right">
         <input type="submit" style="border: #000 2px solid; background-color: #D6F888" id="enviar" name="enviar" value="Modificar"/>
         <input type="reset" style="border: #000 2px solid; background-color: #D6F888" id="cancel" name="cancel" value="Cancelar"/>
         <input type="button" style="border: #000 2px solid; background-color: #D6F888" value="Cerrar ventana" class="art-button" onClick="cerrar()" /></td>
     </tr>
     </table></form>
 

     
     <div id="resultado"></div>