-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPAGARE.ASP
103 lines (98 loc) · 3.07 KB
/
PAGARE.ASP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!--#INCLUDE file="top.asp" -->
<!--#INCLUDE file="top1.asp" -->
<!--#INCLUDE file="f-izq.asp" -->
<!--#INCLUDE file="SubMenu.asp" -->
<!--#INCLUDE FILE="include/conexion.inc" -->
<!--#INCLUDE FILE="include/periodos.inc" -->
<!--#INCLUDE FILE="include/funciones.inc" -->
<%
if Session("CodCli") = "" then
Response.Redirect("saltoinicio.htm")
end if
ano =AnoAcad()
periodo=PeriodoAcad()
str="INSERT INTO ra_Documentos_web( codcli ,documento ,ANO ,PERIODO ,fecha ,estado,tipo)VALUES('"& session("codcli") &"','PAGARE',"& ano &","& periodo &",GETDATE(),'EN PROCESO','ALUMNO') "
Session("Conn").execute(str)
strident= "SELECT @@IDENTITY codigo "
set rst = Session("Conn").execute(strident)
strexec="sp_genera_documentos_web "& rst("codigo") &""
Session("Conn").execute(strexec)
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Portal de Alumnos en Línea</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/css/parrafo.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="css/tablas.css" type="text/css">
<body >
<table border="0" cellpadding="0" cellspacing="0" align="left">
<tr>
<td>
<table width="200" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td colspan="2" valign="top" align="right"><% CargarTop()%><%
if trim(Session("NomAlum"))="" then
CargarMenu()
else
CargarMenu2()
end if
%></td>
<td valign="top" >
<% CargarTop1()%><% SubMenu()%>
<table width="100%" border="0" cellspacing="0" cellpadding="15" height="550" bgcolor="#FFFFFF">
<tr>
<td valign="top"><p style="font-size:25px" class="text-menu">Pagaré</p>
<table width="800" border="0" cellpadding="0" cellspacing="0">
<td height="34">
<a target="_blank"href="Documentos/<%=session("codcli")& rst("codigo")%>.pdf">
<p class="text-menu">Descargar Pagaré</p></a></td>
<tr valign="top" bgcolor="#FFFFFF">
<td height="15"> </td>
<td height="15"> </td>
<td height="15"> </td>
</tr>
<tr valign="top" bgcolor="#FFFFFF">
<td height="100">
<p class="text-menu"> </p>
</td>
<td> </td>
<td> </td>
</tr>
<tr valign="top" bgcolor="#FFFFFF">
<td height="100">
<p class="text-menu"> </p>
</td>
<td> </td>
<td></td>
</tr>
<tr valign="top" bgcolor="#FFFFFF">
<td height="100">
<p class="text-menu"> </p>
</td>
<td> </td>
<td></td>
</tr>
</table>
<table width="738">
<tr>
</tr>
<tr>
</tr>
</table>
<p> </p></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
<!--#INCLUDE file="include/desconexion.inc" -->
<!--javascript:parent.mainframe.history.go(0)-->