<table width="100%" border="0"> <tr> <td><?php include 'menu.php'; ?> </td> </tr> </table> <p class="titulo">CONSULTA DE VENTAS</p> <form id="form1" name="form1" method="post" action=""> <table width="90%" border="0" align="center"> <tr> <td width="96" align="right" class="color_celda">Cliente</td> <td width="13" align="center" class="color_celda">:</td> <td width="322"><?php $cliente->generar_select_cliente("cliente", "", "", "0", "TODOS", "1"); ?> </td> <td width="85" align="right" class="color_celda">Comprobante</td> <td width="14" align="center" class="color_celda">:</td> <td width="337"><?php $comprobante->generar_select_tipocomprobante("tipocomprobante", "", "", "0", "TODOS", "1"); ?> <input type="hidden" name="id" id="id" /></td> </tr> <tr> <td align="right" class="color_celda">Fecha desde</td> <td align="center" class="color_celda">:</td> <td><input name="fecha" type="text" id="fecha" value="<?php echo $_REQUEST['fecha']; ?>
echo $_SESSION['pedido']->imprime_pedido(); ?> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> <td colspan="3"> </td> </tr> <tr> <td align="right"> </td> <td align="right"><span class="enfasis">Cliente</span></td> <td align="center"><span class="enfasis">:</span></td> <td><?php $cliente->generar_select_cliente('cliente', '', ''); ?> </td> <td width="105" align="left"><input name="Submit4" type="button" class="btn" value="Agregar Cliente" onClick="nuevo_cliente()"></td> <td width="111" align="left"> <input name="venta" type="checkbox" id="venta" value="1"> Registra venta</td> </tr> <tr> <td align="right"> </td> <td align="right"> </td> <td> </td> <td colspan="3"> </td> </tr> <tr> <td align="right"> </td> <td align="right"> </td>
?> <input name="serie" type="text" id="serie" size="5" value="<?php echo $serie; ?> " /> <span class="texto_blanco"> - </span> <input name="nro" type="text" id="nro" size="12" value="<?php echo $nro; ?> " /> </td> </tr> <tr> <td align="right" class="color_celda">Cliente</td> <td align="center" class="color_celda">:</td> <td width="346"><?php $cliente->generar_select_cliente("cliente", "listar()", ""); ?> </td> <td width="55" align="right" class="color_celda">Fecha </td> <td width="11" align="center" class="color_celda">:</td> <td width="145"><input name="fecha" type="text" id="fecha" value="<?php echo $_REQUEST['fecha']; ?> " size="8" onkeyup='fn(this.form,this)'/> <a style='cursor:hand;' onclick='document.form1.fecha.oldValue=document.form1.fecha.value;PopCalendar.selectWeekendHoliday(1,1);PopCalendar.show(document.form1.fecha, "dd/mm/yyyy", null, "", "");'><img src="imagen/calendar.gif" width="23" height="21" /></a> <input name="id" type="hidden" id="id" /></td> <td width="203" rowspan="4" align="center" bgcolor="#FFFFFF"><p>Ingrese los datos de la cabecera del comprobante y posteriormente ingrese el detalle del comprobante en el botón <Agregar>.</p></td> </tr> <tr> <td align="right" class="color_celda">Nº Guia de Remisión</td> <td align="center" class="color_celda">:</td> <td><input name="guia" type="text" id="guia" size="10" /></td>