Foros del Web » Programando para Internet » PHP »

reporte

Estas en el tema de reporte en el foro de PHP en Foros del Web. buenos dias necesito una manito por aqui!!! tengo una busqueda de personal de nomina y calculo sus anticipos que caen en el siguiente formulario: Código: ...
  #1 (permalink)  
Antiguo 29/12/2014, 10:19
 
Fecha de Ingreso: diciembre-2014
Mensajes: 18
Antigüedad: 9 años, 4 meses
Puntos: 0
reporte

buenos dias necesito una manito por aqui!!! tengo una busqueda de personal de nomina y calculo sus anticipos que caen en el siguiente formulario:

Código:
<form name="form1" method="post" action="">
<?php
//////////////////////////////////////////////         SEGURIDAD               /////////////////////////////////////////////
	$io_fun_nomina->uf_print_permisos($ls_permisos,$la_permisos,$ls_logusr,"location.href='sigesp_snorh_d_personal.php'");
	unset($io_fun_nomina);
//////////////////////////////////////////////         SEGURIDAD               /////////////////////////////////////////////
?>		  
<table width="731" border="0" align="center" cellpadding="0" cellspacing="0" class="formato-blanco">
  <tr>
    <td width="729">	<p>&nbsp;</p>      <table width="596" border="0" align="center" cellpadding="1" cellspacing="0" class="formato-blanco">
      <tr>
        <td colspan="3"><div align="center">
            <input name="txtnomper" type="text" class="sin-borde2" id="txtnomper" value="<?php print $ls_nomper;?>" size="60" readonly>
            <input name="txtcodper" type="hidden" id="txtcodper" value="<?php print $ls_codper;?>">
        </div></td>
      </tr>
      <tr class="titulo-ventana">
        <td height="20" colspan="3" class="titulo-ventana">Definici&oacute;n de Anticipos Prestaci&oacute;n Antiguedad </td>
      </tr>
      <tr>
        <td width="173" height="22">&nbsp;</td>
        <td width="417" colspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td height="22"><div align="right">N&uacute;mero</div></td>
        <td colspan="2"><div align="left">
          <input name="txtcodant" type="text" id="txtcodant" onKeyUp="javascript: ue_validarnumero(this);" value="<?php print $ls_codant;?>" size="5" maxlength="3" readonly>
          <input name="txtestatus" type="text" class="sin-borde2" id="txtestatus" style="text-align: center" value="<?php print $ls_estatus;?>" readonly>
        </div></td>
      </tr>
      <tr>
        <td height="22"><div align="right">Fecha</div></td>
        <td colspan="2"><div align="left">
          <input name="txtfecant" type="text" id="txtfecant" value="<?php print $ld_fecant;?>" size="15" maxlength="10"  <?php print $ls_obj_fecha;?>>
        </div></td>
      </tr>
	  <tr>
        <td height="22"><div align="right">                     </div></td>
		<td colspan="2"><div align="left">
          <input name="btnrecalculo" type="button" class="boton" id="btnrecalculo" value="Recalcular Anticipos" onClick="javascript: ue_actualizar();">
        </div></td>
      </tr>
      <tr>
        <td height="22" colspan="3" class="titulo-celdanew">Acumulados a la fecha </td>
        </tr>
      <tr>
        <td height="22"><div align="right">Antiguedad Acumulada  </div></td>
        <td colspan="2"><input name="txtmonpreant" type="text" id="txtmonpreant" value="<?php print $li_monpreant;?>" size="23" maxlength="20" style="text-align:right" onKeyPress="return(ue_formatonumero(this,'.',',',event))" readonly></td>
      </tr>
      <tr>
        <td height="22"><div align="right">Intereses Acumulados </div></td>
        <td colspan="2"><div align="left">
          <input name="txtmonintant" type="text" id="txtmonintant" value="<?php print $li_monintant;?>" size="23" maxlength="20" style="text-align:right" onKeyPress="return(ue_formatonumero(this,'.',',',event))" readonly>
        </div></td>
      </tr>
      <tr>
        <td height="22" colspan="3" class="titulo-celdanew">Anticipos solicitados anteriormente </td>
        </tr>
      <tr>
        <td height="22"><div align="right">Anticipos Antiguedad </div></td>
        <td colspan="2"><input name="txtmonantant" type="text" id="txtmonantant" value="<?php print $li_monantant;?>" size="23" maxlength="20" style="text-align:right" onKeyPress="return(ue_formatonumero(this,'.',',',event))" readonly></td>
      </tr>
      <tr>
        <td height="22"><div align="right">Anticipos Intereses </div></td>
        <td colspan="2"><div align="left">
          <input name="txtmonantint" type="text" id="txtmonantint" value="<?php print $li_monantint;?>" size="23" maxlength="20" style="text-align:right" onKeyPress="return(ue_formatonumero(this,'.',',',event))" readonly>
        </div></td>
      </tr>
      <tr>
        <td height="22" colspan="3" class="titulo-celdanew">Montos M&aacute;ximos a Solicitar </td>
        </tr>
      <tr>
        <td height="22"><div align="right">Antiguedad </div></td>
        <td colspan="2"><input name="txtsaldo" type="text" id="txtsaldo" value="<?php print $li_saldo;?>" size="23" maxlength="20" style="text-align:right" onKeyPress="return(ue_formatonumero(this,'.',',',event))" readonly></td>
      </tr>
      <tr>
        <td height="22"><div align="right">Intereses</div></td>
        <td colspan="2"><input name="txtsaldoint" type="text" id="txtsaldoint" value="<?php print $li_saldoint;?>" size="23" maxlength="20" style="text-align:right" onKeyPress="return(ue_formatonumero(this,'.',',',event))" readonly></td>
      </tr>
      <tr>
        <td height="22" colspan="3" class="titulo-celdanew">&nbsp;</td>
        </tr>
      <tr>
        <td height="22"><div align="right">% Antiguedad Solicitado </div></td>
        <td colspan="2"><div align="left">
          <input name="txtporant" type="text" id="txtporant" value="<?php print $li_porant;?>" size="5" maxlength="3" style="text-align:right" onKeyPress="return(currencyFormat(this,'.',',',event));" onBlur="javascript: ue_calcularmontoantiguedad();">
		en base al Monto m&aacute;ximo a solicitar </div></td>
      </tr>
      <tr>
        <td height="22"><div align="right">Monto Anticipo Antiguedad </div></td>
        <td colspan="2"><div align="left">
          <input name="txtmonant" type="text" id="txtmonant" value="<?php print $li_monant;?>" size="23" maxlength="20" style="text-align:right" onKeyPress="return(ue_formatonumero(this,'.',',',event))" onBlur="javascript: ue_calcularporcentajeantiguedad();">
        </div></td>
      </tr>
      <tr>
        <td height="22"><div align="right">Monto Anticipo Intereses </div></td>
        <td colspan="2"><div align="left">
          <input name="txtmonint" type="text" id="txtmonint" value="<?php print $li_monint;?>" size="23" maxlength="20" style="text-align:right" onKeyPress="return(ue_formatonumero(this,'.',',',event))" onBlur="javascript: ue_calcularmontointereses();">
        </div></td>
      </tr>
      <tr>
        <td height="22"><div align="right">Motivo  </div></td>
        <td colspan="2"><div align="left"><textarea name="txtmotant" cols="55" rows="4" id="txtmotant"  value="<?php print $ls_motant;?>" onKeyUp="javascript: ue_validarcomillas(this);"></textarea></div></td>
        </tr>
      <tr>
        <td height="22"><div align="right">Observación  </div></td>
        <td colspan="2"><div align="left"><textarea name="txtobsant" cols="55" rows="4" id="txtobsant"  value="<?php print $ls_obsant;?>" onKeyUp="javascript: ue_validarcomillas(this);"></textarea></div></td>
        </tr>
      <tr>
        <td><div align="right"></div></td>
        <td colspan="2"><input name="operacion" type="hidden" id="operacion">
            <input name="existe" type="hidden" id="existe" value="<?php print $ls_existe;?>">
            <input name="txtfecnacper" type="hidden" id="txtfecnacper" value="<?php print $ls_fecnacper;?>">
            <input name="txtfecingper" type="hidden" id="txtfecingper" value="<?php print $ld_fecingper;?>">			
			<input name="txtfecingadmpubper" type="hidden" id="txtfecingadmpubper" value="<?php print $ld_fecingadmpubper;?>">			
            <input name="txtpormaxant" type="hidden" id="txtpormaxant" value="<?php print $li_pormaxant;?>">
            <input name="txtestant" type="hidden" class="sin-borde2" id="txtestant"  value="<?php print $ls_estant;?>"></td>
      </tr>
    </table>
      <p>&nbsp;</p></td>
  </tr>
</table>
</form>
y al final llamo el reporte de la siguiente manera..
Código:
pagina="reportes/sigesp_snorh_rpp_d_anticipos_antiguedad.php";

						window.open(pagina,"Reporte","menubar=no,toolbar=no,scrollbars=yes,width=800,height=600,left=0,top=0,location=no,resizable=yes");
necesito un reporte con estos datos.. ¿como puedo filtrarlos? y gracias por su tiempo

Etiquetas: fecha, formulario, reporte
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 14:19.