Viewing file: detalledocumentos.php (2.16 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Consulta Red Capital</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
//-->
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="8">
<tr>
<td width="25%"> </td>
<td width="50%"><table width="100%" border="0" cellspacing="0" cellpadding="8">
<tr>
<td colspan="3">Menu Básico: <a href="#" onMouseOver="MM_callJS('history.go(-1);')">Regresar...</a><a href="detalleextendido.php?codigo_t=<?php echo codigo_t; ?>"></a></td>
</tr>
<?php
// Procedure 6, TRM Detail Documents
// Selección a partir CODIGO_T de detalle de trámites.
// Desplegable como un sobre detalle.
include('connect.php');
$stmt = ociparse($c1,"SELECT CODIGODOCUMENTO FROM DOCUMENTOSXTRAMITE where CODIGOTRAMITE=$codigo_t");
$result = OCIExecute($stmt);
while (OCIFetchInto($stmt, $cur)) {
$codigodocumento = $cur[0];
// Subprocedure Detail for Documents
$stmt_1 = ociparse($c1,"SELECT NOMBRE, DONDE, COMENTARIO, COSTO FROM DOCUMENTOS where CODIGO=$codigodocumento");
$result_1 = OCIExecute($stmt_1);
while (OCIFetchInto($stmt_1, $cur_1)) {
$nombre_doc = $cur_1[0];
$donde_doc = $cur_1[1];
$comentario_doc = $cur_1[2];
$costo_doc = $cur_1[3];
?>
<tr>
<td width="33%">Documentos:</td>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td>Nombre del Documento: <?php echo $nombre_doc; ?></td>
</tr>
<tr>
<td>Donde: <?php echo $donde_doc; ?></td>
</tr>
<tr>
<td>Comentario: <?php echo $comentario_doc; ?></td>
</tr>
<tr>
<td>Costo Documento: <?php echo $costo_doc; ?></td>
</tr>
</table>
</td>
</tr>
<?php
}
}
// TRM Detail Require End
?>
</table></td>
<td width="25%"> </td>
</tr>
</table>
</body>
</html>
|