<? 
$idpedido = $_GET["numero"];
$idplatos = $_GET["idplatos"];
$hoy=date("Y-m-d");

require_once('../../conf/connection.php');

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

function cerrar() {
			window.close();
		}
		
</script>  
   <script type="text/javascript" src="../../admin/js/jquery-1.6.2.js"></script>
   <script src="../../admin/js/jquery.Rut.js" type="text/javascript"></script>
   <script type="text/javascript" src="../../admin/js/funciones/scripts.js"></script>
 <link rel="stylesheet" href="../menu/styles.css" />  
<style>
@import url("font-awesome.min.css");
@import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic,600,600italic,700,700italic");

body {
  background: url(../../images/fondo.jpg) no-repeat fixed center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}

table {
  background: white;
  font-family: 'Source Sans Pro', sans-serif;
border-radius: 5px;
   }

</style>
        <h3><font color="#FFFFFF">Ingresar Descuento</font> </h3>
     <p >
       <form id="frm_add" name="frm_add" method="post" action="mod_desc.php">
   <table width="514">
  
     
     <tr>
       <td width="217" height="32"><p>Descuento:</p></td>
       <td width="285">
       <input name="desc" type="text" id="desc" value=""  />
       
       <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" id="enviar" name="enviar" value="Ingresar" class="art-button" />
       <input type="button" value="Cerrar ventana" class="art-button" onClick="cerrar()" /></td>
     </tr>
     </table></form>
 

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