First Commit - Source Code from Reply
37
dbcmnpsrc/FE/mnpdev/mnp/web/WEB-INF/web.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
|
||||
<web-app>
|
||||
<servlet>
|
||||
<servlet-name>FileUploadServlet</servlet-name>
|
||||
<servlet-class>mnp.servlets.util.FileUploadServlet</servlet-class>
|
||||
<load-on-startup>0</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>FrontController</servlet-name>
|
||||
<servlet-class>mnp.servlets.FrontController</servlet-class>
|
||||
<load-on-startup>0</load-on-startup>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>MainDispatcher</servlet-name>
|
||||
<servlet-class>mnp.servlets.MainDispatcher</servlet-class>
|
||||
<load-on-startup>0</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>FrontController</servlet-name>
|
||||
<url-pattern>*.do</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>FileUploadServlet</servlet-name>
|
||||
<url-pattern>/FileUploadServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>MainDispatcher</servlet-name>
|
||||
<url-pattern>/MainDispatcher</url-pattern>
|
||||
</servlet-mapping>
|
||||
<session-config>
|
||||
<session-timeout>30</session-timeout>
|
||||
</session-config>
|
||||
<welcome-file-list>
|
||||
<welcome-file>Login.do</welcome-file>
|
||||
</welcome-file-list>
|
||||
</web-app>
|
||||
11
dbcmnpsrc/FE/mnpdev/mnp/web/WEB-INF/weblogic.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
|
||||
<weblogic-web-app>
|
||||
<session-descriptor>
|
||||
<session-param>
|
||||
<param-name>PersistentStoreType</param-name>
|
||||
<param-value>memory</param-value>
|
||||
</session-param>
|
||||
</session-descriptor>
|
||||
<context-root>mnp</context-root>
|
||||
</weblogic-web-app>
|
||||
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/LogoMnp.gif
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/LogoTim.gif
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/back.gif
Normal file
|
After Width: | Height: | Size: 115 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/back_acquisisci.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/back_invia.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/back_listafile.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/back_rinvia.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/banner.gif
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/cal/cal.gif
Normal file
|
After Width: | Height: | Size: 127 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/cal/close.gif
Normal file
|
After Width: | Height: | Size: 106 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/cal/drop1.gif
Normal file
|
After Width: | Height: | Size: 56 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/cal/drop2.gif
Normal file
|
After Width: | Height: | Size: 56 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/cal/left1.gif
Normal file
|
After Width: | Height: | Size: 59 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/cal/left2.gif
Normal file
|
After Width: | Height: | Size: 59 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/cal/right1.gif
Normal file
|
After Width: | Height: | Size: 58 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/cal/right2.gif
Normal file
|
After Width: | Height: | Size: 58 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/casetta.gif
Normal file
|
After Width: | Height: | Size: 79 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/copia.gif
Normal file
|
After Width: | Height: | Size: 917 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/forward.gif
Normal file
|
After Width: | Height: | Size: 852 B |
BIN
dbcmnpsrc/FE/mnpdev/mnp/web/images/principale.gif
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
70
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/Acquisisci.jsp
Normal file
@@ -0,0 +1,70 @@
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
|
||||
<html>
|
||||
<!--
|
||||
Aquisisci.jsp
|
||||
Tramite questa maschera l'utente può caricare un file
|
||||
dalla sua macchina locale al server.
|
||||
|
||||
La maschera di ritorno sarà la EsitoAcquisizione.jsp.
|
||||
|
||||
I controlli lato client vengono effettuati dal file
|
||||
VerificheScript.txt incluso nella pagina Banner.jsp.
|
||||
|
||||
@Autore: Alessia Streglio
|
||||
@Data : 11/02/2003
|
||||
-->
|
||||
<TITLE> Mnp </TITLE>
|
||||
<BODY class = "normal">
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%">
|
||||
<TR><td width = "100%" bgcolor = "#D61414"> </td><TR>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<b><i><FONT class = "titlePage">ACQUISIZIONE FILE</FONT></i></b>
|
||||
|
||||
<!-- dati -->
|
||||
<br><br>
|
||||
<FORM NAME= "frmAcquisisci" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" onSubmit = "return checkPageAcquisisci(this)">
|
||||
|
||||
<TABLE class = "border" border = "1" width = "10%">
|
||||
|
||||
<TR>
|
||||
<TD><P class = "normale"> Acquisisci File : </P></TD>
|
||||
<TD><INPUT TYPE="file" NAME="inputFile"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE border = "0" width = "90%">
|
||||
<TR>
|
||||
<!--
|
||||
<TD ALIGN="RIGHT" ><A OnClick= "isSubmit()" NAME = "btnValida"><IMG SRC = "< %=Res.ApplContext%>/images/Valida3.gif" border ="1"></A></TD>
|
||||
<TD><A OnClick= "isSubmit()" NAME = "btnAcquisisci"><IMG SRC = "< %=Res.ApplContext%>/images/Acquisisci2.gif" border ="1"></A></TD>
|
||||
-->
|
||||
<TD align = "center"><INPUT TYPE= "submit" NAME= "btnAcquisisci" VALUE= "ACQUISISCI"></TD>
|
||||
<TD align = "center"><INPUT TYPE= "hidden" NAME= "pageAcquisisci"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
</table>
|
||||
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
65
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/Banner.jsp
Normal file
@@ -0,0 +1,65 @@
|
||||
<%@page import = "mnp.objects.*, mnp.utility.ui.Res,mnp.objects.ui.LoginBean, mnp.database.dao.ProfiloDAO"%>
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/normal.css">
|
||||
|
||||
<jsp:include page="/jsp/VerificheScript.txt" flush = "true"/>
|
||||
<html>
|
||||
|
||||
<%
|
||||
|
||||
LoginBean aLoginBean = (LoginBean) session.getAttribute("LoginBean");
|
||||
ProfiloDAO pr = new ProfiloDAO();
|
||||
aLoginBean.setListFunction(pr.listFunctionApplication(aLoginBean.getCodiceProfilo()));
|
||||
%>
|
||||
|
||||
|
||||
<iframe src="/MNP-GUI/jsp/GUI/Empty.jsp" width="0" height="0"></iframe>
|
||||
<table HEIGHT= "100%" width = "10%" bgcolor = "#D61414">
|
||||
<tr>
|
||||
<TD align = "center"><IMG SRC ="<%=Res.ApplContext%>/images/LogoTim.gif"></TD>
|
||||
</tr>
|
||||
|
||||
<tr><TD> </TD></tr>
|
||||
|
||||
<tr><TD nowrap align= "center"><FONT class = "bannerVertTitolo">MNP</FONT></TD></tr>
|
||||
<tr><TD nowrap align= "center"><FONT class = "bannerVertTitolo">CANALE ALTERNATIVO</FONT></TD></tr>
|
||||
<tr><TD nowrap align= "center"><HR class = "riga"></TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<!-- <tr><TD><A HREF = "/jsp/Login.jsp" class = "linkBanner">> LOG-IN</A></TD></tr>-->
|
||||
<tr><TD><A HREF = "<%=Res.ApplContext%>/MainDispatcher?nomePagina=Acquisisci" class = "linkBanner">> ACQUISISCI</A></TD></tr>
|
||||
<tr><TD><A HREF = "<%=Res.ApplContext%>/MainDispatcher?nomePagina=Invio" class = "linkBanner">> INVIA</A></TD></tr>
|
||||
<tr><TD><A HREF = "<%=Res.ApplContext%>/MainDispatcher?nomePagina=Reinvia" class = "linkBanner">> RINVIA</A></TD></tr>
|
||||
<tr><TD><A HREF = "<%=Res.ApplContext%>/MainDispatcher?nomePagina=Dir" class = "linkBanner">> LISTA FILE</A></TD></tr>
|
||||
<tr><TD><A HREF = "<%=Res.ApplContext%>/MainDispatcher?nomePagina=InvioFS" class = "linkBanner">> RECUPERI FUORI STANDARD</A></TD></tr>
|
||||
<!--Modifica del 26-03-2010 -->
|
||||
<!-- tr><TD><A HREF = "<%=Res.ApplContext%>/ShowConsole.do" class = "linkBanner">>RECUPERI FUORI STANDARD</A></TD></tr -->
|
||||
<!--Fine Modifica del 26-03-2010 -->
|
||||
|
||||
<tr><TD><A HREF = "#" onClick="return logout()" class = "linkBanner">> LOG-OUT</A></TD></tr>
|
||||
<!-- Casetta Home back e forward -->
|
||||
<TR><TD width = "100%" bgcolor = "#D61414" align = "center">
|
||||
<a href ='javascript:history.back()'>
|
||||
<IMG border = 0 SRC ="<%=Res.ApplContext%>/images/back.gif"></a>
|
||||
<A HREF = "<%=Res.ApplContext%>/jsp/Presentazione.jsp" class = "linkBanner">
|
||||
<IMG border = 0 SRC ="<%=Res.ApplContext%>/images/casetta.gif"></a>
|
||||
<a href ='javascript:history.forward()'>
|
||||
<IMG border = 0 SRC ="<%=Res.ApplContext%>/images/forward.gif"></a>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<!-- <TD><A HREF = "/MainDispatcher?nomePagina=Mail">MAIL</A></TD> -->
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
48
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/BannerFP.jsp
Normal file
@@ -0,0 +1,48 @@
|
||||
<%@page import = "mnp.objects.*, mnp.utility.ui.Res"%>
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/normal.css">
|
||||
|
||||
<jsp:include page="/jsp/VerificheScript.txt" flush = "true"/>
|
||||
<html>
|
||||
<iframe src="/MNP-GUI/jsp/GUI/Empty.jsp" width="0" height="0"></iframe>
|
||||
<table HEIGHT= "100%" width = "10%" bgcolor = "#D61414">
|
||||
<tr>
|
||||
<TD align = "center"><IMG SRC ="<%=Res.ApplContext%>/images/LogoTim.gif"></TD>
|
||||
</tr>
|
||||
|
||||
<tr><TD> </TD></tr>
|
||||
|
||||
<tr><TD nowrap align= "center"><FONT class = "bannerVertTitolo">MNP</FONT></TD></tr>
|
||||
<tr><TD nowrap align= "center"><FONT class = "bannerVertTitolo">FORZATURA PREVALIDAZIONI</FONT></TD></tr>
|
||||
<tr><TD nowrap align= "center"><HR class = "riga"></TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD><A HREF = "<%=Res.ApplContext%>/MainDispatcher?nomePagina=ForzaturaPrevalidazione" class = "linkBanner">>ELABORA</A></TD></tr>
|
||||
|
||||
<tr><TD><A HREF = "#" onClick="return logout()" class = "linkBanner">> LOG-OUT</A></TD></tr>
|
||||
<!-- Casetta Home back e forward -->
|
||||
<TR><TD width = "100%" bgcolor = "#D61414" align = "center">
|
||||
<a href ='javascript:history.back()'>
|
||||
<IMG border = 0 SRC ="<%=Res.ApplContext%>/images/back.gif"></a>
|
||||
<A HREF = "<%=Res.ApplContext%>/jsp/Presentazione.jsp" class = "linkBanner">
|
||||
<IMG border = 0 SRC ="<%=Res.ApplContext%>/images/casetta.gif"></a>
|
||||
<a href ='javascript:history.forward()'>
|
||||
<IMG border = 0 SRC ="<%=Res.ApplContext%>/images/forward.gif"></a>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
<!-- <TD><A HREF = "/MainDispatcher?nomePagina=Mail">MAIL</A></TD> -->
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
61
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/ErrorPage.jsp
Normal file
@@ -0,0 +1,61 @@
|
||||
<%@page isErrorPage="true" %>
|
||||
<%@page import = "mnp.objects.*, mnp.utility.ui.Res"%>
|
||||
|
||||
<HTML>
|
||||
<HEAD>
|
||||
|
||||
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- riga rossa orizzontale -->
|
||||
<table width = "100%">
|
||||
<TR><td width = "100%" bgcolor = "#D61414"> </td><TR>
|
||||
</table>
|
||||
<!-- colonna di menu verticale -->
|
||||
<table width = "100%" border = "0">
|
||||
<tr>
|
||||
<td HEIGHT = "100%" width = "10%" bgcolor = "#D61414" valign = "top">
|
||||
<IMG src ="<%=Res.ApplContext%>/images/LogoTim.gif">
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!-- td dove scrivere i dati a destra -->
|
||||
|
||||
<!-- titolo a destra -->
|
||||
<BR>
|
||||
<b><i><FONT face = "Arial" color = "#455598" size = 4>MNP-CANALE ALTERNATIVO</Font></i></b>
|
||||
<!-- tabella dei dati -->
|
||||
<TABLE border = 0 align = "center" width = "100%">
|
||||
<tr>
|
||||
<td width = "90%"><font color = "#455598">
|
||||
<BR>Attenzione:
|
||||
<h2><%=exception.getMessage()%></h2>
|
||||
<BR>
|
||||
Il messaggio completo è :
|
||||
</FONT>
|
||||
<PRE><FONT size = "1" COLOR="RED"><%
|
||||
java.io.CharArrayWriter cw = new java.io.CharArrayWriter();
|
||||
java.io.PrintWriter pw = new java.io.PrintWriter(cw,true);
|
||||
exception.printStackTrace(pw);
|
||||
out.println(cw.toString());%>
|
||||
</FONT></PRE>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
</TABLE>
|
||||
|
||||
|
||||
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
127
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/EsitoAcquisizione.jsp
Normal file
@@ -0,0 +1,127 @@
|
||||
<%@page import = "java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
|
||||
<%@page import = "java.awt.print.*,mnp.objects.FileName, mnp.objects.OggettoRichiesta"%>
|
||||
<%@page import = "mnp.objects.ui.*,mnp.servlets.util.FileUploadServlet,mnp.servlets.util.UploadParser"%>
|
||||
<%@page import = "mnp.xml.parser.FileXML,mnp.xml.parser.XMLParser"%>
|
||||
<%@page import = "mnp.utility.ui.Res,mnp.utility.ui.PageLoader"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
|
||||
<jsp:useBean id="acquisisciBean" scope="request" class="mnp.objects.ui.AcquisisciBean" />
|
||||
<!--jsp:setProperty name="acquisisciBean" property="*" /-->
|
||||
<!--
|
||||
Pagina di ritorno della Acquisisci.jsp
|
||||
E' una pagina riepilogativa dei dati contenuti
|
||||
nel file .xml che si è voluto uploadare sulla
|
||||
macchina server.
|
||||
che ritornano un oggetto AcquisisciBean -- nella servlet FileUploadServlet.
|
||||
|
||||
@Autore : Alessia Streglio
|
||||
-->
|
||||
|
||||
<HTML>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
|
||||
<BODY>
|
||||
|
||||
<!-- codice java -->
|
||||
<%
|
||||
PageLoader pageLoader = new PageLoader();
|
||||
|
||||
String sNomeFile = "";
|
||||
String sIsValid = "";
|
||||
String sFileXml = "";
|
||||
String sMittente = "";
|
||||
int iTipoFile = 0;
|
||||
OggettoRichiesta[] objRichiesta = null;
|
||||
int iNumeroRichieste = 0;
|
||||
String sTipoFile = "";
|
||||
|
||||
|
||||
if(acquisisciBean.getFileXml() != null){
|
||||
sNomeFile = acquisisciBean.getFileXml().getFileName().getNomeFile()==null?"":acquisisciBean.getFileXml().getFileName().getNomeFile();;
|
||||
sIsValid = acquisisciBean.getEsitoOperazione()==null?"":acquisisciBean.getEsitoOperazione();
|
||||
sFileXml = acquisisciBean.getFileXml().getXML()==null?"":acquisisciBean.getFileXml().getXML();
|
||||
sMittente = acquisisciBean.getFileXml().getFileName().getMittente()==null?"":acquisisciBean.getFileXml().getFileName().getMittente();
|
||||
iTipoFile = acquisisciBean.getFileXml().getTipo_file();
|
||||
objRichiesta = acquisisciBean.getFileXml().getOggettoRichiestaSeq()==null?new OggettoRichiesta[]{}:acquisisciBean.getFileXml().getOggettoRichiestaSeq();
|
||||
iNumeroRichieste = acquisisciBean.getFileXml().getOggettoRichiestaSeq()==null?0:objRichiesta.length;
|
||||
sTipoFile = pageLoader.tipoFileInt2String(iTipoFile);
|
||||
}else{
|
||||
sIsValid = acquisisciBean.getEsitoOperazione()==null?"":acquisisciBean.getEsitoOperazione();
|
||||
}
|
||||
|
||||
|
||||
|
||||
%>
|
||||
<!-- fine codice java -->
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%">
|
||||
<TR><td width = "100%" bgcolor = "#D61414"> </td><TR>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
|
||||
<BR>
|
||||
<BR>
|
||||
<b><i><P class = "titolo">ESITO ACQUISIZIONE FILE</P></i></b>
|
||||
|
||||
|
||||
<FORM NAME= "frmSpedisci" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" >
|
||||
<!-- dati -->
|
||||
<TABLE width = "100%" BORDER= "1" class = "border">
|
||||
<TR>
|
||||
<TD><P class = "normale"> Nome FILE</P> </TD>
|
||||
<TD><P class = "normale"> Mittente </P></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD> <INPUT TYPE = "text" readOnly SIZE= "35" VALUE = "<%=sNomeFile%>"></TD>
|
||||
<TD> <INPUT TYPE = "text" readOnly VALUE = "<%=sMittente%>" ></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Tipo File</P> </TD>
|
||||
<TD><P class = "normale"> Num. Richieste</P> </TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD> <INPUT TYPE = "text" readOnly SIZE= "35" VALUE = "<%=sTipoFile%>"></TD>
|
||||
<TD> <INPUT TYPE = "text" readOnly VALUE = "<%=iNumeroRichieste%>" ></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD COLSPAN="2"><P class = "normale">Esito</P></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD COLSPAN="2"><INPUT class = "esitoRed" TYPE = "text" SIZE = "100" readOnly VALUE = "<%=sIsValid%>" ></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD COLSPAN="2"><P class = "normale">File Acquisito</P></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD COLSPAN="2"><TEXTAREA readOnly ROWS = "10" COLS = "80"><%=sFileXml%></TEXTAREA></TD>
|
||||
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><A class = "linkPage" HREF="<%=Res.ApplContext%>/MainDispatcher?nomePagina=Acquisisci"> << Back </A></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
129
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/EsitoInvio.jsp
Normal file
@@ -0,0 +1,129 @@
|
||||
<%@page import = "mnp.utility.ui.PageLoader"%>
|
||||
<%@page import = "mnp.objects.*, mnp.utility.ui.Res, mnp.objects.ui.EsitoRichiestaCA"%>
|
||||
|
||||
<jsp:useBean id="inviaBean" scope="request" class="mnp.objects.ui.InviaBean"/>
|
||||
<!--jsp:setProperty name="inviaBean" property="*"/-->
|
||||
|
||||
<!--
|
||||
Pagina di ritorno della Invio.jsp
|
||||
-->
|
||||
<HTML>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
|
||||
<BODY>
|
||||
<!-- codice java -->
|
||||
<%
|
||||
PageLoader pageLoader = new PageLoader();
|
||||
|
||||
String sNomeFileSelezionato = "";
|
||||
String sTipoFile = "";
|
||||
String sTipoProcesso = "";
|
||||
String sDestinatario = "";
|
||||
String sModoInvio = "";
|
||||
String[] aNomeFileGenerati = null;
|
||||
EsitoRichiestaCA[] esito = null;
|
||||
String sEsitoOperazione = inviaBean.getEsitoOperazione()==null?"":inviaBean.getEsitoOperazione();
|
||||
sEsitoOperazione = sEsitoOperazione.equals("pippo")?"":sEsitoOperazione;
|
||||
if((inviaBean != null) && (sEsitoOperazione.equals(""))){
|
||||
//--------------------------------------------------------------//
|
||||
//se sEsitoOperazione è valorizzato allora c-è stato un errore.
|
||||
//--------------------------------------------------------------//
|
||||
esito = inviaBean.getEsitoRichiesta();
|
||||
sNomeFileSelezionato = inviaBean.getNomeFile();
|
||||
sTipoFile = pageLoader.tipoFileInt2String(inviaBean.getTipoFile());
|
||||
sTipoProcesso = pageLoader.tipoProcesso2String(inviaBean.getTipoProcesso());
|
||||
sDestinatario = inviaBean.getDestinatario()==null?"":pageLoader.destinatarioArr2String(inviaBean.getDestinatario());
|
||||
sModoInvio = inviaBean.getModalitaInvio();
|
||||
aNomeFileGenerati = inviaBean.getNomeFileGenerati();
|
||||
|
||||
}
|
||||
|
||||
%>
|
||||
<!-- fine codice java -->
|
||||
<!-- intestazione -->
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%">
|
||||
<TR><td width = "100%" bgcolor = "#D61414"> </td><TR>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
|
||||
<BR>
|
||||
<BR>
|
||||
<b><i><P class = "titolo">ESITO INVIO FILE</P></i></b>
|
||||
|
||||
|
||||
<FORM NAME= "frmEsitoInvio" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" >
|
||||
<!-- dati -->
|
||||
<TABLE width = "100%" BORDER= "1" class = "border">
|
||||
<TR>
|
||||
<TD><P class = "normale">File Selezionato </P></TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtNomeFile' readOnly VALUE ='<%=sNomeFileSelezionato%>'></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Tipo PROCESSO </P> </TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtTipoPrc' readOnly VALUE ='<%=sTipoProcesso%>'></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Tipo FILE </P> </TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtTipoFile' readOnly VALUE ='<%=sTipoFile%>'></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Destinatario </P> </TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtDestinatario' readOnly VALUE ='<%=sDestinatario%>'></TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD><P class = "normale"> Modalità Invio </P> </TD>
|
||||
<TD><INPUT TYPE="text"SIZE = "80" NAME='txtModoInvio' readOnly VALUE ='<%=sModoInvio%>'></TD>
|
||||
</TR>
|
||||
<%if(!sEsitoOperazione.equals("")){%>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Esito Operazione </P> </TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtEsito' readOnly VALUE ='<%=sEsitoOperazione%>'></TD>
|
||||
</TR>
|
||||
<%}%>
|
||||
</TABLE>
|
||||
<%if(sEsitoOperazione.equals("")){%>
|
||||
<BR>
|
||||
<TABLE width = "100%" BORDER= "1" class = "border">
|
||||
<TR>
|
||||
<TD><P class = "normale">Nome File</P></TD>
|
||||
<!-- <TD><A onClick = "creaLista();"><IMG border = "0" SRC ="< %=Res.ApplContext%>\images\btn_listafile.gif"></a></TD>-->
|
||||
</TR>
|
||||
<%for(int i = 0;i<aNomeFileGenerati.length;i++){%>
|
||||
<TR>
|
||||
<!-- <TD colspan = "2"><P class = "normale">< %=aNomeFileGenerati[i]%></P></TD>-->
|
||||
<TD><P class = "normale"><%=aNomeFileGenerati[i]%></P></TD>
|
||||
</TR>
|
||||
<%}%>
|
||||
</TABLE>
|
||||
<%if(sModoInvio.equalsIgnoreCase("File")){%>
|
||||
<P class = "normale">I file inviati possono essere visualizzati nella Lista File. </P>
|
||||
<%}%>
|
||||
|
||||
<%}%>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><A class = "linkPage" HREF="<%=Res.ApplContext%>/MainDispatcher?nomePagina=Invio"> << Back </A></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
134
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/EsitoInvioAttivazioneGisp.jsp
Normal file
@@ -0,0 +1,134 @@
|
||||
<%@page import = "mnp.utility.ui.PageLoader"%>
|
||||
<%@page import = "mnp.objects.*, mnp.utility.ui.Res, mnp.objects.ui.*"%>
|
||||
|
||||
<jsp:useBean id="invioAttivazioneGispBean" scope="request" class="mnp.objects.ui.InvioAttivazioneGispBean"/>
|
||||
<!--jsp:setProperty name="inviaBean" property="*"/-->
|
||||
|
||||
<!--
|
||||
Pagina di ritorno della Invio.jsp
|
||||
-->
|
||||
<HTML>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
|
||||
<BODY>
|
||||
<!-- codice java -->
|
||||
<%
|
||||
PageLoader pageLoader = new PageLoader();
|
||||
|
||||
String sNomeFileSelezionato = "";
|
||||
String sTipoFile = "";
|
||||
String sTipoProcesso = "";
|
||||
String sDestinatario = "";
|
||||
String sModoInvio = "";
|
||||
String[] aNomeFileGenerati = null;
|
||||
EsitoRichiestaCA[] esito = null;
|
||||
String sEsitoOperazione ="";
|
||||
|
||||
invioAttivazioneGispBean = (InvioAttivazioneGispBean)session.getAttribute("invioAttivazioneGispBean");
|
||||
|
||||
sEsitoOperazione = invioAttivazioneGispBean.getEsitoOperazione().equals("OK")?"Richiesta di Attivazione Gisp Inviata":"Richiesta di Attivazione Gisp NON Inviata";
|
||||
if((invioAttivazioneGispBean != null) && (sEsitoOperazione.equals(""))){
|
||||
//--------------------------------------------------------------//
|
||||
//se sEsitoOperazione è valorizzato allora c-è stato un errore.
|
||||
//--------------------------------------------------------------//
|
||||
}
|
||||
|
||||
%>
|
||||
<!-- fine codice java -->
|
||||
<!-- intestazione -->
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%">
|
||||
<TR><td width = "100%" bgcolor = "#D61414"> </td><TR>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
|
||||
<BR>
|
||||
<BR>
|
||||
<b><i><P class = "titolo">ESITO RICHISTA ATTIVAZIONE GISP</P></i></b>
|
||||
|
||||
|
||||
<FORM NAME= "frmSpedisci" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" onSubmit = "return doCheckForm(this)">
|
||||
|
||||
<!-- dati -->
|
||||
<TABLE width = "100%" BORDER= "1" class ="border">
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale"> NOME_RICHIESTA </P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "nomeRichiesta" readOnly value="<%=invioAttivazioneGispBean.getNomeRichiesta()%>" ></INPUT></P>
|
||||
</TD>
|
||||
|
||||
</TR>
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale"> CAS </P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "cas" readOnly value="<%=invioAttivazioneGispBean.getCas()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale"> NUM_TEL </P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "numTel" readOnly value="<%=invioAttivazioneGispBean.getNumTel()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale"> DATA_ESPL </P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "dataEspl" readOnly value="<%=invioAttivazioneGispBean.getDataEspl()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale"> IMSI </P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "imsi" readOnly value="<%=invioAttivazioneGispBean.getImsi()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale">PROFILO</P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "profilo" readOnly value="<%=invioAttivazioneGispBean.getProfilo()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale">TID</P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "tid" readOnly value="<%=invioAttivazioneGispBean.getTid()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale">INTERNA</P>
|
||||
</TD>
|
||||
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "interna" readOnly value="<%=invioAttivazioneGispBean.getInterna()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<BR>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Esito Operazione </P> </TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtEsito' readOnly VALUE ='<%=sEsitoOperazione%>'></TD>
|
||||
</TR>
|
||||
<!--pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><A class = "linkPage" HREF="<%=Res.ApplContext%>/MainDispatcher?nomePagina=Invio"> << Back </A></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
143
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/EsitoInvioCessazioneGisp.jsp
Normal file
@@ -0,0 +1,143 @@
|
||||
<%@page import = "mnp.utility.ui.PageLoader"%>
|
||||
<%@page import = "mnp.objects.*, mnp.utility.ui.Res, mnp.objects.ui.EsitoRichiestaCA"%>
|
||||
<%@page import = "mnp.objects.ui.InvioCessazioneGispBean"%>
|
||||
<!--jsp:setProperty name="inviaBean" property="*"/-->
|
||||
|
||||
<!--
|
||||
Pagina di ritorno della Invio.jsp
|
||||
-->
|
||||
<HTML>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
|
||||
<BODY>
|
||||
<!-- codice java -->
|
||||
<%
|
||||
PageLoader pageLoader = new PageLoader();
|
||||
|
||||
System.out.println ("SONO QUIIIIIIIIIIIIIIIII");
|
||||
// String sNomeFileSelezionato = "";
|
||||
//String sTipoFile = "";
|
||||
//String sTipoProcesso = "";
|
||||
//String sDestinatario = "";
|
||||
//String sModoInvio = "";
|
||||
//String[] aNomeFileGenerati = null;
|
||||
//EsitoRichiestaCA[] esito = null;
|
||||
InvioCessazioneGispBean richiesta = new InvioCessazioneGispBean ();
|
||||
|
||||
if (session.getAttribute("csszBean")!=null)
|
||||
richiesta = (InvioCessazioneGispBean)session.getAttribute("csszBean");
|
||||
System.out.println ("richiesta : " + richiesta);
|
||||
|
||||
java.util.Date dataEspl=richiesta.getDataEspl()!=null?richiesta.getDataEspl():null;
|
||||
|
||||
richiesta.setDataEspl(dataEspl);
|
||||
richiesta.setImsi(richiesta.getImsi()==null?"":richiesta.getImsi());
|
||||
richiesta.setNomeRichiesta(richiesta.getNomeRichiesta()==null?"":richiesta.getNomeRichiesta());
|
||||
richiesta.setNumTel(richiesta.getNumTel()==null?"":richiesta.getNumTel());
|
||||
richiesta.setOloCode(richiesta.getOloCode()==null?"":richiesta.getOloCode());
|
||||
richiesta.setTid(richiesta.getTid()==null?"":richiesta.getTid());
|
||||
richiesta.setCas(richiesta.getCas()==null?"":richiesta.getCas());
|
||||
richiesta.setEsitoOperazione(richiesta.getEsitoOperazione()==null?"":richiesta.getEsitoOperazione());
|
||||
|
||||
String sEsitoOperazione ="";
|
||||
sEsitoOperazione = richiesta.getEsitoOperazione().equals("OK")?"Richiesta di Cessazione Gisp Inviata":"Richiesta di Cessazione Gisp NON Inviata";
|
||||
|
||||
System.out.println ("DOPO ESITO OPERAZIONE");
|
||||
//if((invioCessazioneGispBean != null) && (sEsitoOperazione.equals(""))){
|
||||
//--------------------------------------------------------------//
|
||||
//se sEsitoOperazione è valorizzato allora c-è stato un errore.
|
||||
//--------------------------------------------------------------//
|
||||
// }
|
||||
|
||||
%>
|
||||
<!-- fine codice java -->
|
||||
<!-- intestazione -->
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%">
|
||||
<TR><td width = "100%" bgcolor = "#D61414"> </td><TR>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
|
||||
<BR>
|
||||
<BR>
|
||||
<b><i><P class = "titolo">ESITO RICHISTA CESSAZIONE GISP</P></i></b>
|
||||
|
||||
|
||||
<FORM NAME= "frmSpedisci" ENCTYPE="multipart/form-data">
|
||||
|
||||
<!-- dati -->
|
||||
<TABLE width = "100%" BORDER= "1" class ="border">
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale"> NOME_RICHIESTA </P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "nomeRichiesta" readOnly value="<%=richiesta.getNomeRichiesta()%>" ></INPUT></P>
|
||||
</TD>
|
||||
|
||||
</TR>
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale"> CAS </P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "cas" readOnly value="<%=richiesta.getCas()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale"> NUM_TEL </P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "numTel" readOnly value="<%=richiesta.getNumTel()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale"> DATA_ESPL </P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "dataEspl" readOnly value="<%=richiesta.getDataEspl()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale"> IMSI </P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "imsi" readOnly value="<%=richiesta.getImsi()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale">OLO COD</P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "profilo" readOnly value="<%=richiesta.getOloCode()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD nowrap><P class = "normale">TID</P>
|
||||
</TD>
|
||||
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "tid" readOnly value="<%=richiesta.getTid()%>" ></INPUT></P>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<BR>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Esito Operazione </P> </TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtEsito' readOnly VALUE ='<%=sEsitoOperazione%>'></TD>
|
||||
</TR>
|
||||
<!--pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><A class = "linkPage" HREF="<%=Res.ApplContext%>/MainDispatcher?nomePagina=InvioEsitiGispErrore"> << Back </A></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
79
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/EsitoRinvio.jsp
Normal file
@@ -0,0 +1,79 @@
|
||||
<%@page import = "java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
|
||||
<%@page import = "java.awt.print.*,mnp.utility.ui.PageLoader"%>
|
||||
<%@page import = "mnp.objects.*, mnp.utility.ui.Res, mnp.objects.ui.EsitoRichiestaCA"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="reinviaBean" scope="request" class="mnp.objects.ui.ReinviaBean" />
|
||||
<!--jsp:setProperty name="reinviaBean" property="*" /-->
|
||||
|
||||
<!--
|
||||
Pagina di ritorno della Invio.jsp
|
||||
-->
|
||||
<HTML>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
|
||||
<BODY>
|
||||
<!-- codice java -->
|
||||
<%
|
||||
|
||||
String sNomeFileSelezionato = reinviaBean.getNomeFile()==null?"":reinviaBean.getNomeFile();
|
||||
String sModoInvio = reinviaBean.getModalitaInvio()==null?"":reinviaBean.getModalitaInvio();
|
||||
String sEsitoOperazione = reinviaBean.getEsito()==null?"":reinviaBean.getEsito();
|
||||
|
||||
%>
|
||||
<!-- fine codice java -->
|
||||
<!-- intestazione -->
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%">
|
||||
<TR><td width = "100%" bgcolor = "#D61414"> </td><TR>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br><br>
|
||||
<b><i><P class = "titolo">ESITO RINVIO FILE</P></i></b>
|
||||
|
||||
|
||||
<FORM NAME= "frmSpedisci" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" >
|
||||
<!-- dati -->
|
||||
<TABLE width = "100%" BORDER= "1" class = "border">
|
||||
<TR>
|
||||
<TD><P class = "normale">File Selezionato </P></TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtNomeFile' readOnly VALUE ='<%=sNomeFileSelezionato%>'></TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD><P class = "normale"> Modalità Invio </P> </TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtModoInvio' readOnly VALUE ='<%=sModoInvio%>'></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Esito Operazione </P> </TD>
|
||||
<TD><font color = "red"><TEXTAREA readOnly STYLE="overflow:hidden" STYLE="color:red" ROWS = "2" COLS = "80"><%=sEsitoOperazione%></TEXTAREA></font></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<%
|
||||
if(sEsitoOperazione.equalsIgnoreCase("OK") && sModoInvio.equalsIgnoreCase("FILE")) {%>
|
||||
<P class = "titolo">Selezionare ora <i>Lista File</i> per il download</P> <%
|
||||
}%>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><A class = "linkPage" HREF="<%=Res.ApplContext%>/MainDispatcher?nomePagina=Reinvia"> << Back </A></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
65
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/ForzaturaPrevalidazione.jsp
Normal file
@@ -0,0 +1,65 @@
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
|
||||
<html>
|
||||
<!--
|
||||
ForzaturaPrevalidazione.jsp
|
||||
Tramite questa maschera l'utente può caricare un file
|
||||
dalla sua macchina locale al server. Il file caricato deve essere un csv
|
||||
|
||||
La maschera di ritorno sarà la EsitoAcquisizione.jsp.
|
||||
|
||||
I controlli lato client vengono effettuati dal file
|
||||
VerificheScript.txt incluso nella pagina BannerFP.jsp.
|
||||
|
||||
-->
|
||||
<TITLE> Mnp </TITLE>
|
||||
<BODY class = "normal">
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%">
|
||||
<TR><td width = "100%" bgcolor = "#D61414"> </td><TR>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/BannerFP.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<b><i><FONT class = "titlePage">ELABORAZIONE FILE</FONT></i></b>
|
||||
|
||||
<!-- dati -->
|
||||
<br><br>
|
||||
<FORM NAME= "frmAcquisisci" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" onSubmit = "return checkPageForzaturaPrevalidazione(this)">
|
||||
|
||||
<TABLE class = "border" border = "1" width = "10%">
|
||||
|
||||
<TR>
|
||||
<TD><P class = "normale"> Elabora File : </P></TD>
|
||||
<TD><INPUT TYPE="file" NAME="inputFileCsvFP" ACCEPT="csv"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE border = "0" width = "90%">
|
||||
<TR>
|
||||
|
||||
<TD align = "center"><INPUT TYPE= "submit" NAME= "btnAcquisisciFP" VALUE= "ELABORA"></TD>
|
||||
<TD align = "center"><INPUT TYPE= "hidden" NAME= "pageFP"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
</table>
|
||||
|
||||
<!-- tabella x menu verticale-->
|
||||
<td><br></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
73
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/AnnullamentoMassivo.jsp
Normal file
@@ -0,0 +1,73 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
AnnullamentoMassivo
|
||||
</title>
|
||||
|
||||
</head>
|
||||
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.filter.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<!-- COPY -->
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "left" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<!-- /COPY -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo" align = 'right'>ANNULLAMENTO FORZATO RICHIESTE DBC</P></i></b>
|
||||
<!-- titolo della tabella --->
|
||||
|
||||
<form name = 'annullaForm' ENCTYPE="multipart/form-data" method= 'post' action = "<%=Res.ApplContext%>/<%=CommandsDef.SHOW_RIC_DA_ANNULLARE_DO%>" onSubmit = "return checkFile(this.annullamentoFile.value)">
|
||||
<table width='100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'left'><font class = 'normaleTab'>Seleziona il file di richieste di Cessazione Porting da Annullare:</font></td>
|
||||
<%
|
||||
String processo = request.getParameter("proc");
|
||||
if(processo.equalsIgnoreCase(ProcessMapper.proc_CESS_PORTING)){%>
|
||||
<input type = 'hidden' name = 'proc' value = '<%=ProcessMapper.proc_CESS_PORTING%>'>
|
||||
<%}else if(processo.equalsIgnoreCase(ProcessMapper.proc_RECIPIENT)){%>
|
||||
<input type = 'hidden' name = 'proc' value = '<%=ProcessMapper.proc_RECIPIENT%>'>
|
||||
<%}else if(processo.equalsIgnoreCase(ProcessMapper.proc_DONOR)){%>
|
||||
<input type = 'hidden' name = 'proc' value = '<%=ProcessMapper.proc_DONOR%>'>
|
||||
<%}%>
|
||||
</tr>
|
||||
<tr><td class = 'tdBianco'> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='left'>
|
||||
<input type='file' name='annullamentoFile'>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "CONFERMA" VALUE= "CONFERMA"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
271
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/Banner.jsp
Normal file
@@ -0,0 +1,271 @@
|
||||
<%@page import = "mnp.command.CommandsDef,mnp.database.dao.ProfiloDAO,mnp.objects.ProcessMapper, mnp.objects.ui.LoginBean,mnp.utility.ui.Res"%>
|
||||
<%@ page import="mnp.crontab.utility.Resources" %>
|
||||
<html>
|
||||
<head>
|
||||
<%
|
||||
LoginBean aLoginBean = (LoginBean) session.getAttribute("LoginBean");
|
||||
ProfiloDAO pr = new ProfiloDAO();
|
||||
aLoginBean.setListFunction(pr.listFunctionApplication(aLoginBean.getCodiceProfilo()));
|
||||
%>
|
||||
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css"/>
|
||||
<jsp:include page="/jsp/GUI/GUIReportScript.txt" flush="true"/>
|
||||
<jsp:include page="/jsp/GUI/GUIScript.txt" flush="true"/>
|
||||
<jsp:include page="/jsp/popcalendar.txt" flush="true"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<iframe src="/MNP-GUI/jsp/GUI/Empty.jsp" width="0" height="0"></iframe>
|
||||
<table class = "tableBannerRosso" HEIGHT= "100%" width = "130px">
|
||||
<br>
|
||||
<tr>
|
||||
<td height='1px' align="center">
|
||||
<img SRC ="<%=Res.ApplContext%>\images\LogoMnp.gif"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!--Modifica del 25-03-2010 -->
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=CommandsDef.SHOW_RIC_FILTER_DO%>" class="linkBanner">
|
||||
> RICERCA RICHIESTE
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<!--<TR><TD height = '1px' nowrap><A HREF = "<%=CommandsDef.SHOW_STATE_FILTER_DO%>" class = "linkBanner">> STATO RICHIESTE</A></TD></TR>
|
||||
<TR><TD> </TD></TR>
|
||||
|
||||
<% if (aLoginBean.visualizzaFunction("ShowListaRichiesteBloccate.do"))
|
||||
{ %>
|
||||
<TR><TD height = '1px' nowrap><A HREF = "<%=Res.ApplContext+"/"+CommandsDef.SHOW_LISTA_RICHIESTE_BLOCCATE_DO%>?cmdFrom=blocco&process=D" class = "linkBanner">> RICHIESTE DONOR BLOCCATE</A></TD></TR>
|
||||
<TR><TD> </TD></TR>
|
||||
<TR><TD height = '1px' nowrap><A HREF = "<%=Res.ApplContext+"/"+CommandsDef.SHOW_LISTA_RICHIESTE_BLOCCATE_DO%>?cmdFrom=blocco&process=R" class = "linkBanner">> RICHIESTE RECIPIENT BLOCCATE</A></TD></TR>
|
||||
|
||||
Fine Modifica del 25-03-2010 -->
|
||||
<!-- Aggiunto Link per il Blocco Sblocco Massivo-->
|
||||
|
||||
<!--Modifica del 25-03-2010 -->
|
||||
<!--
|
||||
<TR><TD> </TD></TR>
|
||||
<TR><TD height = '1px' nowrap><A HREF = "<%=Res.ApplContext%>/jsp/GUI/BloccoSbloccoMassivo.jsp" class = "linkBanner">> BLOCCO SBLOCCO MASSIVO</A></TD></TR>
|
||||
<TR><TD> </TD></TR>
|
||||
<% } %>
|
||||
Fine Modifica del 25-03-2010 -->
|
||||
|
||||
<% if (aLoginBean.visualizzaFunction("GestioneReport.jsp")) { %>
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=Res.ApplContext%>/jsp/GUI/GestioneReport.jsp" class="linkBanner">
|
||||
> GESTIONE REPORT
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<% if (aLoginBean.visualizzaFunction("PresentazioneCA.jsp")) { %>
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=Res.ApplContext%>/jsp/PresentazioneCA.jsp" class="linkBanner">
|
||||
> CAN.ALTERNATIVO
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<% if (aLoginBean.visualizzaFunction("SceltaProcessoAnnullamenti.jsp")) { %>
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=Res.ApplContext%>/jsp/GUI/AnnullamentoMassivo.jsp?proc=<%=ProcessMapper.proc_CESS_PORTING%>" class="linkBanner">
|
||||
> ANNUL. MASSIVO
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<% if (aLoginBean.visualizzaFunction("SceltaProcesso.jsp")) { %>
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=Res.ApplContext%>/jsp/GUI/SceltaProcesso.jsp" class="linkBanner">
|
||||
> SIMULAZIONE MSS
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<% if (aLoginBean.visualizzaFunction("PresentazioneFP.jsp")) { %>
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=Res.ApplContext%>/jsp/PresentazioneFP.jsp" class="linkBanner">
|
||||
> FORZATURA PREVALIDAZIONI
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<% if (aLoginBean.visualizzaFunction("SceltaReportMancateAzioni.do")) { %>
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=CommandsDef.SCEGLI_REPORT_MANCATE_AZIONI_DO%>?tipoOperazione=combo" class="linkBanner">
|
||||
> MANCATE AZIONI
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<% if (aLoginBean.visualizzaFunction("InvioEsitiGisp.jsp")) { %>
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=Res.ApplContext%>/jsp/InvioEsitiGisp.jsp" class="linkBanner">
|
||||
> SIMULAZIONE INVIO ESITI GISP
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<% if (aLoginBean.visualizzaFunction("RicezioneEsitiGisp.jsp")) { %>
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=Res.ApplContext%>/jsp/RicezioneEsitiGisp.jsp" class="linkBanner">
|
||||
> SIMULAZIONE RICEZIONE ESITI GISP
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (aLoginBean.visualizzaFunction("TaskPic.jsp")) { %>
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=Res.ApplContext%>/jsp/TaskPic.jsp" class="linkBanner">
|
||||
> TASK PIC
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<% if (aLoginBean.visualizzaFunction(CommandsDef.SHOW_KPI_VIEW)) { %>
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=CommandsDef.SHOW_KPI_VIEW%>" class="linkBanner">
|
||||
> REPORT KPI
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=CommandsDef.SHOW_LISTA_FILE_REINVIABILI_DO%>" class="linkBanner">
|
||||
> FILE REINVIABILI: <%=aLoginBean.getReinvNum()%>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td height='1px' nowrap>
|
||||
<a href="<%=CommandsDef.SHOW_LISTA_FILE_NON_REINVIABILI_DO%>" class="linkBanner">
|
||||
> FILE NON REINVIABILI: <%=aLoginBean.getNonReinvNum()%>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<a href="#" onClick="return logout('<%=Resources.getURL_LOGOUT_PCS()%>')" class="linkBanner">
|
||||
> LOG-OUT
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Casetta Home back e forward -->
|
||||
<tr>
|
||||
<td height='1px' width="100%" bgcolor="#D61414" align="center">
|
||||
<a href ='javascript:history.back()'>
|
||||
<img border=0 SRC="<%=Res.ApplContext%>/images/back.gif"/>
|
||||
</a>
|
||||
<a href="<%=Res.ApplContext%>/jsp/Presentazione.jsp" class="linkBanner">
|
||||
<img border=0 SRC="<%=Res.ApplContext%>/images/casetta.gif">
|
||||
</a>
|
||||
<a href ='javascript:history.forward()'>
|
||||
<img border=0 SRC="<%=Res.ApplContext%>/images/forward.gif">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</iframe>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,106 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
BloccaSbloccaRichiestaDONOR
|
||||
</title>
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.result.*,mnp.objects.StatoRichiesta"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*,mnp.database.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ModificaRichiesteResult" />
|
||||
|
||||
<%if(request.getParameter("btnConf")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*"/>
|
||||
<jsp:forward page="/ShowEsitoBloccaSblocca.do"/>
|
||||
<%}%>
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">BLOCCA / SBLOCCA RICHIESTA DONOR</P></i></b>
|
||||
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'simulaForm' method= 'post' action = '<%=Res.ApplContext%>/jsp/GUI/BloccaSbloccaRichiestaDONOR.jsp' onSubmit = 'return checkCampi(this);'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Blocca Sblocca Richiesta : </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
ModificaRichiesteResult modRicRe = resultBean;
|
||||
String warnColor = null;
|
||||
int iStato = -1;
|
||||
if (modRicRe!= null){
|
||||
warnColor = modRicRe.getEsito().equalsIgnoreCase("OK")?"tdVerde":"tdRosso";
|
||||
iStato = Integer.parseInt(modRicRe.getStato());
|
||||
%>
|
||||
<tr>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='id_richiesta' value = '<%=modRicRe.getId_richiesta()%>'><font class = 'normaleTab'><%=modRicRe.getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='stato' value = '<%=modRicRe.getStato()%>'><font class = 'normaleTab'><%=StatoRichiesta.getStatoDescr(iStato)%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getEsito()%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width = '100%' border='1' >
|
||||
<tr>
|
||||
<td align = 'left' class = 'tdCeleste'><font class = 'normaleTab'>TT</font></td>
|
||||
<%if(iStato != StatoRichiesta.BLOCCATA){%>
|
||||
<td align = 'left' class = 'tdCeleste'><font class = 'normaleTab'>DATA SBLOCCO</font></td>
|
||||
<%}%>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = 'left' class = 'tdGiallo'><input type='text' name='TT' value = ''></td>
|
||||
<%if(iStato != StatoRichiesta.BLOCCATA){%>
|
||||
<td align = 'left' class = 'tdGiallo'><input type='text' name='data_sblocco' value = '' onBlur ='checkData(this,this.value)'></td>
|
||||
<%}%>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<%if(modRicRe.getEsito().equalsIgnoreCase("OK")){%>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<%if(iStato != StatoRichiesta.BLOCCATA){%>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="btnConf" value=" BLOCCA RICHIESTA "></TD>
|
||||
<%}else{%>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="btnConf" value=" SBLOCCA RICHIESTA "></TD>
|
||||
<%}%>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<%}%>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
@@ -0,0 +1,112 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
BloccaSbloccaRichiestaRECIPIENT
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.result.*, mnp.command.*, java.util.*, mnp.command.BloccoSbloccoRecipient, mnp.objects.StatoRichiestaRec"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="java.util.ArrayList"></jsp:useBean>
|
||||
|
||||
<%
|
||||
int op_type = ((Integer)request.getAttribute("op_type")).intValue();
|
||||
int esito_globale = ((Integer)request.getAttribute("esito_globale")).intValue();
|
||||
%>
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">BLOCCA / SBLOCCA RICHIESTE RECIPIENT</P></i></b>
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
|
||||
<form name = 'simulaForm' method= 'post' action = '<%=Res.ApplContext%>/ShowEsitoBloccaSbloccaRec.do' onSubmit = 'return checkCampi(this);'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Blocca Sblocca Richieste : </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
List result = resultBean;
|
||||
Iterator iter = result.listIterator();
|
||||
ModificaRichiesteResult modRicRe;
|
||||
int iStato = -1;
|
||||
while (iter.hasNext()) {
|
||||
modRicRe = (ModificaRichiesteResult)iter.next();
|
||||
String warnColor = null;
|
||||
if (modRicRe!= null){
|
||||
warnColor = modRicRe.getEsito().equalsIgnoreCase("OK")?"tdVerde":"tdRosso";
|
||||
iStato = Integer.parseInt(modRicRe.getStato());
|
||||
%>
|
||||
<tr>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='id_richiesta' value = '<%=modRicRe.getId_richiesta()%>'><font class = 'normaleTab'><%=modRicRe.getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='stato' value = '<%=modRicRe.getStato()%>'><font class = 'normaleTab'><%=StatoRichiestaRec.getStatoDescr(iStato)%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getEsito()%></font></td>
|
||||
</tr>
|
||||
<%}}%>
|
||||
<tr>
|
||||
<input type = 'hidden' name='op_type' value = '<%=op_type%>'>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<!-- Solo nel caso di esito globale positivo mostro TT e DATASBLOCCO e i pulsanti-->
|
||||
<%if (esito_globale == BloccoSbloccoRecipient.ESITO_GLOBALE_OK){%>
|
||||
|
||||
<table width = '100%' border='1' >
|
||||
<tr>
|
||||
<td align = 'left' class = 'tdCeleste'><font class = 'normaleTab'>TT</font></td>
|
||||
<%if(op_type == BloccoSbloccoRecipient.OP_BLOCCO){%>
|
||||
<td align = 'left' class = 'tdCeleste'><font class = 'normaleTab'>DATA SBLOCCO</font></td>
|
||||
<%}%>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = 'left' class = 'tdGiallo'><input type='text' name='TT' value = ''></td>
|
||||
<%if(op_type == BloccoSbloccoRecipient.OP_BLOCCO){%>
|
||||
<td align = 'left' class = 'tdGiallo'><input type='text' name='data_sblocco' value = '' onBlur ='checkData(this,this.value)'></td>
|
||||
<%}%>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- pulsanti -->
|
||||
<br><br><hr class = "riga">
|
||||
<table width = "100%">
|
||||
<tr>
|
||||
<%if(op_type == BloccoSbloccoRecipient.OP_BLOCCO){%>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="btnConf" value=" BLOCCA RICHIESTA "></TD>
|
||||
<%}else{%>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="btnConf" value=" SBLOCCA RICHIESTA "></TD>
|
||||
<%}%>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<%}%>
|
||||
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</body>
|
||||
</html>
|
||||
63
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/BloccoSbloccoMassivo.jsp
Normal file
@@ -0,0 +1,63 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
BloccoSbloccoMassivo
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.command.*"%>
|
||||
|
||||
<body>
|
||||
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "left" valign = "top" width = "90%">
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo" align = 'right'>BLOCCO SBLOCCO MASSIVO RICHIESTE RECIPIENT</P></i></b>
|
||||
<form name='bloccoSbloccoMassivoForm' ENCTYPE='multipart/form-data' method='post' action='<%=Res.ApplContext+"/"+CommandsDef.BLOCCO_SBLOCCO_REC_MASSIVO_DO%>'>
|
||||
<table width='100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'left'><font class = 'normaleTab'>Selezionare il file:</font></td>
|
||||
<td class= 'tdCeleste' align= 'left'><font class = 'normaleTab'>Selezionare il tipo di operazione:</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdBianco'> </td>
|
||||
<td class = 'tdBianco'> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='left'>
|
||||
<input type='file' name='bloccoSbloccoFile'>
|
||||
</td>
|
||||
<td class= 'tdGiallo' align='left'>
|
||||
<input type='radio' name='bloccoSbloccoRadio' value='blocco' checked/> <font class = 'normaleTab'>Blocco</font><br>
|
||||
<input type='radio' name='bloccoSbloccoRadio' value='sblocco'/> <font class = 'normaleTab'>Sblocco</font><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- Inserisco i pulsanti -->
|
||||
<br><br> <hr class="riga">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td align="center"> <input type="submit" name="conferma" value="conferma"/></td>
|
||||
<input type='hidden' name='tipoProcesso' value='recipient'>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
39
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ButtonPage.jsp
Normal file
@@ -0,0 +1,39 @@
|
||||
<%@page import = "mnp.objects.dao.RichiestaRecipient"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.objects.PageInfo,mnp.utility.DateUtils"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ResultObject" />
|
||||
|
||||
|
||||
<BR><BR><HR class = "riga">
|
||||
<%
|
||||
PageInfo pInfo = resultBean.getPageInfo();
|
||||
int pageTot = pInfo.getMaxPage();
|
||||
int pageAtt = pInfo.getPage();
|
||||
String originalCommand = (String)request.getAttribute("originalCommand");
|
||||
%>
|
||||
|
||||
<form name = 'pagingForm' action='<%=originalCommand%>'>
|
||||
<TABLE width = "20%" align = 'center'>
|
||||
<TR>
|
||||
<%
|
||||
Enumeration e = request.getParameterNames();
|
||||
while(e.hasMoreElements()) {
|
||||
String name = (String)e.nextElement();
|
||||
String val = request.getParameter(name);
|
||||
if(!name.equalsIgnoreCase("page"))
|
||||
out.println("<input type='hidden' name='"+name+"' value='"+val+"'>");
|
||||
}
|
||||
%>
|
||||
<input type='hidden' value=>
|
||||
<TD align = 'right'><a onClick='gotoPage("<%=originalCommand%>", "prev", <%=pageTot%>);'><font class = 'normaleTab'><u style='cursor:hand'> << </u></font></a></TD>
|
||||
<TD align = 'right'> </TD>
|
||||
<TD align = 'right'><font class = 'normaleTab'>Pagina</font></TD>
|
||||
<TD width='5px'><input type ='text' name = 'page' value ='<%=pageAtt%>' size ='3'></TD>
|
||||
<TD><font class = 'normaleTab'>di</font></TD>
|
||||
<TD><font class = 'normaleTab'><%=pageTot%></font></TD>
|
||||
<TD><INPUT TYPE= "button" NAME= "btnGenera" VALUE= " VAI " onClick='gotoPage("<%=originalCommand%>", null, <%=pageTot%>);'></TD>
|
||||
<TD align = 'right'> </TD>
|
||||
<TD align = 'right'><a onClick='gotoPage("<%=originalCommand%>", "next", <%=pageTot%>);'><font class = 'normaleTab'><u style='cursor:hand'> >> </u></font></a></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</form>
|
||||
81
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ErrorJSP.jsp
Normal file
@@ -0,0 +1,81 @@
|
||||
<%@page isErrorPage="true" %>
|
||||
<%@page import = "java.io.*, java.lang.*, mnp.objects.*, mnp.objects.ui.*, mnp.exception.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ErrorJSP
|
||||
</title>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="java.lang.Exception" />
|
||||
|
||||
<%
|
||||
Exception myEx = new Exception();
|
||||
%>
|
||||
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- riga rossa orizzontale -->
|
||||
<table width = "100%">
|
||||
<TR><td width = "100%" bgcolor = "#D61414"> </td><TR>
|
||||
</table>
|
||||
<!-- colonna di menu verticale -->
|
||||
<table width = "100%" border = "0">
|
||||
<tr>
|
||||
<td HEIGHT = "100%" width = "10%" bgcolor = "#D61414" valign = "top">
|
||||
<IMG src ="<%=Res.ApplContext%>/images/LogoTim.gif">
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!-- td dove scrivere i dati a destra -->
|
||||
|
||||
<!-- titolo a destra -->
|
||||
<BR>
|
||||
<b><i><FONT face = "Arial" color = "#455598" size = 4>GUI</Font></i></b>
|
||||
<!-- tabella dei dati -->
|
||||
<TABLE border = 0 align = "center" width = "100%">
|
||||
<tr>
|
||||
<td width = "90%">
|
||||
<font color = "#455598">
|
||||
|
||||
<%
|
||||
if(resultBean!=null) {
|
||||
|
||||
myEx= resultBean;
|
||||
myEx.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
%>
|
||||
|
||||
Attenzione!<br />
|
||||
Impossibile visualizzare la pagina causa:
|
||||
<% if(resultBean.getMessage()!=null){
|
||||
%>
|
||||
<hr><h3><b><%=myEx.getMessage()%></b></h3><br><hr></font>
|
||||
<%}
|
||||
else{%>
|
||||
|
||||
<hr><h3><b>Messaggio dell'errore non disponibile!</b></h3><br><hr>
|
||||
|
||||
<%}%>
|
||||
</font> </td>
|
||||
</tr>
|
||||
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
</TABLE>
|
||||
|
||||
|
||||
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,141 @@
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.utility.DateUtils"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.filter.DonorFilter" />
|
||||
|
||||
<%if(request.getParameter("btnFiltra")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*"/>
|
||||
<jsp:forward page="/ShowStateConsoleDONOR.do"/>
|
||||
<%}%>
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
FiltroStatoRichiesteDonor
|
||||
</title>
|
||||
</head>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<b><i><P class = "titolo"> FILTRO STATO DELLE RICHIESTE DONOR</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmFiltroDonor" method="post" onSubmit = "return checkFiltroStatiDonor();" action = "<%=CommandsDef.SHOW_STATE_FILTER_DO%>">
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<%
|
||||
String[] aOT = null;
|
||||
|
||||
if(resultBean != null){
|
||||
aOT = resultBean.getNome_ot();
|
||||
}
|
||||
%>
|
||||
<table width = '100%' border = '1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Tipo Processo</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><select name = 'tipo_processo' onChange = 'javascript:document.frmFiltroDonor.submit();'>
|
||||
<option selected value = '<%=ProcessMapper.proc_DONOR_Name%>'>DONOR</option>
|
||||
<option value = '<%=ProcessMapper.proc_RECIPIENT_Name%>'>RECIPIENT</option>
|
||||
<option value = '<%=ProcessMapper.proc_PORTING_IN%>'>TERZA PARTE</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr><td class = 'tdBianco' colspan = '4'> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><input type = 'text' name = 'data_ricezione' onBlur ='checkData(this,this.value);'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Ricezione Richiesta Da</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_ricezione_da' onBlur ='checkData(this,this.value);addSysdate(this.value,document.forms[0].data_ricezione_a);'></td>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Ricezione Richiesta A</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_ricezione_a' onBlur ='checkData(this,this.value)'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><input type = 'text' name = 'data_cut_over' onBlur ='checkData(this,this.value)'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Cut Over Da</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_cut_over_da' onBlur ='checkData(this,this.value);addSysdate(this.value,document.forms[0].data_cut_over_a);'></td>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Cut Over A</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_cut_over_a' onBlur ='checkData(this,this.value)'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Seleziona il Tipo Cliente</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><select name = 'tipo_cliente'>
|
||||
<option value = '*'>Tutti</option>
|
||||
<option value = 'BU'>Business</option>
|
||||
<option value = 'CO'>Consumer</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Seleziona l'OT</font></td>
|
||||
<td class = 'tdGiallo' colspan = '3'><select name ='nome_ot'>
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOT.length; i++) {%>
|
||||
<option value = '<%=aOT[i]%>'><%=aOT[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Seleziona il Tipo Contratto</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><select name = 'tipo_contratto'>
|
||||
<option value = '*' >Tutti</option>
|
||||
<option value = 'PRP'>Prepagato</option>
|
||||
<option value = 'POP'>Postpagato</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Seleziona il Tipo di Richiesta</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><select name = 'prj_hoc'>
|
||||
<option value ='*'>Tutti</option>
|
||||
<option value ='0'>Standard</option>
|
||||
<option value ='1'>Progetti ad Hoc</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Seleziona l'Operatore </font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'>
|
||||
<table>
|
||||
<%
|
||||
if(resultBean != null){
|
||||
String[] aOperatori = null;
|
||||
if(resultBean.getOperatore() != null){
|
||||
aOperatori = resultBean.getOperatore();%>
|
||||
<input type = 'hidden' name = 'lenArray' value = '<%=aOperatori.length%>'>
|
||||
<%for (int i = 0; i < aOperatori.length; i++) {%>
|
||||
<tr>
|
||||
<td width ='5%'><input type = 'checkbox' name = 'operatore' value = '<%=aOperatori[i]%>'></td>
|
||||
<td><font class = 'normaleTab'><%=aOperatori[i]%></font></td>
|
||||
</tr>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
</table>
|
||||
</td>
|
||||
</table>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnFiltra" VALUE= " FILTRA "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</FORM>
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,138 @@
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.utility.DateUtils"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.filter.RecipientFilter" />
|
||||
|
||||
<%if(request.getParameter("btnFiltra")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*"/>
|
||||
<jsp:forward page="/ShowStateConsoleRECIPIENT.do"/>
|
||||
<%}%>
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
FiltroStatoRichiesteRecipient
|
||||
</title>
|
||||
</head>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<b><i><P class = "titolo"> FILTRO STATO DELLE RICHIESTE RECIPIENT</P></i></b>
|
||||
<!-- titolo -->
|
||||
|
||||
<form name = "frmFiltroRecipient" method="post" onSubmit = "return checkFiltroStatiRecipient();" action = "<%=CommandsDef.SHOW_STATE_FILTER_DO%>" >
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<table width = '100%' border = '1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Tipo Processo</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><select name = 'tipo_processo' onChange = 'javascript:document.frmFiltroRecipient.submit();'>
|
||||
<option value = '<%=ProcessMapper.proc_DONOR_Name%>'>DONOR</option>
|
||||
<option value = '<%=ProcessMapper.proc_PORTING_IN%>'>TERZA PARTE</option>
|
||||
<option selected value = '<%=ProcessMapper.proc_RECIPIENT_Name%>'>RECIPIENT</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr><td class = 'tdBianco' colspan = '4'> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Invio Richiesta</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><input type = 'text' name = 'data_invio' onBlur ='checkData(this,this.value)'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Invio Richiesta Da</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_invio_da' onBlur ='checkData(this,this.value);addSysdate(this.value,document.forms[0].data_invio_a);'></td>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Invio Richiesta A</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_invio_a' onBlur ='checkData(this,this.value)'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><input type = 'text' name = 'data_cut_over' onBlur ='checkData(this,this.value)'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Cut Over Da</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_cut_over_da' onBlur ='checkData(this,this.value);addSysdate(this.value,document.forms[0].data_cut_over_a);'></td>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Cut Over A</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_cut_over_a' onBlur ='checkData(this,this.value)'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Seleziona il Tipo Cliente</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><select name = 'tipo_cliente'>
|
||||
<option value = '*' >Tutti </option>
|
||||
<option value = 'BU' >Business</option>
|
||||
<option value = 'CO' >Consumer</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Seleziona il Tipo di Richiesta</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><select name = 'prj_hoc'>
|
||||
<option value = '*'>Tutti</option>
|
||||
<option value = '0'>Standard</option>
|
||||
<option value = '1'>Progetti ad Hoc</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Seleziona il Tipo Contratto</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><select name = 'tipo_contratto'>
|
||||
<option value = '*' >Tutti </option>
|
||||
<option value = 'PRP'>Prepagato </option>
|
||||
<option value = 'POP'>Postpagato</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Seleziona il Tipo di Tecnologia</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><select name = 'tecnologia'>
|
||||
<option value = '*' >Tutti </option>
|
||||
<option value = 'A'>TACS </option>
|
||||
<option value = 'D'>GSM </option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Seleziona l'Operatore </font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'>
|
||||
<table>
|
||||
<%
|
||||
if(resultBean != null){
|
||||
String[] aOperatori = null;
|
||||
if(resultBean.getOperatore() != null){
|
||||
aOperatori = resultBean.getOperatore();%>
|
||||
<input type = 'hidden' name = 'lenArray' value = '<%=aOperatori.length%>'>
|
||||
<%for (int i = 0; i < aOperatori.length; i++) {%>
|
||||
<tr>
|
||||
<td width ='5%'><input type = 'checkbox' name = 'operatore' value = '<%=aOperatori[i]%>'></td>
|
||||
<td><font class = 'normaleTab'><%=aOperatori[i]%></font></td>
|
||||
</tr>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnFiltra" VALUE= " FILTRA "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- pulsanti -->
|
||||
|
||||
</FORM>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,107 @@
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.utility.DateUtils"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.filter.TerzePartiFilter" />
|
||||
|
||||
<%if(request.getParameter("btnFiltra")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*"/>
|
||||
<jsp:forward page="/ShowStateConsoleTERZEPARTI.do"/>
|
||||
<%}%>
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
FiltroStatoRichiesteTerzeParti
|
||||
</title>
|
||||
</head>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<b><i><P class = "titolo"> FILTRO STATO DELLE RICHIESTE PORTING TERZA PARTE</P></i></b>
|
||||
<!-- titolo -->
|
||||
|
||||
<form name = "frmFiltroTerzeParti" method="post" onSubmit = "return checkFiltroStatiTerzeParti();" action = "<%=CommandsDef.SHOW_STATE_FILTER_DO%>" >
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<table width = '100%' border = '1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Tipo Processo</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><select name = 'tipo_processo' onChange = 'javascript:document.frmFiltroTerzeParti.submit();'>
|
||||
<option value = '<%=ProcessMapper.proc_DONOR_Name%>'>DONOR</option>
|
||||
<option selected value = '<%=ProcessMapper.proc_PORTING_IN%>'>TERZA PARTE</option>
|
||||
<option value = '<%=ProcessMapper.proc_RECIPIENT_Name%>'>RECIPIENT</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr><td class = 'tdBianco' colspan = '4'> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><input type = 'text' name = 'data_ricezione_richiesta' onBlur ='checkData(this,this.value)'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Ricezione Richiesta Da</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_ricezione_richiesta_da' onBlur ='checkData(this,this.value);addSysdate(this.value,document.forms[0].data_ricezione_richiesta_a);'></td>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Ricezione Richiesta A</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_ricezione_richiesta_a' onBlur ='checkData(this,this.value)'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'><input type = 'text' name = 'data_cut_over' onBlur ='checkData(this,this.value)'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Cut Over Da</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_cut_over_da' onBlur ='checkData(this,this.value);addSysdate(this.value,document.forms[0].data_cut_over_a);'></td>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Data Cut Over A</font></td>
|
||||
<td class= 'tdGiallo'><input type = 'text' name = 'data_cut_over_a' onBlur ='checkData(this,this.value)'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Seleziona l'Operatore </font></td>
|
||||
<td class= 'tdGiallo' colspan = '3'>
|
||||
<table>
|
||||
<%
|
||||
if(resultBean != null){
|
||||
String[] aOperatori = null;
|
||||
if(resultBean.getOperatore() != null){
|
||||
aOperatori = resultBean.getOperatore();%>
|
||||
<input type = 'hidden' name = 'lenArray' value = '<%=aOperatori.length%>'>
|
||||
<%for (int i = 0; i < aOperatori.length; i++) {%>
|
||||
<tr>
|
||||
<td width ='5%'><input type = 'checkbox' name = 'operatore' value = '<%=aOperatori[i]%>'></td>
|
||||
<td><font class = 'normaleTab'><%=aOperatori[i]%></font></td>
|
||||
</tr>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnFiltra" VALUE= " FILTRA "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- pulsanti -->
|
||||
|
||||
</FORM>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
258
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/GUIReportScript.txt
Normal file
@@ -0,0 +1,258 @@
|
||||
<script language = "Javascript">
|
||||
|
||||
//----------------------------------------//
|
||||
// Questo file contiene gli script //
|
||||
// javascript per validare le pagine dei //
|
||||
// report jsp lato client. //
|
||||
// @Autore : Francesca Coppola //
|
||||
// @Data : 13/02/2003 //
|
||||
//----------------------------------------//
|
||||
|
||||
|
||||
function checkCategoriaReport(valore)
|
||||
{
|
||||
var sCategoria = valore;
|
||||
|
||||
|
||||
if(sCategoria == "")
|
||||
{
|
||||
alert("ATTENZIONE : SELEZIONARE UNA CATEGORIA");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
var app = '/VisualizzaListaReportCrontab.do';
|
||||
//document.forms[0].action = app;
|
||||
document.forms[0].method = 'POST';
|
||||
document.forms[0].submit();
|
||||
}
|
||||
}
|
||||
|
||||
function checkTipoProcesso(sContext,valore)
|
||||
{
|
||||
var sTipoProcesso = valore;
|
||||
|
||||
|
||||
if(sTipoProcesso == "")
|
||||
{
|
||||
alert("ATTENZIONE : SELEZIONARE UN TIPO PROCESSO");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
var pathCreato = sContext +'/ScegliReport.do';
|
||||
document.forms[0].action = pathCreato;
|
||||
document.forms[0].method = 'POST';
|
||||
document.forms[0].submit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function checkNomeReport(sContext,nomereport, processo)
|
||||
{
|
||||
|
||||
|
||||
if((processo != "")&& (nomereport==""))
|
||||
{
|
||||
alert("ATTENZIONE : SELEZIONARE IL NOME DI UN REPORT");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
var pathCreato = sContext +'/ScegliReport.do';
|
||||
document.forms[0].action = pathCreato;
|
||||
document.forms[0].submit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function checkCampiReport(frmEseguiReport) {
|
||||
|
||||
var ret= true;
|
||||
var data_inizio = null;
|
||||
var data_fine = null;
|
||||
var nome_report = null;
|
||||
var file_in = null;
|
||||
var data = null;
|
||||
|
||||
|
||||
data_inizio = document.frmEseguiReport.txtdata_IN.value;
|
||||
data_fine = document.frmEseguiReport.txtdata_FI.value;
|
||||
processo = document.frmEseguiReport.cmbTipoProcesso.value;
|
||||
nome_report = document.frmEseguiReport.cmbNomiReport.value;
|
||||
data = document.frmEseguiReport.txt_YYYY.value;
|
||||
file_in =document.frmEseguiReport.file.value;
|
||||
|
||||
|
||||
if (processo == "")
|
||||
{
|
||||
alert("Selezionare un tipo di processo");
|
||||
ret = false;
|
||||
}
|
||||
if(nome_report == "")
|
||||
{
|
||||
alert("Selezionare un report");
|
||||
ret = false;
|
||||
}
|
||||
|
||||
if((data_inizio == "") && (data_fine == "") && (data == "")&&(file_in ==""))
|
||||
{
|
||||
alert("Inserire uno dei parametri per il lancio del report");
|
||||
ret = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((data_inizio != "")&& (data_fine == ""))
|
||||
{
|
||||
alert("Inserire una data di fine per il lancio del report");
|
||||
ret = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((data_inizio.substring(6,10)) > (data_fine.substring(6,10)))
|
||||
{
|
||||
alert("Data inizio Maggiore di Data fine");
|
||||
document.frmEseguiReport.txtdata_IN.value = "";
|
||||
document.frmEseguiReport.txtdata_FI.value = "";
|
||||
document.frmEseguiReport.txtdata_IN.focus();
|
||||
ret= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((data_inizio.substring(3,5))> (data_fine.substring(3,5)))
|
||||
{
|
||||
alert("Data inizio Maggiore di Data fine");
|
||||
document.frmEseguiReport.txtdata_IN.value = "";
|
||||
document.frmEseguiReport.txtdata_FI.value = "";
|
||||
document.frmEseguiReport.txtdata_IN.focus();
|
||||
ret= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((data_inizio.substring(3,5))== (data_fine.substring(3,5)) && (data_inizio.substring(0,2))> (data_fine.substring(0,2)))
|
||||
{
|
||||
alert("Data inizio Maggiore di Data fine");
|
||||
document.frmEseguiReport.txtdata_IN.value = "";
|
||||
document.frmEseguiReport.txtdata_FI.value = "";
|
||||
document.frmEseguiReport.txtdata_IN.focus();
|
||||
ret= false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(ret){
|
||||
ret = checkDataMaggioreOggi(data_inizio,data_fine);
|
||||
if(!ret){
|
||||
alert("Le date di inizio e di fine devono essere minori o uguali\n alla data odierna");
|
||||
document.frmEseguiReport.txtdata_IN.value = "";
|
||||
document.frmEseguiReport.txtdata_FI.value = "";
|
||||
document.frmEseguiReport.txtdata_IN.focus();
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function checkDataMaggioreOggi(dataInizio,dataFine){
|
||||
var retI = false;
|
||||
var retF = false;
|
||||
var oggi = new Date();
|
||||
var oggiDD = oggi.getDate();
|
||||
var oggiMM = (oggi.getMonth()+1);
|
||||
var oggiYYYY = oggi.getYear();
|
||||
|
||||
//alert("oggiDD :"+oggiDD+"\n"+
|
||||
// "oggiMM :"+oggiMM+"\n"+
|
||||
// "oggiYYYY :"+oggiYYYY+"\n"+
|
||||
// "DIYYYY :"+dataInizio.substring(6,10)+"\n"+
|
||||
// "DIMM :"+dataInizio.substring(3,5)+"\n"+
|
||||
// "DIDD :"+dataInizio.substring(0,2)+"\n");
|
||||
|
||||
|
||||
if(dataInizio.substring(6,10) == oggiYYYY){
|
||||
// OK vado avanti ANNI OK
|
||||
if(dataInizio.substring(3,5) == oggiMM){
|
||||
if(dataInizio.substring(0,2) <= oggiDD){ //se <20> lo stesso mese:
|
||||
retI = true;
|
||||
}
|
||||
}else if(dataInizio.substring(3,5) < oggiMM){
|
||||
retI = true;
|
||||
}
|
||||
}else if(dataInizio.substring(6,10) < oggiYYYY){
|
||||
retI = true;
|
||||
}
|
||||
//////////////////////////////////////////////////////////
|
||||
if(dataFine.substring(6,10) == oggiYYYY){
|
||||
// OK vado avanti ANNI OK
|
||||
if(dataFine.substring(3,5) == oggiMM){
|
||||
if(dataFine.substring(0,2) <= oggiDD){ //se <20> lo stesso mese:
|
||||
retF = true;
|
||||
}
|
||||
}else if(dataFine.substring(3,5) < oggiMM){
|
||||
retF = true;
|
||||
}
|
||||
}else if(dataFine.substring(6,10) < oggiYYYY){
|
||||
retF = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
return retI && retF;
|
||||
}
|
||||
|
||||
function lanciaDownload(sContext,valore)
|
||||
{
|
||||
var sTipoRTeport = valore;
|
||||
|
||||
|
||||
|
||||
var pathCreato = sContext +'/GUI/SceltaReportMancateAzioni.do?tipoOperazione=download';
|
||||
alert("path:" + pathCreato);
|
||||
document.forms[0].action = pathCreato;
|
||||
document.forms[0].tipoOperazione.value="download";
|
||||
document.forms[0].method = 'POST';
|
||||
document.forms[0].submit();
|
||||
|
||||
}
|
||||
function lanciaDownload(sContext)
|
||||
{
|
||||
//var sTipoRTeport = valore;
|
||||
|
||||
var pathCreato = sContext +'/GUI/SceltaReportMancateAzioni.do?tipoOperazione=download';
|
||||
document.forms[0].action = pathCreato;
|
||||
document.forms[0].tipoOperazione.value="download";
|
||||
document.forms[0].method = 'POST';
|
||||
document.forms[0].submit();
|
||||
|
||||
}
|
||||
function clsMessErrore()
|
||||
{
|
||||
document.getElementById("messaggio").style.display = 'none';
|
||||
}
|
||||
|
||||
|
||||
//input: document.form.oggetto.value
|
||||
function checkFile(objValue){
|
||||
|
||||
if(objValue == ""){
|
||||
alert("ATTENZIONE : SELEZIONARE UN FILE");
|
||||
return false;
|
||||
}
|
||||
}//fx
|
||||
function logout(url_logout) {
|
||||
//window.location=self.location;
|
||||
var conferma = confirm('Sei sicuro di voler uscire dalla pagina?');
|
||||
if (conferma) {
|
||||
//window.opener = self;
|
||||
//window.open('','_self','');
|
||||
window.location.href = url_logout;
|
||||
//window.close();
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
} //fx
|
||||
</script>
|
||||
1441
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/GUIScript.txt
Normal file
177
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/GUIStyle.css
Normal file
@@ -0,0 +1,177 @@
|
||||
TABLE.border {
|
||||
background-color : #C6C4C4;
|
||||
border-color : #C6C4C4;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
TABLE.banner {
|
||||
border-color : #FFFFFF;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
INPUT.readOnly{
|
||||
background : Aqua;
|
||||
}
|
||||
|
||||
|
||||
FONT.bannerVertTitolo{
|
||||
color : #FFFFFF;
|
||||
font: "Arial";
|
||||
font-size: 12;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
BODY.normal {
|
||||
background-color : "#FFFFFF";
|
||||
}
|
||||
|
||||
|
||||
P.titolo{
|
||||
font: "Arial";
|
||||
font-size: 17;
|
||||
color : #455598;
|
||||
font-weight: 700;
|
||||
}
|
||||
FONT.titlePage{
|
||||
font: "Arial";
|
||||
font-size: 17;
|
||||
color : #455598;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
P.titoloBan{
|
||||
font-face: "Arial";
|
||||
font-size: 18;
|
||||
color : #FFFF00;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
P.normale{
|
||||
font-face: "Arial";
|
||||
font-size: 14;
|
||||
color : #2F4E8D;
|
||||
font-weight: 700;
|
||||
}
|
||||
P.alert{
|
||||
font-face: "Arial";
|
||||
font-size: 18;
|
||||
color : #FF0000;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
|
||||
BODY.banner {
|
||||
background-color : #D61414;
|
||||
}
|
||||
|
||||
HR.riga{
|
||||
color :#AD0404;
|
||||
}
|
||||
A.linkBanner{
|
||||
color :"#FFFFFF";
|
||||
font: Arial;
|
||||
font-size: 11;
|
||||
font-weight: 700;
|
||||
}
|
||||
A.linkBanner:hover{
|
||||
color :"#FFFFFF";
|
||||
font-style: italic;
|
||||
font: Arial;
|
||||
font-size: 11;
|
||||
font-weight: 700;
|
||||
|
||||
}
|
||||
|
||||
A.linkPage{
|
||||
color :"#455598";
|
||||
font: Arial;
|
||||
font-size: 14;
|
||||
font-weight: 700;
|
||||
}
|
||||
A.linkPage:hover{
|
||||
color :"#455598";
|
||||
font-style: italic;
|
||||
font: Arial;
|
||||
font-size: 14;
|
||||
font-weight: 700;
|
||||
|
||||
}
|
||||
A.linkMenuHome{
|
||||
color :"#455598";
|
||||
font: Arial;
|
||||
font-size: 14;
|
||||
font-weight: 700;
|
||||
}
|
||||
FONT.fontNormale{
|
||||
font: Arial;
|
||||
color: #2F4E8D;
|
||||
font-weight: 700;
|
||||
}
|
||||
FONT.fontAlert{
|
||||
font: Arial;
|
||||
color: Red;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
FONT.fontErrorPage{
|
||||
font: Arial;
|
||||
color: #455598;
|
||||
font-weight: 700;
|
||||
}
|
||||
INPUT.esitoRed{
|
||||
color: Red;
|
||||
font: Arial;
|
||||
}
|
||||
|
||||
FONT.titoloPagina{
|
||||
font: "Arial";
|
||||
font-size: 17;
|
||||
color : #455598;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
FONT.normaleTab{
|
||||
font-face: "Arial";
|
||||
font-size: 14;
|
||||
color : #2F4E8D;
|
||||
font-weight: 700;
|
||||
}
|
||||
FONT.grassettoTab{
|
||||
font-face: "Arial";
|
||||
font-size: 15;
|
||||
color : #2F4E8D;
|
||||
font-weight: 900;
|
||||
}
|
||||
FONT.biancoTab{
|
||||
font-face: "Arial";
|
||||
font-size: 14;
|
||||
color : white;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
TD.tdVerde{
|
||||
background-color : #8CD588;
|
||||
}
|
||||
TD.tdCeleste{
|
||||
background-color : #d7effd;
|
||||
}
|
||||
TD.tdGiallo{
|
||||
background-color : #FFFFA8;
|
||||
}
|
||||
TD.tdGrigio{
|
||||
background-color : #D8D8D8;
|
||||
}
|
||||
TD.tdRosso{
|
||||
background-color : #FF5E5E;
|
||||
}
|
||||
TD.tdBianco{
|
||||
background-color : #FFFFFF;
|
||||
}
|
||||
TABLE.tableBannerRosso{
|
||||
background-color : #D61414;
|
||||
}
|
||||
TD.tdRossoBanner{
|
||||
background-color : #D61414;
|
||||
}
|
||||
57
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/GestioneReport.jsp
Normal file
@@ -0,0 +1,57 @@
|
||||
<%@page import = "java.util.*, mnp.objects.dao.*,mnp.objects.*,mnp.command.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Gestione Report
|
||||
</title>
|
||||
</head>
|
||||
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<!-- titolo -->
|
||||
<b><i><P class = "titolo">GESTIONE REPORTISTICA</P></i></b>
|
||||
<!-- fine titolo -->
|
||||
|
||||
|
||||
<p align = 'left'><font class = 'normaleTab'>Seleziona comando</font></p><br><hr>
|
||||
|
||||
<ol start="1">
|
||||
<table width='100%' border = '0'>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><a href='<%=mnp.command.CommandsDef.VISUALIZZA_LISTA_REPORT_DO%>'><font class='normaleTab'><li value="1">Visualizza/scarica report generati</li></font></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><a href='<%=mnp.command.CommandsDef.SCEGLI_REPORT_DO%>'><font class='normaleTab'><li value="2">Genera Report</li></font></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><a href='<%=mnp.command.CommandsDef.VISUALIZZA_LISTA_REPORT_CRONTAB_DO%>'><font class='normaleTab'><li value="2">Visualizzazione e Download dei report generati automaticamente</li></font></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</ol>
|
||||
<hr>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
63
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/LanciaReport.jsp
Normal file
@@ -0,0 +1,63 @@
|
||||
<%@page import = "java.util.*, mnp.objects.dao.*,mnp.objects.*,mnp.command.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Lancia Report
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.FilterResult"/>
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<!-- titolo -->
|
||||
<b><i><P class = "titolo">LANCIO DEI REPORT</P></i></b>
|
||||
<!-- fine titolo -->
|
||||
|
||||
<!-- pulsanti -->
|
||||
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<td align = "center">
|
||||
<b><font class='normaleTab'>Report lanciato con successo: Verificare la creazione del report</font></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = "center">
|
||||
<A class = "linkPage" HREF="<%=Res.ApplContext%>/jsp/GUI/GestioneReport.jsp"> << Back </A></P>
|
||||
</TD>
|
||||
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ModificaDettaglioDONOR
|
||||
</title>
|
||||
</head>
|
||||
|
||||
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.result.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ModificaRichiesteResult" />
|
||||
|
||||
<%if(request.getParameter("btnConf")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*"/>
|
||||
<jsp:forward page="/ShowEsitoDettaglioDONOR.do"/>
|
||||
<%}%>
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">MODIFICA DETTAGLIO DONOR</P></i></b>
|
||||
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'simulaForm' method= 'post' action = '<%=Res.ApplContext%>/jsp/GUI/ModificaDettaglioDONOR.jsp'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Modifica del dettaglio Donor: </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>SIST.COMP</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>TIPO_CONTRATTO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>COD. A/D</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
ModificaRichiesteResult modRicRe = resultBean;
|
||||
String warnColor = null;
|
||||
if (modRicRe!= null){
|
||||
warnColor = modRicRe.getEsito().equalsIgnoreCase("OK")?"tdVerde":"tdRosso";
|
||||
%>
|
||||
<tr>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='id_richiesta' value = '<%=modRicRe.getId_richiesta()%>'><font class = 'normaleTab'><%=modRicRe.getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='sist_comp' value = '<%=modRicRe.getSist_comp()%>'><font class = 'normaleTab'><%=modRicRe.getSist_comp()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='cod_pre_post' value = '<%=modRicRe.getCod_pre_post()%>'><font class = 'normaleTab'><%=modRicRe.getCod_pre_post()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='cod_analogico_digit' value = '<%=modRicRe.getCod_analogico_digit()%>'><font class = 'normaleTab'><%=modRicRe.getCod_analogico_digit()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getEsito()%></font></td>
|
||||
</tr>
|
||||
|
||||
<!-- OLD -->
|
||||
<input type = 'hidden' name='sist_comp_old' value = '<%=modRicRe.getSist_comp_old()%>'>
|
||||
<input type = 'hidden' name='cod_pre_post_old' value = '<%=modRicRe.getCod_pre_post_old()%>'>
|
||||
<input type = 'hidden' name='cod_analogico_digit_old' value = '<%=modRicRe.getCod_analogico_digit_old()%>'>
|
||||
|
||||
|
||||
<%}%>
|
||||
</table>
|
||||
|
||||
<%if(modRicRe.getEsito().equalsIgnoreCase("OK")){%>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="btnConf" value=" CONFERMA MODIFICA "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<%}%>
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
@@ -0,0 +1,104 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ModificaDettaglioRECIPIENT
|
||||
</title>
|
||||
</head>
|
||||
|
||||
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.result.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ModificaRichiesteResult" />
|
||||
|
||||
<%if(request.getParameter("btnConf")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*"/>
|
||||
<jsp:forward page="/ShowEsitoDettaglioRECIPIENT.do"/>
|
||||
<%}%>
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">MODIFICA DETTAGLIO >SCIVOLO TACS</P></i></b>
|
||||
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'simulaForm' method= 'post' action = '"<%=Res.ApplContext%>/jsp/GUI/ModificaDettaglioRECIPIENT.jsp' onSubmit = 'return checkCampi(this);'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Modifica del dettaglio Scivolo Tacs: </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA CUT OVER CALC</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA CUT OVER</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA VAL MAX</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
ModificaRichiesteResult modRicRe = resultBean;
|
||||
String warnColor = null;
|
||||
if (modRicRe!= null){
|
||||
warnColor = modRicRe.getEsito().equalsIgnoreCase("OK")?"tdVerde":"tdRosso";
|
||||
%>
|
||||
<tr>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='id_richiesta' value = '<%=modRicRe.getId_richiesta()%>'><font class = 'normaleTab'><%=modRicRe.getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='data_cut_over_calc' value = '<%=modRicRe.getData_cut_over_calc()%>'><font class = 'normaleTab'><%=modRicRe.getData_cut_over_calc()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='data_cut_over' value = '<%=modRicRe.getData_cut_over()%>'><font class = 'normaleTab'><%=modRicRe.getData_cut_over()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='data_val_max' value = '<%=modRicRe.getData_val_max()%>'><font class = 'normaleTab'><%=modRicRe.getData_val_max()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getEsito()%></font></td>
|
||||
|
||||
<!-- OLD -->
|
||||
<input type = 'hidden' name='data_val_max_old' value = '<%=modRicRe.getData_val_max_old()%>'>
|
||||
<input type = 'hidden' name='data_cut_over_calc_old' value = '<%=modRicRe.getData_cut_over_calc_old()%>'>
|
||||
<input type = 'hidden' name='data_cut_over_old' value = '<%=modRicRe.getData_cut_over_old()%>'>
|
||||
|
||||
</tr>
|
||||
<%}%>
|
||||
</table>
|
||||
|
||||
|
||||
<br>
|
||||
<table width = '100%' border='1' >
|
||||
<tr>
|
||||
<td align = 'left' class = 'tdCeleste'><font class = 'normaleTab'>TT</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = 'left' class = 'tdGiallo'><input type='text' name='TT' value = ''></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<%if(modRicRe.getEsito().equalsIgnoreCase("OK")){%>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="btnConf" value=" CONFERMA MODIFICA "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<%}%>
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
200
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ScegliReport.jsp
Normal file
@@ -0,0 +1,200 @@
|
||||
<%@page import = "java.util.*, mnp.objects.dao.*,mnp.objects.*,mnp.command.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Scegli Report
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.FilterResult"/>
|
||||
|
||||
<%if(request.getParameter("btnLanciaReport")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*" />
|
||||
<jsp:forward page="/LanciaReport.do"/>
|
||||
<%}%>
|
||||
|
||||
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<!-- titolo -->
|
||||
<b><i><P class = "titolo">SELEZIONE DEI REPORT</P></i></b>
|
||||
<!-- fine titolo -->
|
||||
|
||||
<%
|
||||
String[] aProcessi = null;
|
||||
String[] vProcessi = null;
|
||||
String[] aNomiReport = null;
|
||||
String sSelectedProcesso = "";
|
||||
String sSelectedReport = "";
|
||||
String sNomeParametro = "";
|
||||
String sdescrizione = "";
|
||||
String[] aBreve_desc = null;
|
||||
String sLabelInfo = "";
|
||||
|
||||
|
||||
String DATA_IN_FI = "data_inizio";
|
||||
String DATAINFI = "data inizio/data fine";
|
||||
|
||||
|
||||
if(resultBean != null){
|
||||
|
||||
aProcessi = resultBean.getProcesso();
|
||||
aNomiReport = resultBean.getNome_report();
|
||||
aBreve_desc = resultBean.getBreve_desc();
|
||||
sSelectedProcesso = resultBean.getSelectedprocess();
|
||||
sSelectedReport = resultBean.getSelectedreport();
|
||||
|
||||
|
||||
|
||||
if(resultBean.getParametri() != null)
|
||||
{
|
||||
sNomeParametro = resultBean.getParametri().getNome_parametro().trim();
|
||||
sdescrizione = resultBean.getParametri().getDescrizione().trim();
|
||||
sLabelInfo = resultBean.getParametri().getLabel_info().trim();
|
||||
}
|
||||
}
|
||||
|
||||
%>
|
||||
|
||||
<FORM NAME = "frmEseguiReport" ENCTYPE="multipart/form-data" method ="POST" onSubmit = 'return checkCampiReport(frmEseguiReport);' action= "<%=CommandsDef.LANCIA_REPORT_DO%>">
|
||||
<p align = 'left'><font class = 'normaleTab'>Scegli Report</font></p>
|
||||
|
||||
<table width='100%' border = '1'>
|
||||
<tr>
|
||||
<!--Combo contenente i processi -->
|
||||
<td class = 'tdCeleste'><font class='normaleTab'>Tipo Processo</font></td>
|
||||
<td class = 'tdGiallo'>
|
||||
<select name = 'cmbTipoProcesso' onChange = 'javascript:checkTipoProcesso("<%=Res.ApplContext%>",this.value)'>
|
||||
<option value=""></option>
|
||||
|
||||
<%for (int i = 0; i < aProcessi.length; i++) {
|
||||
if(aProcessi[i].equals(sSelectedProcesso)){%>
|
||||
<option selected value = '<%=aProcessi[i]%>'><%=aProcessi[i]%></option>
|
||||
|
||||
<%}else{%>
|
||||
<option value = '<%=aProcessi[i]%>'><%=aProcessi[i]%></option>
|
||||
|
||||
<%}%>
|
||||
<%}%>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<%if(aNomiReport != null){%> <!--Combo contenente i nomi report -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class='normaleTab'>Nomi Report</font></td>
|
||||
<td class = 'tdGiallo'>
|
||||
<select name = 'cmbNomiReport' onChange = 'javascript:checkNomeReport("<%=Res.ApplContext%>",this.value,cmbTipoProcesso.value)'>
|
||||
<option value=""></option>
|
||||
<%for (int i = 0; i < aNomiReport.length; i++) {
|
||||
if(aNomiReport[i].equals(sSelectedReport)){%>
|
||||
<option selected value = '<%=aNomiReport[i]%>'><%=aNomiReport[i]%>: <%=aBreve_desc[i]%></option>
|
||||
|
||||
<%}else{%>
|
||||
<option value = '<%=aNomiReport[i]%>'><%=aNomiReport[i]%>: <%=aBreve_desc[i]%></option>
|
||||
|
||||
<%}%>
|
||||
<%}%>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<%}%>
|
||||
</table>
|
||||
|
||||
<%if(!sNomeParametro.equals("")){ %>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Lista dei Parametri</font></p>
|
||||
|
||||
<table width = "100%" border='1'> <!--Tabella dei parametri di input -->
|
||||
<%
|
||||
if(sNomeParametro.equalsIgnoreCase("data_fine")){%> <!-- data_inizio/data_fine onblur = 'javascript:checkDataReport(frmEseguiReport);'-->
|
||||
<tr>
|
||||
<td class = 'tdGiallo' colspan = '3'><font class='normaleTab'>Descrizione report : <%=sdescrizione%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste' colspan = '3'><font class='normaleTab'>Data Inizio: <%=sLabelInfo%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdGiallo'>
|
||||
<input type = 'text' name = 'txtdata_IN' size = '10' maxlength = 10 onblur = 'javascript:checkData(this, this.value);'>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 3> </td></tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'colspan = '3'><font class='normaleTab'>Data Fine: <%=sLabelInfo%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdGiallo'>
|
||||
<input type = 'text' name = 'txtdata_FI' size = '10' maxlength = 10 onblur = 'javascript:checkData(this, this.value);'>
|
||||
<input type = 'hidden' name = 'txt_YYYY' size = '10' maxlength = 10>
|
||||
<input type = 'hidden' name = 'file'>
|
||||
</td>
|
||||
</tr>
|
||||
<%}else if(sNomeParametro.equalsIgnoreCase("data")){%> <!-- data -->
|
||||
<tr>
|
||||
<td class = 'tdGiallo' colspan = '3'><font class='normaleTab'>Descrizione report : <%=sdescrizione%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste' colspan = '3'><font class='normaleTab'>Data: <%=sLabelInfo%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdGiallo'>
|
||||
<input type = 'text' name = 'txt_YYYY' size = '10' maxlength = 10 onblur = 'javascript:checkData(this, this.value);'>
|
||||
<input type = 'hidden' name = 'txtdata_IN' size = '10' maxlength = 10>
|
||||
<input type = 'hidden' name = 'txtdata_FI' size = '10' maxlength = 10>
|
||||
<input type = 'hidden' name = 'file'>
|
||||
</td>
|
||||
</tr>
|
||||
<%}else if(sNomeParametro.equalsIgnoreCase("file in input")){%> <!-- file in input -->
|
||||
<tr>
|
||||
<td class = 'tdGiallo' colspan = '3'><font class='normaleTab'>Descrizione report : <%=sdescrizione%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdGiallo' colspan = '2'><font class='normaleTab'>Formato file : <%="<operatore>"+sLabelInfo%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class='normaleTab'>Selezionare un file :</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdGiallo'><input type = 'file' name = 'file'></td>
|
||||
<input type = 'hidden' name = 'txtdata_IN' size = '10' maxlength = 10>
|
||||
<input type = 'hidden' name = 'txtdata_FI' size = '10' maxlength = 10>
|
||||
<input type = 'hidden' name = 'txt_YYYY' size = '10' maxlength = 10>
|
||||
</tr>
|
||||
<%}
|
||||
%>
|
||||
</table>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnLanciaReport" VALUE= " LanciaReport "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<%}%>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
66
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/SceltaProcesso.jsp
Normal file
@@ -0,0 +1,66 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Scelta Processo per Simulazione esiti da MSS
|
||||
</title>
|
||||
|
||||
</head>
|
||||
|
||||
<%@page import = "mnp.objects.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
|
||||
<!-- COPY -->
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "left" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<!-- /COPY -->
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo" align = 'right'>SIMULAZIONE ESITI DA MSS: selezione processo MNP</P></i></b>
|
||||
<!-- titolo della tabella --->
|
||||
|
||||
<form name = 'sceltaProcesso' method= 'post' action = "<%=Res.ApplContext%>/jsp/GUI/SimulazioneMSS.jsp">
|
||||
<table width='100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'left'><font class = 'normaleTab'>Seleziona il processo di MNP:</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='left'>
|
||||
<input type='radio' name='tipoProcesso' value='<%=ProcessMapper.proc_DONOR%>' checked><font class = 'normaleTab'>Donor</font><br>
|
||||
<input type='radio' name='tipoProcesso' value='<%=ProcessMapper.proc_RECIPIENT%>'><font class = 'normaleTab'>Recipient</font><br>
|
||||
<input type='radio' name='tipoProcesso' value='<%=ProcessMapper.proc_CESS%>'><font class = 'normaleTab'>Cessazione</font><br>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "AVANTI" VALUE= "AVANTI"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Scelta Processo per Annullamenti Massivi
|
||||
</title>
|
||||
|
||||
</head>
|
||||
|
||||
<%@page import = "mnp.objects.*"%>
|
||||
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<!-- COPY -->
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "left" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<!-- /COPY -->
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo" align = 'right'>ANNULLAMENTO FORZATO RICHIESTE DBC: selezione processo MNP</P></i></b>
|
||||
<!-- titolo della tabella --->
|
||||
|
||||
<form name = 'sceltaProcesso' method= 'post' action = "<%=Res.ApplContext%>/jsp/GUI/AnnullamentoMassivo.jsp">
|
||||
<table width='100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'left'><font class = 'normaleTab'>Seleziona il processo di MNP:</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='left'>
|
||||
<input type='radio' name='proc' value='<%=ProcessMapper.proc_RECIPIENT%>' checked ><font class = 'normaleTab'>Recipient</font><br>
|
||||
<input type='radio' name='proc' value='<%=ProcessMapper.proc_CESS_PORTING%>'><font class = 'normaleTab'>Cessazione Porting</font><br>
|
||||
<input type='radio' name='proc' value='<%=ProcessMapper.proc_DONOR%>'><font class = 'normaleTab'>Donor</font><br>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "AVANTI" VALUE= "AVANTI"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
<%@page import = "java.util.*, mnp.objects.dao.*,mnp.objects.*,mnp.command.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
|
||||
|
||||
<jsp:useBean id="reportBean" scope="request" class="mnp.objects.result.ReportMancateAzioniResult"/>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.FilterResult"/>
|
||||
|
||||
|
||||
<%
|
||||
//dom
|
||||
|
||||
String datiNonPresenti=request.getParameter("datiIsPresent")==null?"":request.getParameter("datiIsPresent");
|
||||
String inizio=request.getParameter("inizio")==null?"":request.getParameter("inizio");
|
||||
String tipoOperazione ="";
|
||||
String nReport ="";
|
||||
String messaggioErrore ="";
|
||||
String sSelectedReport = "";
|
||||
int numeroRecord = reportBean.getNumeroRecord();
|
||||
nReport = reportBean.getNomeReport()==null?"":reportBean.getNomeReport();
|
||||
sSelectedReport = resultBean.getSelectedreport()==null?"": resultBean.getSelectedreport();
|
||||
|
||||
if(inizio.equals("Y")){
|
||||
tipoOperazione = request.getParameter("tipoOperazione")==null?"":request.getParameter("tipoOperazione");
|
||||
}else if(inizio.equals("") && numeroRecord==0){//ora
|
||||
tipoOperazione ="combo";
|
||||
messaggioErrore = "Non ci sono dati per il Report " + nReport;
|
||||
}else{
|
||||
tipoOperazione = request.getParameter("tipoOperazione")==null?"":request.getParameter("tipoOperazione");
|
||||
}//tipoOperazione
|
||||
|
||||
//System.out.println("* * * * * * numeroRecord:" + numeroRecord);
|
||||
//System.out.println("* * * * * * tipoOperazione:" + tipoOperazione);
|
||||
//System.out.println("* * * * * * datiNonPresenti:" + datiNonPresenti);
|
||||
//System.out.println("* * * * * * inizio:" + inizio);
|
||||
if(tipoOperazione.equals("download")){ %>
|
||||
|
||||
<%
|
||||
String nomeFile ="";
|
||||
//if(reportBean.getDataCreazione()!= null && !reportBean.getDataCreazione().equals("")){
|
||||
//nReport = reportBean.getNomeReport()==null?"":reportBean.getNomeReport();
|
||||
String dtCreazione = reportBean.getDataCreazione()==null?"":reportBean.getDataCreazione();
|
||||
|
||||
if(datiNonPresenti.equals("")){
|
||||
nomeFile = "REPORT_" +nReport +"_" + dtCreazione + ".csv";
|
||||
|
||||
//String contentDisp = "attachment;filename="+nomeFile;
|
||||
response.setContentType("application/vnd.ms-excel");
|
||||
// response.setHeader("content-disposition", contentDisp);
|
||||
response.setHeader("Content-Disposition", "filename=\"" + nomeFile + "\";");
|
||||
|
||||
out.clearBuffer();
|
||||
|
||||
//byte[] buf = new byte[1024];
|
||||
byte[] buf = reportBean.getCsv()==null?new byte[1024]:reportBean.getCsv() ;
|
||||
/* for (int k=0; k< buf.length; k++){
|
||||
System.out.println("ARRAY BUF:" + buf[k]);
|
||||
}*/
|
||||
java.io.ByteArrayInputStream bis = new java.io.ByteArrayInputStream( buf);
|
||||
java.io.OutputStream oout = response.getOutputStream();
|
||||
byte[] b = new byte[1024];
|
||||
int len = 0;
|
||||
while ((len = bis.read(b)) != -1) {
|
||||
oout.write(b, 0, len);
|
||||
//System.out.println("BBB:" + b.toString());
|
||||
String t = new String( buf);//14-04-2010
|
||||
//System.out.println("><> >>> >>>> >>>> StringFormat:::::::::"+t + "fine" + "LUNG:"+ t.length()); //14-04-2010
|
||||
|
||||
}
|
||||
bis.close();
|
||||
out.flush();
|
||||
oout.close();
|
||||
|
||||
return;
|
||||
}//datiNonPresenti
|
||||
}else if(tipoOperazione.equals("combo")){
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Scelta Report Mancate Azioni
|
||||
</title>
|
||||
</head>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<!-- titolo -->
|
||||
<b><i><P class = "titolo">SELEZIONE DEI REPORT MANCATE AZIONI</P></i></b>
|
||||
<!-- fine titolo -->
|
||||
|
||||
<%
|
||||
String[] aNomiReport = null;
|
||||
String sNomeParametro = "";
|
||||
String sdescrizione = "";
|
||||
String[] aBreve_desc = null;
|
||||
String sLabelInfo = "";
|
||||
|
||||
//System.out.println("*** resultBean:" + resultBean );
|
||||
if(resultBean != null){
|
||||
aBreve_desc = resultBean.getBreve_desc();
|
||||
aNomiReport = resultBean.getNome_report();
|
||||
}
|
||||
|
||||
%>
|
||||
|
||||
<FORM NAME = "frmEseguiReport" ENCTYPE="multipart/form-data" method ="POST">
|
||||
<p align = 'left'><font class = 'normaleTab'>Scegli Report</font></p>
|
||||
<input type=hidden name="tipoOperazione" value="combo">
|
||||
|
||||
<table width='100%' border = '1'>
|
||||
|
||||
<!--Combo contenente i nomi report -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class='normaleTab'>Nomi Report</font></td>
|
||||
<td class = 'tdGiallo'>
|
||||
<select name = 'cmbNomiReport' onchange='javascript:clsMessErrore()'>
|
||||
<%for (int i = 0; i < aNomiReport.length; i++) {
|
||||
if(sSelectedReport.equals(aNomiReport[i])){
|
||||
%>
|
||||
<option selected value="<%= aNomiReport[i]%>"><%=aBreve_desc[i]%></option>
|
||||
<%}else{%>
|
||||
<option value="<%= aNomiReport[i]%>"><%=aBreve_desc[i]%></option>
|
||||
<%}//if selected
|
||||
%>
|
||||
<% }//for %>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
<BR>
|
||||
<table width='100%' border=0>
|
||||
<% if(request.getParameter("datiIsPresent")!= null && request.getParameter("datiIsPresent").equals("N") && !inizio.equals("Y") && !nReport.equals("")){
|
||||
%>
|
||||
<tr id="messaggio" class = "fontAlert" >
|
||||
<td><FONT class = "fontAlert"><%= messaggioErrore%></FONT>
|
||||
</td>
|
||||
</tr>
|
||||
<%}%>
|
||||
</table>
|
||||
|
||||
<BR><BR><HR class = "riga">
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input type="submit" name="btnDownload" value="Lancia Report" onClick='javascript:lanciaDownload("<%=Res.ApplContext%>")'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</table>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
<%
|
||||
}//if download dom
|
||||
%>
|
||||
|
||||
108
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ShowBonificaRichiesta.jsp
Normal file
@@ -0,0 +1,108 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowBonificaRichiesta
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.filter.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaBonificheResult" />
|
||||
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">LISTA BONIFICHE RICHIESTA DBC</P></i></b>
|
||||
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'annullaForm' method= 'post' action = '<%=CommandsDef.SHOW_CONSOLE_DO%>'>
|
||||
<br>
|
||||
|
||||
<%
|
||||
InfoBonificheRichiesta[] rics = resultBean.getListaRichieste();
|
||||
%>
|
||||
|
||||
<p align = 'left'><font class = 'normaleTab'>Elenco delle bonifiche sulla richiesta:
|
||||
<%=rics[0].getId_richiesta()%></font></p>
|
||||
|
||||
<%String esito = resultBean.getEsito();
|
||||
if (esito.equalsIgnoreCase("OK")) {%>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>UTENTE</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>IP ADDRESS</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DESCRIZIONE BONIFICA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>TT</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA SBLOCCO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>TIPO PROCESSO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA BONIFICA</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
for (int i = 0; i < rics.length; i++)
|
||||
{
|
||||
|
||||
if(rics[i].getUtente() != null){
|
||||
String tt = rics[i].getTt()==null?" ":rics[i].getTt();
|
||||
String tipo_processo = rics[i].getTipo_processo()==null?" ":ProcessMapper.getProcessoByID(rics[i].getTipo_processo());
|
||||
String data_sblocco = " ";
|
||||
if (rics[i] instanceof InfoBloccoSbloccoRichiesta)
|
||||
{
|
||||
InfoBloccoSbloccoRichiesta info_blocco_sblocco_richiesta = (InfoBloccoSbloccoRichiesta)rics[i];
|
||||
data_sblocco = info_blocco_sblocco_richiesta.getData_sblocco() == null?" ":info_blocco_sblocco_richiesta.getData_sblocco();
|
||||
}
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=rics[i].getUtente()%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=rics[i].getIp_address()%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=rics[i].getDescrizione()%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=tt%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=data_sblocco%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=tipo_processo%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=rics[i].getData_operazione()%></font></td>
|
||||
</tr>
|
||||
<%}
|
||||
}%>
|
||||
|
||||
</table>
|
||||
|
||||
<%} else {%>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=esito%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%}%>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="OK" value=" OK "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!-- tabella x menu -->
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
445
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ShowConsole.jsp
Normal file
@@ -0,0 +1,445 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowConsole
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.*, mnp.utility.ui.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.utility.DateUtils"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ConsoleResult" />
|
||||
|
||||
<!-- IMPOSTO IL REFRESH DELLA PAGINA A 60 SECONDI PER RICARICARE LE VISTE -->
|
||||
<META HTTP-EQUIV="Refresh" CONTENT="60; url=<%=Res.ApplContext%>/ShowConsole.do">
|
||||
|
||||
<body>
|
||||
|
||||
<!-- COPY -->
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<!-- /COPY -->
|
||||
<br>
|
||||
|
||||
<b><i><P class = "titolo"> RIEPILOGO SITUAZIONE GIORNALIERA </P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmShowConsole" method="post" action = "">
|
||||
|
||||
|
||||
<!--<p align = 'right'><img border = 0 src= '/images/refresh.gif' onClick = 'javascript:alert("pippo");'></p>-->
|
||||
<!-- titolo della tabella --->
|
||||
<p align = 'left'><font class = 'normaleTab'>Riepilogo Situazione Donor</font></p>
|
||||
|
||||
|
||||
<%String sLinkCommand = "";
|
||||
String sOperatore = "";
|
||||
String sPage = "";
|
||||
%>
|
||||
|
||||
|
||||
<!--------------- Tabella donor ----------------------------------------->
|
||||
<table width = '100%' border = '1' class="border">
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=2 > </td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di ACQUISITA (1)">Acquisite</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 width= '5px'style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di ANNULLATA (12), SCARTATA (4) del giorno lavorativo precedente ad oggi">Annullate/Scartate</u></a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan=2 rowspan=3 nowrap style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di PRESAINCARICO (1):
|
||||
.a partire da 1 giorno dopo la data di acquisizione (Tot)
|
||||
·a partire da 2 giorni dopo data di acquisizione (Ritardo)">Prese In Carico</u></a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan=5 rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di VALIDATING (6)
|
||||
·tutte quelle in attesa di risposta da CRM
|
||||
·solo quelle ad Hoc (Sospesa);
|
||||
·solo quelle la cui data di validazione massima è = ad oggi (Oggi);
|
||||
·solo quelle la cui data di validazione massima è stata superata da 1 giorno (Ritardo)">In Validazione da CRM</u></a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan=2 rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di:
|
||||
·VALIDATAOK (OK)
|
||||
·VALIDATAKO (KO)">Validate da CRM</u></a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di RIFIUTATA (10)">Rifiutate</u></a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan=3 rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di INCESSAZIONE (14) per cui:
|
||||
·tutte fino ad oggi
|
||||
·solo quelle la cui data di cut-over (data_cut_over_calc) è = ad oggi (Oggi)
|
||||
·solo quelle la cui data di cut-over (data_cut_over_calc) è < di oggi (Ritardo)">In Cessazione</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di ESPLETATA (16)">Espletate</a></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Oper.<br>Recipient</font></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class= 'tdCeleste'> </td>
|
||||
<td class= 'tdCeleste' align='center' width= '5px'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Ritardo</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center' colspan=2><font class = 'normaleTab'>Sospesa</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Oggi</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Ritardo</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>OK</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>KO</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Oggi</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Ritardo</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
</tr>
|
||||
<!--Ciclo per il riempimento della tabella Donor-->
|
||||
<%Enumeration e = resultBean.getDONOR_CONSOLE().getDonorConsole();
|
||||
sLinkCommand =CommandsDef.SHOW_LISTARICDONOR_DO;
|
||||
int iD_TotAcq = 0;
|
||||
int iD_TotAnnulScar = 0;
|
||||
int iD_TotPresCaric = 0;
|
||||
int iD_RitPresCaric = 0;
|
||||
int iD_TotValidaz = 0;
|
||||
int iD_SospValidaz = 0;
|
||||
int iD_OggiValidaz = 0;
|
||||
int iD_RitValidaz = 0;
|
||||
int iD_OKvalid = 0;
|
||||
int iD_KOvalid = 0;
|
||||
int iD_TotRifiut =0;
|
||||
int iD_TotCess = 0;
|
||||
int iD_OggiCess = 0;
|
||||
int iD_RitEspl = 0;
|
||||
int iD_TotEsplet = 0;
|
||||
while(e.hasMoreElements()){
|
||||
|
||||
DonorConsoleRow d = (DonorConsoleRow)e.nextElement();
|
||||
sOperatore = d.getCODICE_OPERATORE_RECIPIENT();
|
||||
|
||||
iD_TotAcq = iD_TotAcq + d.getACQUISITE();
|
||||
iD_TotAnnulScar = iD_TotAnnulScar + d.getANNULLATE_SCARTATE();
|
||||
iD_TotPresCaric = iD_TotPresCaric + d.getPRESE_IN_CARICO();
|
||||
iD_RitPresCaric = iD_RitPresCaric + d.getRITARDO_PRESA_IN_CARICO();
|
||||
iD_TotValidaz = iD_TotValidaz + d.getIN_VALIDAZIONE_TIM();
|
||||
iD_SospValidaz = iD_SospValidaz + d.getSOSPESE();
|
||||
iD_OggiValidaz = iD_OggiValidaz + d.getIN_VALIDAZIONE_OGGI();
|
||||
iD_RitValidaz = iD_RitValidaz + d.getRITARDO_VALIDAZIONE();
|
||||
iD_OKvalid = iD_OKvalid + d.getVALIDATE_OK();
|
||||
iD_KOvalid = iD_KOvalid + d.getVALIDATE_KO();
|
||||
iD_TotRifiut = iD_TotRifiut + d.getRIFIUTATE();
|
||||
iD_TotCess = iD_TotCess + d.getIN_CESSAZIONE();
|
||||
iD_OggiCess = iD_OggiCess + d.getIN_CESSAZIONE_OGGI();
|
||||
iD_RitEspl = iD_RitEspl + d.getRITARDO_ESPLETAMENTO();
|
||||
iD_TotEsplet = iD_TotEsplet + d.getESPLETATE();
|
||||
|
||||
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'align='center'><font class = 'normaleTab'><%=sOperatore%></font></td>
|
||||
<td class= 'tdGiallo' align='center' width= '5px'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_TOT_ACQUISITE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getACQUISITE()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_TOT_ANNULLATE_SCARTATE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getANNULLATE_SCARTATE()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_TOT_PRESE_CARICO%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getPRESE_IN_CARICO()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_RIT_PRESE_CARICO%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getRITARDO_PRESA_IN_CARICO()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_TOT_VALIDAZIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getIN_VALIDAZIONE_TIM()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center' colspan=2 ><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_SOSP_VALIDAZIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getSOSPESE()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_OGGI_VALIDAZIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getIN_VALIDAZIONE_OGGI()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_RIT_VALIDAZIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getRITARDO_VALIDAZIONE()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_OK_VALIDATE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getVALIDATE_OK()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_KO_VALIDATE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getVALIDATE_KO()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_TOT_RIFIUTATE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getRIFIUTATE()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_TOT_CESSAZIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getIN_CESSAZIONE()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_OGGI_CESSAZIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getIN_CESSAZIONE_OGGI()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_RIT_CESSAZIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getRITARDO_ESPLETAMENTO()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiesta.D_TOT_ESPLETATE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=d.getESPLETATE()%></u></font></a></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
<!--Fine Ciclo per il riempimento della tabella Donor-->
|
||||
<tr>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'>TOTALI</font></td>
|
||||
<td class= 'tdVerde' align='center' width= '5px'><font class = 'normaleTab'><%=iD_TotAcq%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_TotAnnulScar%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_TotPresCaric%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_RitPresCaric%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_TotValidaz %></font></td>
|
||||
<td class= 'tdVerde' align='center' colspan=2 ><font class = 'normaleTab'><%=iD_SospValidaz %></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_OggiValidaz %></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_RitValidaz%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_OKvalid%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_KOvalid%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_TotRifiut%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_TotCess%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_OggiCess%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_RitEspl%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iD_TotEsplet%> </font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!---------------- fine tabella donor -------------------------------------->
|
||||
|
||||
<%
|
||||
if(resultBean.getDONOR_CONSOLE().isRichiesteDaSbloccare()) {
|
||||
%>
|
||||
<p align = 'center'>
|
||||
<font class = 'fontAlert'>
|
||||
ATTENZIONE: esistono richieste DONOR da sbloccare</font></p>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
<hr>
|
||||
<p align = 'left'><font class = 'normaleTab'>Riepilogo Situazione Recipient</font></p>
|
||||
|
||||
<!---------------------------- tabella recipient ----------------------------->
|
||||
|
||||
|
||||
<table width = '100%' border = '1' class="border">
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=2 style='cursor:hand'> </td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di ACQUISITA(2) e ACCODATA(3)">Acquisite/<br>Accodate</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 width= '5px'style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di SCARTATAPRESAINCARICO (5)">Scartate</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 nowrap style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di INVIATA (4) per cui si aspetta il giorno successivo il file di presa in carico (non applicabile per SCIVOLO TACS)">Inviate</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan=2 rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di: (non applicabile per SCIVOLO TACS)
|
||||
·INVIATA (4) a partire dal giorno lavorativo successivo la data di invio del file più le richieste in e PRESAINCARICO (6) (Tot.)
|
||||
·INVIATA (4) a partire da almeno 2 giorni lavorativi dopo la data di invio del file (Mancanze)">Prese In Carico</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan=2 rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di:
|
||||
·PRESAINCARICO (6) con data di validazione massima superata più le richieste in + quelle in stato VALIDATA (8) (Tot.)
|
||||
·PRESAINCARICO (6) con data di validazione massima superata (Mancanze)">Validazione</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di SOSPESA (15) per progetti ad Hoc (non applicabile per SCIVOLO TACS)">Sospese</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan=3 rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di ATTESAEVASIONE (11) per cui:
|
||||
·tutte quelle nello stato ad oggi(Totale)
|
||||
·solo quelle con data_cut_over_aom > di oggi e mancato espletamento da MSS (Ritardo)
|
||||
·valore X / Y: di cui: (Mancanza)
|
||||
.X:richieste con data_cut_over_aom > di oggi e mancato espletamento da Donating
|
||||
.Y:richieste con data_cut_over_aom > di oggi e mancato espletamento da almeno uno degli AOM terzi ">In Evasione</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di RIFIUTATA (7) nella giornata (non applicabile per SCIVOLO TACS))">Rifiutate</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di ANNULLATA (9) nella giornata ">Annullate</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di ANNULLATAGRUPPO (14) nella giornata (non applicabile per SCIVOLO TACS)">Annullate Gruppo</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' rowspan=3 style='cursor:hand'><font class = 'normaleTab'><a title="Richieste nello stato di EVASA (12) nella giornata">Evase</a></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'><font class = 'normaleTab'>Oper.<br>Donor</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align='center'> </td>
|
||||
<td class= 'tdCeleste' align='center' width= '5px'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Manc</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Manc</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Rit</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Manc</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
<td class= 'tdCeleste' align='center'><font class = 'normaleTab'>Tot</font></td>
|
||||
</tr>
|
||||
<!--Ciclo per il riempimento della tabella Donor-->
|
||||
<% Enumeration en = resultBean.getRECIPIENT_CONSOLE().getRecipientConsole();
|
||||
sLinkCommand = CommandsDef.SHOW_LISTARICRECIPIENT_DO;
|
||||
int iR_TotAcqAcc = 0;
|
||||
int iR_Scartate = 0;
|
||||
int iR_TotInviate = 0;
|
||||
int iR_TotPresCaric = 0;
|
||||
int iR_MancPresCaric = 0;
|
||||
int iR_TotValidaz = 0;
|
||||
int iR_MancValidaz = 0;
|
||||
int iR_TotSospese = 0;
|
||||
int iR_TotInEvas = 0;
|
||||
int iR_RitInEvas = 0;
|
||||
int iR_MancInEvasA =0;
|
||||
int iR_MancInEvasB =0;
|
||||
int iR_TotRifiut = 0;
|
||||
int iR_TotAnnullate = 0;
|
||||
int iR_TotAnnulGrupp = 0;
|
||||
int iR_TotEvase = 0;
|
||||
|
||||
while(en.hasMoreElements()){
|
||||
RecipientConsoleRow r = (RecipientConsoleRow)(en.nextElement());
|
||||
sOperatore = r.getCODICE_OPERATORE_DONATING();
|
||||
|
||||
String sTDClass = "tdGiallo";
|
||||
String sInviate = ""+r.getINVIATE();
|
||||
String sTotPreseInCarico = ""+r.getPRESE_IN_CARICO();
|
||||
String sMancPreseInCarico = ""+r.getMANCATE_PRESE_IN_CARICO();
|
||||
String sSospese = ""+r.getSOSPESE();
|
||||
String sRifiutate = ""+r.getRIFIUTATE();
|
||||
String sAnnullateGruppo = ""+r.getANNULLATE_GRUPPO();
|
||||
|
||||
iR_TotAcqAcc = iR_TotAcqAcc + r.getACQUISITE_ACCODATE();
|
||||
iR_Scartate = iR_Scartate + r.getSCARTATE_PRESA_IN_CARICO();
|
||||
iR_TotInviate = iR_TotInviate + r.getINVIATE();
|
||||
iR_TotPresCaric = iR_TotPresCaric + r.getPRESE_IN_CARICO();
|
||||
iR_MancPresCaric = iR_MancPresCaric + r.getMANCATE_PRESE_IN_CARICO();
|
||||
iR_TotValidaz = iR_TotValidaz + r.getVALIDATE();
|
||||
iR_MancValidaz = iR_MancValidaz + r.getMANCATE_VALIDATE();
|
||||
iR_TotSospese = iR_TotSospese + r.getSOSPESE();
|
||||
iR_TotInEvas = iR_TotInEvas + r.getATTESA_EVASIONE();
|
||||
iR_RitInEvas = iR_RitInEvas + r.getRITARDO_EVASIONE();
|
||||
iR_MancInEvasA = iR_MancInEvasA + r.getMANCATA_EVASIONE_A();
|
||||
iR_MancInEvasB = iR_MancInEvasB + r.getMANCATA_EVASIONE_B();
|
||||
iR_TotRifiut = iR_TotRifiut + r.getRIFIUTATE();
|
||||
iR_TotAnnullate = iR_TotAnnullate + r.getANNULLATE();
|
||||
iR_TotAnnulGrupp = iR_TotAnnulGrupp + r.getANNULLATE_GRUPPO();
|
||||
iR_TotEvase = iR_TotEvase + r.getEVASE();
|
||||
|
||||
|
||||
|
||||
|
||||
if(r.getCODICE_OPERATORE_DONATING().equalsIgnoreCase("TIMT")){
|
||||
sTDClass = "tdGrigio";
|
||||
sInviate = "";
|
||||
sTotPreseInCarico = "";
|
||||
sMancPreseInCarico= "";
|
||||
sSospese = "";
|
||||
sRifiutate = "";
|
||||
sAnnullateGruppo = "";
|
||||
}
|
||||
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'align='center'><font class = 'normaleTab'><%=sOperatore%></font></td>
|
||||
<td class= 'tdGiallo' align='center' width= '5px'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_TOT_ACQUISITE_ACC%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=r.getACQUISITE_ACCODATE()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'> <a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_TOT_SCARTATE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=r.getSCARTATE_PRESA_IN_CARICO()%></u></font></a></td>
|
||||
<td class= '<%=sTDClass%>' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_TOT_INVIATE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sInviate%></u></font></a></td>
|
||||
<td class= '<%=sTDClass%>' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_TOT_PRESE_CARICO%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sTotPreseInCarico%></u></font></a></td>
|
||||
<td class= '<%=sTDClass%>' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_MANC_PRESE_CARICO%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sMancPreseInCarico%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'> <a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_TOT_VALIDAZIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=r.getVALIDATE()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'> <a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_MANC_VALIDAZIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=r.getMANCATE_VALIDATE()%></u></font></a></td>
|
||||
<td class= '<%=sTDClass%>' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_TOT_SOSPESE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sSospese%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'> <a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_TOT_EVASIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=r.getATTESA_EVASIONE()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'> <a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_RIT_EVASIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=r.getRITARDO_EVASIONE()%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'> <a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_MANC_EVASIONEA%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=r.getMANCATA_EVASIONE_A()%></a>/<a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_MANC_EVASIONEB%>');"><%=r.getMANCATA_EVASIONE_B()%></a></u></font></td>
|
||||
<td class= '<%=sTDClass%>' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_TOT_RIFIUTATE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sRifiutate%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'> <a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_TOT_ANNULLATE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=r.getANNULLATE()%></u></font></a></td>
|
||||
<td class= '<%=sTDClass%>' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_TOT_ANNULLATE_GRUPPO%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sAnnullateGruppo%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'> <a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaRec.R_TOT_EVASE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=r.getEVASE()%></u></font></a></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
<tr>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'>TOTALI</font></td>
|
||||
<td class= 'tdVerde' align='center' width= '5px'><font class = 'normaleTab'><%=iR_TotAcqAcc%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_Scartate%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_TotInviate%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_TotPresCaric%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_MancPresCaric%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_TotValidaz%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_MancValidaz%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_TotSospese%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_TotInEvas %> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_RitInEvas%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_MancInEvasA+"/"+iR_MancInEvasB%></font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_TotRifiut%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_TotAnnullate%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_TotAnnulGrupp%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iR_TotEvase%> </font></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-----------------------------fine tabella recipient ----------------------->
|
||||
|
||||
<%
|
||||
if(resultBean.getRECIPIENT_CONSOLE().isRichiesteDaSbloccare()) {
|
||||
%>
|
||||
<p align = 'center'>
|
||||
<font class = 'fontAlert'>
|
||||
ATTENZIONE: esistono richieste RECIPIENT da sbloccare</font></p>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Riepilogo Situazione Terza Parte</font></p>
|
||||
|
||||
<!---------------------------- tabella terze parti ----------------------------->
|
||||
|
||||
|
||||
<table width = '100%' border = '1' class="border">
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' style='cursor:hand' nowrap><font class = 'normaleTab'>Oper.<br>Recipient</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' style='cursor:hand' nowrap><font class = 'normaleTab'><a title="Richieste nello stato di ACQUISITA(01) ">Acquisite</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' style='cursor:hand' nowrap><font class = 'normaleTab'><a title="Richieste nello stato di SCARTATA(02)">Scartate</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' style='cursor:hand' nowrap><font class = 'normaleTab'><a title="Richieste nello stato di ATTESAEVASIONE(03)">Attesa Evasione</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' style='cursor:hand' nowrap><font class = 'normaleTab'><a title="Richieste negli stati di NON_EVASA(05) e NON_EVASA_INVIATA(07) [Tutte le richieste per le quali DBC non ha ancora ricevuto l'esito da MSS con DCO superata]">Non Evase</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' style='cursor:hand' nowrap><font class = 'normaleTab'><a title="Richieste nello stato di NON_EVASA(05) [Tutte le richieste per le quali DBC non ha ancora ricevuto l'esito da MSS con DCO superata e per le quali non abbiamo ancora inviato l'esito di Porting]">Non Evase Inviate</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' style='cursor:hand' nowrap><font class = 'normaleTab'><a title="Richieste nello stato di EVASA(04) e ESPLETATA(06) [Tutte le richieste per le quali DBC ha ricevuto l'esito di MSS alla data cut over]">Evase</a></font></td>
|
||||
<td class= 'tdCeleste' align= 'center' style='cursor:hand' nowrap><font class = 'normaleTab'><a title="Richieste nello stato di ESPLETATA(06)">Espletate</a></font></td>
|
||||
</tr>
|
||||
<!--Ciclo per il riempimento della tabella TERZE PARTI-->
|
||||
<% Enumeration enu = resultBean.getTERZEPARTI_CONSOLE().getTerzePartiConsole();
|
||||
sLinkCommand = CommandsDef.SHOW_LISTARICPORTING_DO;
|
||||
int iTP_TotAcquisite = 0;
|
||||
int iTP_TotScartate = 0;
|
||||
int iTP_TotAttesaevasione = 0;
|
||||
int iTP_TotNonevase = 0;
|
||||
int iTP_TotNonevaseinviate = 0;
|
||||
int iTP_TotEvase = 0;
|
||||
int iTP_TotEspletate = 0;
|
||||
|
||||
while(enu.hasMoreElements()){
|
||||
TerzePartiConsoleRow r = (TerzePartiConsoleRow)(enu.nextElement());
|
||||
String sTDClass = "tdGiallo";
|
||||
|
||||
sOperatore = r.getCODICE_OPERATORE_RECIPIENT();
|
||||
String sAcquisite = "" + r.getACQUISITE();
|
||||
String sScartate = "" + r.getSCARTATE();
|
||||
String sAttesaEvasione = "" + r.getATTESA_EVASIONE();
|
||||
String sNonEvase = "" + r.getNON_EVASE();
|
||||
String sNonEvaseInviate = "" + r.getNON_EVASE_INVIATE();
|
||||
String sEvase = "" + r.getEVASE();
|
||||
String sEspletate = "" + r.getESPLETATE();
|
||||
|
||||
iTP_TotAcquisite = iTP_TotAcquisite + r.getACQUISITE();
|
||||
iTP_TotScartate = iTP_TotScartate + r.getSCARTATE();
|
||||
iTP_TotAttesaevasione = iTP_TotAttesaevasione + r.getATTESA_EVASIONE();
|
||||
iTP_TotNonevase = iTP_TotNonevase + r.getNON_EVASE();
|
||||
iTP_TotNonevaseinviate = iTP_TotNonevaseinviate + r.getNON_EVASE_INVIATE();
|
||||
iTP_TotEvase = iTP_TotEvase + r.getEVASE();
|
||||
iTP_TotEspletate = iTP_TotEspletate + r.getESPLETATE();
|
||||
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdCeleste'align='center'><font class = 'normaleTab'><%=sOperatore%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaPorting.P_TOT_ACQUISITE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sAcquisite%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaPorting.P_TOT_SCARTATE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sScartate%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaPorting.P_TOT_ATTESAEVASIONE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sAttesaEvasione%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaPorting.P_TOT_NONEVASA%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sNonEvase%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaPorting.P_TOT_NONEVASEINVIATE%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sNonEvaseInviate%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaPorting.P_TOT_EVASA%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sEvase%></u></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a onClick = "settaParamentri('<%=sLinkCommand%>','<%=sOperatore%>','<%=StatoRichiestaPorting.P_TOT_ESPLETATA%>');"><font class = 'normaleTab'><u style='cursor:hand'><%=sEspletate%></u></font></a></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
<tr>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'>TOTALI</font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iTP_TotAcquisite%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iTP_TotScartate%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iTP_TotAttesaevasione%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iTP_TotNonevase%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iTP_TotNonevaseinviate%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iTP_TotEvase%> </font></td>
|
||||
<td class= 'tdVerde' align='center'><font class = 'normaleTab'><%=iTP_TotEspletate%> </font></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-----------------------------fine tabella terze parti ----------------------->
|
||||
|
||||
|
||||
|
||||
<input type = 'hidden' name = 'oper'>
|
||||
<input type = 'hidden' name = 'ric'>
|
||||
</FORM>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- fine tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
200
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ShowDettaglioRichiesta.jsp
Normal file
@@ -0,0 +1,200 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowDettaglioRichiesta
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<!--
|
||||
TITOLO : ShowDettaglioRichiesta.jsp
|
||||
DESCRIZIONE: Questa Pagina (comune a tutti i processi) include il dettaglio
|
||||
e lo storico delle richieste. Per determinare quale pagine includere
|
||||
verifico il 'tipo' di DettaglioRichiestaResult che viene settato
|
||||
dentro il comando ShowDettaglioRichiesta.java.
|
||||
La visualizzazione dello storico e dell'elenco dei
|
||||
files XML IN/OUT sono gli stessi per tutti i processi.
|
||||
AUTORE : Alessia Streglio
|
||||
-->
|
||||
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.objects.*,mnp.objects.dao.*,mnp.objects.dao.beolo.*,mnp.xml.parser.FileXML"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<!-- titolo -->
|
||||
<b><i><P class = "titolo">DETTAGLIO SINGOLA RICHIESTA</P></i></b>
|
||||
<%
|
||||
boolean beolo = false;
|
||||
beolo = ((Boolean)request.getAttribute("beolo")).booleanValue();
|
||||
String sNote = " ";
|
||||
if( (resultBean.getNote() != null) && (!resultBean.getNote().equals(""))){
|
||||
sNote = resultBean.getNote();
|
||||
}
|
||||
FileXMLInfo[] fileIN = resultBean.getFileXMLin();
|
||||
FileXMLInfo[] fileOUT = resultBean.getFileXMLout();
|
||||
%>
|
||||
<%if(resultBean.getRichiesta() instanceof RichiestaDonorBeolo){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaDONORBeolo.jsp" flush = "true"/>
|
||||
<%}else if(resultBean.getRichiesta() instanceof RichiestaDonorGui){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaDONOR.jsp" flush = "true"/>
|
||||
<%if(resultBean.getStorico() != null){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaStoricoDONOR.jsp" flush = "true"/>
|
||||
<%}%>
|
||||
<%}else if(resultBean.getRichiesta() instanceof RichiestaRecipientBeolo){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaRECIPIENTBeolo.jsp" flush = "true"/>
|
||||
<%}else if(resultBean.getRichiesta() instanceof RichiestaRecipient){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaRECIPIENT.jsp" flush = "true"/>
|
||||
<%if(resultBean.getStorico() != null){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaStoricoRECIPIENT.jsp" flush = "true"/>
|
||||
<%}%>
|
||||
<%}else if(resultBean.getRichiesta() instanceof RichiestaPortingBeolo){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaTERZAPARTEBeolo.jsp" flush = "true"/>
|
||||
<%}else if(resultBean.getRichiesta() instanceof RichiestaPorting){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaTERZAPARTE.jsp" flush = "true"/>
|
||||
<%if(resultBean.getStorico() != null){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaStoricoTERZAPARTE.jsp" flush = "true"/>
|
||||
<%}%>
|
||||
<%}else if(resultBean.getRichiesta() instanceof RichiestaCessazioneBeolo){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaCESSAZIONEBeolo.jsp" flush = "true"/>
|
||||
<%}else if(resultBean.getRichiesta() instanceof RichiestaCessazione){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaCESSAZIONE.jsp" flush = "true"/>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaStoricoCESSAZIONE.jsp" flush = "true"/>
|
||||
<%}else if(resultBean.getRichiesta() instanceof RichiestaCessPorting){%>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaCESSAZIONEPORTING.jsp" flush = "true"/>
|
||||
<jsp:include page="/jsp/GUI/ShowDettaglioRichiestaStoricoCESSAZIONEPORTING.jsp" flush = "true"/>
|
||||
<%}%>
|
||||
|
||||
|
||||
<%if(!beolo){%>
|
||||
|
||||
<form name = "frmFormDett" method="post">
|
||||
|
||||
<p align = 'left'><font class = 'normaleTab'>Elenco file XML IN</font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Nome File</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Tipo File</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Ack</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Esito</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Esito Parser</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Can.Alter</font></td>
|
||||
</tr>
|
||||
|
||||
<% for (int i = 0; i < fileIN.length; i++) {
|
||||
if (fileIN[i] != null){
|
||||
String sNomeFile = fileIN[i].getFILEXML().getFileName().getNomeFile()==null?"":fileIN[i].getFILEXML().getFileName().getNomeFile();
|
||||
String sAck = fileIN[i].getNOME_ACK()==null?"":fileIN[i].getNOME_ACK();
|
||||
String sScarto = fileIN[i].getRISULTATO_ACK()==null?"":fileIN[i].getRISULTATO_ACK();
|
||||
String sUrl = Res.ApplContext+"/ShowFileXMLWindow.do?nome_file="+sNomeFile+"&in_out=1";
|
||||
String sTipoFile = TipoFile.getDescr(fileIN[i].getFILEXML().getTipo_file());
|
||||
String sCanAlter = "No";
|
||||
String sEsitoParser = fileIN[i].getESITO_PARSER()==null?" ":fileIN[i].getESITO_PARSER();
|
||||
if(fileIN[i].getFILEXML().getIsCanaleAlternativo().booleanValue())sCanAlter="Si";
|
||||
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><a href='#' onClick='javascript:window.open("<%=sUrl%>","new","toolbar=no,directories=no,resizable=yes, menubar=no,scrollbar=no,status=no")' ><font class = 'normaleTab'><%=sNomeFile%></font></a></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sTipoFile%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sAck%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sScarto%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sEsitoParser%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sCanAlter%></font></td>
|
||||
</tr>
|
||||
<% }
|
||||
}%>
|
||||
</table>
|
||||
|
||||
<p align = 'left'><font class = 'normaleTab'>Elenco file XML OUT</font></p>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Nome File</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Tipo File</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Ack</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Esito</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Esito Parser</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Can.Alter.</font></td>
|
||||
</tr>
|
||||
<% for (int x = 0; x < fileOUT.length; x++) {
|
||||
if(fileOUT[x] != null){
|
||||
String sNomeFile = fileOUT[x].getFILEXML().getFileName().getNomeFile()==null?"":fileOUT[x].getFILEXML().getFileName().getNomeFile();
|
||||
String sAck = fileOUT[x].getNOME_ACK()==null?"":fileOUT[x].getNOME_ACK();
|
||||
String sScarto = fileOUT[x].getRISULTATO_ACK()==null?"":fileOUT[x].getRISULTATO_ACK();
|
||||
String sTipoFile = TipoFile.getDescr(fileOUT[x].getFILEXML().getTipo_file());
|
||||
String sUrl = Res.ApplContext+"/ShowFileXMLWindow.do?nome_file="+sNomeFile+"&in_out=0";
|
||||
String sCanAlter = "No";
|
||||
String sEsitoParser = fileOUT[x].getESITO_PARSER()==null?" ":fileOUT[x].getESITO_PARSER();
|
||||
if(fileOUT[x].getFILEXML().getIsCanaleAlternativo().booleanValue())sCanAlter="Si";
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><a href='#' onClick='javascript:window.open("<%=sUrl%>","new","toolbar=no,directories=no,resizable=yes, menubar=no,scrollbar=no,status=no")' ><font class = 'normaleTab'><%=sNomeFile%></font></a></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sTipoFile%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sAck%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sScarto%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sEsitoParser%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sCanAlter%></font></td>
|
||||
</tr>
|
||||
<% }
|
||||
}%>
|
||||
</table>
|
||||
|
||||
<%boolean don_rec_cessport = (resultBean.getRichiesta() instanceof RichiestaRecipient) ||
|
||||
(resultBean.getRichiesta() instanceof RichiestaCessPorting) ||
|
||||
(resultBean.getRichiesta() instanceof RichiestaDonorGui);
|
||||
%>
|
||||
|
||||
<%if (don_rec_cessport || (resultBean.getRichiesta() instanceof RichiestaCessazione)){
|
||||
String sCodRichiesta = request.getParameter("ric");
|
||||
%>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
|
||||
<%if (don_rec_cessport){%>
|
||||
<TD width=50% ALIGN= "center"><INPUT TYPE= "submit" style="display:none" OnClick="javascript:document.frmFormDett.action='<%=CommandsDef.SHOW_RIC_DA_ANNULLARE_DO%>';document.frmFormDett.submit();" NAME= "btnFilter" VALUE= "ANNULLA RICHIESTA"></TD>
|
||||
<%}%>
|
||||
|
||||
<TD width=50% ALIGN= "center"><INPUT TYPE= "submit" style="display:none" OnClick="javascript:document.frmFormDett.action='<%=CommandsDef.SHOW_BONIFICA_RICHIESTA_DO%>';document.frmFormDett.submit();" NAME= "btnFilter" VALUE= "VISUALIZZA BONIFICHE"></TD>
|
||||
|
||||
<input type = 'hidden' name = 'id_richiesta' value = '<%=sCodRichiesta%>'>
|
||||
<%if(resultBean.getRichiesta() instanceof RichiestaRecipient){%>
|
||||
<input type = 'hidden' name = 'proc' value = '<%=ProcessMapper.proc_RECIPIENT%>'>
|
||||
<%}else if(resultBean.getRichiesta() instanceof RichiestaCessPorting){%>
|
||||
<input type = 'hidden' name = 'proc' value = '<%=ProcessMapper.proc_CESS_PORTING%>'>
|
||||
<%}else if(resultBean.getRichiesta() instanceof RichiestaDonorGui){%>
|
||||
<input type = 'hidden' name = 'proc' value = '<%=ProcessMapper.proc_DONOR%>'>
|
||||
<%}else if(resultBean.getRichiesta() instanceof RichiestaCessazione){%>
|
||||
<input type = 'hidden' name = 'proc' value = '<%=ProcessMapper.proc_CESS%>'>
|
||||
<%}%>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<%}%>
|
||||
|
||||
|
||||
|
||||
</FORM>
|
||||
<%}%>
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
|
||||
<%@page import = "mnp.objects.dao.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*"%>
|
||||
<%@page import = "mnp.utility.*,mnp.objects.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella dettaglio delle richieste cessazione ---->
|
||||
|
||||
<p align = 'left'><font class = 'normaleTab'>Dettaglio Richiesta Cessazione</font></p>
|
||||
|
||||
<%
|
||||
String sCodRichiesta = request.getParameter("ric");//parametro passato dal link.
|
||||
String sEmpty = " ";
|
||||
RichiestaCessazione rc = new RichiestaCessazione();
|
||||
rc = (RichiestaCessazione)resultBean.getRichiesta();
|
||||
%>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.Rich.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Op.Recipient</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sCodRichiesta%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rc.getMsisdn()==null?sEmpty:rc.getMsisdn()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rc.getCodice_operatore_recipient()==null?sEmpty:rc.getCodice_operatore_recipient()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rc.getStato()==-1?"-":StatoRichiestaCess.getStatoDescr(rc.getStato())%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdBianco' colspan = '5'> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = '3'><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=DateUtils.toItalianString(rc.getDataricezionerichiesta())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = '3'><font class = 'normaleTab'><%=DateUtils.toItalianString(rc.getData_cut_over())%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.dao.beolo.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*"%>
|
||||
<%@page import = "mnp.utility.*,mnp.objects.*"%>
|
||||
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella dettaglio delle richieste terza parte ---->
|
||||
|
||||
<p align = 'left'><font class = 'normaleTab'>Dettaglio Richiesta Cessazione Beolo</font></p>
|
||||
|
||||
<%
|
||||
String sCodRichiesta = request.getParameter("ric");//parametro passato dal link.
|
||||
String sEmpty = " ";
|
||||
RichiestaCessazioneBeolo rc = new RichiestaCessazioneBeolo();
|
||||
rc = (RichiestaCessazioneBeolo)resultBean.getRichiesta();
|
||||
%>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.Rich.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Op.Recipient</font></td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sCodRichiesta%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rc.getMsisdn()==null?sEmpty:rc.getMsisdn()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=rc.getCodice_operatore_recipient()==null?sEmpty:rc.getCodice_operatore_recipient()%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdBianco' colspan = '4'> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato Beolo</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rc.getStato_beolo()==0?"-":DbcBeoloMapper.getDescrStatoBeolo(rc.getStato_beolo())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rc.getStato()==-1?"-":StatoRichiestaCess.getStatoDescr(rc.getStato())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=DateUtils.toItalianString(rc.getData_cut_over())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=DateUtils.toItalianString(rc.getData_cut_over())%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
<%@page import = "mnp.objects.dao.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*"%>
|
||||
<%@page import = "mnp.utility.*,mnp.objects.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella dettaglio delle richieste terza parte ---->
|
||||
|
||||
<p align = 'left'><font class = 'normaleTab'>Dettaglio Richiesta Cessazione Volontaria</font></p>
|
||||
|
||||
<%
|
||||
String sCodRichiesta = request.getParameter("ric");//parametro passato dal link.
|
||||
String sEmpty = " ";
|
||||
RichiestaCessPorting rcp = new RichiestaCessPorting();
|
||||
rcp = (RichiestaCessPorting)resultBean.getRichiesta();
|
||||
%>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.Rich.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Op.Recipient</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sCodRichiesta%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rcp.getMsisdn()==null?sEmpty:rcp.getMsisdn()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rcp.getCodice_operatore_recipient()==null?sEmpty:rcp.getCodice_operatore_recipient()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rcp.getStato()==-1?"-":StatoRichiestaCessPorting.getStatoDescr(rcp.getStato())%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdBianco' colspan = '5'> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 4><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center' ><font class = 'normaleTab'><%=DateUtils.toItalianString(rcp.getDataricezionerichiesta())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'colspan = 4><font class = 'normaleTab'><%=DateUtils.toItalianString(rcp.getData_cut_over())%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,203 @@
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef"%>
|
||||
<%@page import = "mnp.utility.DateUtils,mnp.objects.StatoRichiesta"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<form name = "frmDetDONOR" method="post">
|
||||
<!----- tabella lista delle richieste donor ---->
|
||||
<p align = 'left'><font class = 'normaleTab'>Dettaglio Richiesta Donor</font></p>
|
||||
|
||||
<% //controllo i campi da visualizzare per evitare caselle formattate male
|
||||
//dove non ho valori da visualizzare metto il td a ' '
|
||||
RichiestaDonorGui d = new RichiestaDonorGui();
|
||||
d = (RichiestaDonorGui)resultBean.getRichiesta();
|
||||
String sEmpty = " ";
|
||||
String sNote = sEmpty;
|
||||
String sDataCutOverEff = sEmpty;
|
||||
String sCodRichiesta = request.getParameter("ric");
|
||||
String sInfoAnagrafica = "";
|
||||
String sRicHoc = "";
|
||||
String sTipoContratto="";
|
||||
String sSistemaCompetenza = "";
|
||||
String sAnalogicoDigitale = "";
|
||||
String[] arr_sist_comp = new String[]{"","ASP","SIMBA","DPPS","GSTM","MSPCOOP"};
|
||||
String[] arr_pre_post = new String[]{"PREPAGATO","POSTPAGATO"};
|
||||
String[] arr_analogico_digit = new String[]{"ANALOGICO","DIGITALE"};
|
||||
|
||||
boolean modificabile = false;
|
||||
boolean modificabile_blocca_sblocca = false;
|
||||
|
||||
if((d.getStato() == StatoRichiesta.VALIDATAOK) || (d.getStato() == StatoRichiesta.ACCETTATA)){
|
||||
modificabile = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if((d.getStato() == StatoRichiesta.ACCETTATA) || (d.getStato() == StatoRichiesta.BLOCCATA)){
|
||||
modificabile_blocca_sblocca = true;
|
||||
}
|
||||
|
||||
if(d.getCodice_pre_post_pagato().equalsIgnoreCase("PRP")){
|
||||
sTipoContratto = "PREPAGATO";
|
||||
}else if(d.getCodice_pre_post_pagato().equalsIgnoreCase("POP")){
|
||||
sTipoContratto = "POSTPAGATO";
|
||||
}
|
||||
|
||||
if(resultBean.getNote()!= null && (!resultBean.getNote().equals(""))){
|
||||
sNote = resultBean.getNote();
|
||||
}
|
||||
|
||||
if(resultBean.getDataCutOverEffettiva()!= null && (!resultBean.getDataCutOverEffettiva().equals(""))){
|
||||
sDataCutOverEff = DateUtils.toItalianStringHour(resultBean.getDataCutOverEffettiva());
|
||||
}
|
||||
|
||||
sRicHoc = d.getRichiestaadhoc().equals("1")?"Si":"No";
|
||||
|
||||
if(d.getCodice_pre_post_pagato() != null){
|
||||
if(d.getCodice_analogico_digitale().equalsIgnoreCase("D")){
|
||||
sAnalogicoDigitale = "DIGITALE";
|
||||
}else if(d.getCodice_analogico_digitale().equalsIgnoreCase("A")){
|
||||
sAnalogicoDigitale = "ANALOGICO";
|
||||
}
|
||||
}
|
||||
|
||||
sSistemaCompetenza = d.getSist_comp()== null?sEmpty:d.getSist_comp();
|
||||
|
||||
|
||||
//campo anagrafica
|
||||
if((d.getCognome_cliente()!=null) && (!d.getCognome_cliente().equals(""))){
|
||||
sInfoAnagrafica += d.getCognome_cliente()+" ";
|
||||
}
|
||||
if((d.getNome_cliente()!=null) && (!d.getNome_cliente().equals(""))){
|
||||
sInfoAnagrafica += d.getNome_cliente()+" ";
|
||||
}
|
||||
if((d.getRagione_sociale()!=null) && (!d.getRagione_sociale().equals(""))){
|
||||
sInfoAnagrafica += d.getRagione_sociale()+" ";
|
||||
}
|
||||
if((d.getCodice_fiscale_partita_iva()!=null) && (!d.getCodice_fiscale_partita_iva().equals(""))){
|
||||
sInfoAnagrafica += d.getCodice_fiscale_partita_iva()+" ";
|
||||
}
|
||||
|
||||
%>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.Rich.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Op.Recipient</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Tipo Cliente</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 3><font class = 'normaleTab'>Tipo Contr.</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sCodRichiesta%></font></td>
|
||||
<input type= 'hidden' name = 'id_richiesta' value= '<%=sCodRichiesta%>' >
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getMsisdn()==null?sEmpty:d.getMsisdn()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getCodice_operatore_recipient()==null?sEmpty:d.getCodice_operatore_recipient()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getTipo_cliente()==null?sEmpty:d.getTipo_cliente()%></font></td>
|
||||
<input type= 'hidden' name = 'codice_pre_post_pagato_old' value= '<%=sTipoContratto%>' >
|
||||
<%if(modificabile){%>
|
||||
<td class = 'tdGiallo' colspan = 3 align = 'center'><select name ='codice_pre_post_pagato' >
|
||||
<%for (int i = 0; i < arr_pre_post.length; i++){
|
||||
if(sTipoContratto.equalsIgnoreCase(arr_pre_post[i])){%>
|
||||
<option selected value = '<%=arr_pre_post[i]%>'><%=arr_pre_post[i]%></option><%
|
||||
}else{%>
|
||||
<option value = '<%=arr_pre_post[i]%>'><%=arr_pre_post[i]%></option>
|
||||
<%}
|
||||
}%>
|
||||
<%}else{%>
|
||||
<td class= 'tdGiallo' colspan = 3 align= 'center'><font class = 'normaleTab'><%=sTipoContratto%></font></td>
|
||||
<%}%>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 7> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 7><font class = 'normaleTab'>Anagrafica Utente</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 7><font class = 'normaleTab'><%=sInfoAnagrafica%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 7> </td></tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.Gruppo</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Sistema di Competenza</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.A/D</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Rich. ad Hoc</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Data Ricezione</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<input type= 'hidden' name = 'stato' value= '<%=d.getStato()%>' >
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=StatoRichiesta.getStatoDescr(d.getStato())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getCodice_gruppo()==null?sEmpty:d.getCodice_gruppo()%></font></td>
|
||||
<input type= 'hidden' name = 'sist_comp_old' value= '<%=sSistemaCompetenza%>' >
|
||||
<%if(modificabile){%>
|
||||
<td class = 'tdGiallo' align = 'center'><select name ='sist_comp' >
|
||||
<%for (int i = 0; i < arr_sist_comp.length; i++){
|
||||
if(sSistemaCompetenza.equalsIgnoreCase(arr_sist_comp[i])){%>
|
||||
<option selected value = '<%=arr_sist_comp[i]%>'><%=arr_sist_comp[i]%></option><%
|
||||
}else{%>
|
||||
<option value = '<%=arr_sist_comp[i]%>'><%=arr_sist_comp[i]%></option>
|
||||
<%}
|
||||
}%>
|
||||
</td>
|
||||
<%}else{%>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sSistemaCompetenza%></font></td>
|
||||
<%}%>
|
||||
<input type= 'hidden' name = 'codice_analogico_digitale_old' value= '<%=sAnalogicoDigitale%>' >
|
||||
<%if(modificabile){%>
|
||||
<td class = 'tdGiallo' align = 'center'><select name ='codice_analogico_digitale' >
|
||||
<%for (int i = 0; i < arr_analogico_digit.length; i++){
|
||||
if(sAnalogicoDigitale.equalsIgnoreCase(arr_analogico_digit[i])){%>
|
||||
<option selected value = '<%=arr_analogico_digit[i]%>'><%=arr_analogico_digit[i]%></option><%
|
||||
}else{%>
|
||||
<option value = '<%=arr_analogico_digit[i]%>'><%=arr_analogico_digit[i]%></option>
|
||||
<%}
|
||||
}%>
|
||||
</td>
|
||||
<%}else{%>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sAnalogicoDigitale%></font></td>
|
||||
<%}%>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sRicHoc%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=d.getDataricezionerichiesta().equals("")?sEmpty:DateUtils.toItalianString(d.getDataricezionerichiesta())%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 7> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Cut Over Calc.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Cut Over Eff.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Valid.Max</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 3><font class = 'normaleTab'>Data Valid.Effet.</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getData_cut_over().equals("")?sEmpty:DateUtils.toItalianString(d.getData_cut_over())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getData_cut_over_calc().equals("")?sEmpty:DateUtils.toItalianString(d.getData_cut_over_calc())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sDataCutOverEff%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getData_validazione_max().equals("")?sEmpty:DateUtils.toItalianString(d.getData_validazione_max())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 3><font class = 'normaleTab'><%=d.getData_validazione_eff().equals("")?sEmpty:DateUtils.toItalianString(d.getData_validazione_eff())%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 7> </td></tr>
|
||||
<tr><td class= 'tdCeleste' align= 'center' colspan = 7><font class = 'normaleTab'>Note</font></td></tr>
|
||||
<tr><td class= 'tdGiallo' align= 'center' colspan =7><font class = 'normaleTab'><%=sNote%></font></td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<!-- pulsanti -->
|
||||
<%if(modificabile || modificabile_blocca_sblocca){%>
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<%if(modificabile){%>
|
||||
<TD width=50% ALIGN= "center"><INPUT TYPE= "submit" style="display:none" OnClick="javascript:document.frmDetDONOR.action='<%=CommandsDef.MODIFICA_DET_DONOR_DO%>';document.frmDetDONOR.submit();" NAME= "btnFilter" VALUE= "MODIFICA RICHIESTA"></TD>
|
||||
<%}%>
|
||||
<%if(modificabile_blocca_sblocca){%>
|
||||
<TD width=50% ALIGN= "center"><INPUT TYPE= "submit" style="display:none" OnClick="javascript:document.frmDetDONOR.action='<%=CommandsDef.BLOCCA_SBLOCCA_DONOR_DO%>';document.frmDetDONOR.submit();" NAME= "btnFilter" VALUE= "BLOCCA/SBLOCCA RICHIESTA"></TD>
|
||||
<%}%>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<%}%>
|
||||
|
||||
|
||||
</form>
|
||||
@@ -0,0 +1,102 @@
|
||||
|
||||
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.*,mnp.objects.dao.beolo.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef"%>
|
||||
<%@page import = "mnp.utility.DateUtils,mnp.objects.StatoRichiesta"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella dettaglio delle richieste donor che visualizzano i dati di beolo---->
|
||||
<p align = 'left'><font class = 'normaleTab'>Dettaglio Richiesta Donor Beolo</font></p>
|
||||
|
||||
<% //controllo i campi da visualizzare per evitare caselle formattate male
|
||||
//dove non ho valori da visualizzare metto il td a ' '
|
||||
RichiestaDonorBeolo d = new RichiestaDonorBeolo();
|
||||
d = (RichiestaDonorBeolo)resultBean.getRichiesta();
|
||||
String sEmpty = " ";
|
||||
String sNote = sEmpty;
|
||||
String sDataCutOverEff = sEmpty;
|
||||
String sCodRichiesta = request.getParameter("ric");
|
||||
String sInfoAnagrafica = "";
|
||||
String sRicHoc = "";
|
||||
String sTipoContratto="";
|
||||
|
||||
if(d.getCodice_pre_post_pagato().equalsIgnoreCase("PRP")){
|
||||
sTipoContratto = "PREPAGATO";
|
||||
}else if(d.getCodice_pre_post_pagato().equalsIgnoreCase("POP")){
|
||||
sTipoContratto = "ABBONATO";
|
||||
}
|
||||
|
||||
if(resultBean.getNote()!= null && (!resultBean.getNote().equals(""))){
|
||||
sNote = resultBean.getNote();
|
||||
}
|
||||
|
||||
if(resultBean.getDataCutOverEffettiva()!= null && (!resultBean.getDataCutOverEffettiva().equals(""))){
|
||||
sDataCutOverEff = resultBean.getDataCutOverEffettiva();
|
||||
}
|
||||
|
||||
sRicHoc = d.getRichiestaadhoc().equals("1")?"Si":"No";
|
||||
|
||||
//campo anagrafica
|
||||
if((d.getCognome_cliente()!=null) && (!d.getCognome_cliente().equals(""))){
|
||||
sInfoAnagrafica += d.getCognome_cliente()+" ";
|
||||
}
|
||||
if((d.getNome_cliente()!=null) && (!d.getNome_cliente().equals(""))){
|
||||
sInfoAnagrafica += d.getNome_cliente()+" ";
|
||||
}
|
||||
if((d.getRagione_sociale()!=null) && (!d.getRagione_sociale().equals(""))){
|
||||
sInfoAnagrafica += d.getRagione_sociale()+" ";
|
||||
}
|
||||
if((d.getCodice_fiscale_partita_iva()!=null) && (!d.getCodice_fiscale_partita_iva().equals(""))){
|
||||
sInfoAnagrafica += d.getCodice_fiscale_partita_iva()+" ";
|
||||
}
|
||||
|
||||
%>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.Rich.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Op.Recipient</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Tipo Cliente</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Tipo Contr.</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sCodRichiesta%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getMsisdn()==null?sEmpty:d.getMsisdn()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getCodice_operatore_recipient()==null?sEmpty:d.getCodice_operatore_recipient()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getTipo_cliente()==null?sEmpty:d.getTipo_cliente()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sTipoContratto%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 5> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 5><font class = 'normaleTab'>Anagrafica Utente</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 5><font class = 'normaleTab'><%=sInfoAnagrafica%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 5> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato Beolo</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Cod.Gruppo</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getStato_beolo()==0?"-":DbcBeoloMapper.getDescrStatoBeolo(d.getStato_beolo())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=d.getStato()==-1?"-":StatoRichiesta.getStatoDescr(d.getStato())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=d.getCodice_gruppo()==null?sEmpty:d.getCodice_gruppo()%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 6> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Data Validazione</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=d.getDataricezionerichiesta().equals("")?sEmpty:DateUtils.toItalianString(d.getDataricezionerichiesta())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=d.getData_validazione_eff().equals("")?sEmpty:DateUtils.toItalianString(d.getData_validazione_eff())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=d.getData_cut_over().equals("")?sEmpty:DateUtils.toItalianString(d.getData_cut_over())%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,170 @@
|
||||
|
||||
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
|
||||
|
||||
<form name = "frmFormREC" method="post">
|
||||
<!----- tabella dettaglio delle richieste recipient ---->
|
||||
<p align = 'left'><font class = 'normaleTab'>Dettaglio Richiesta Recipient</font></p>
|
||||
|
||||
<%
|
||||
String sCodRichiesta = request.getParameter("ric");
|
||||
String sEmpty = " ";
|
||||
String sNote = sEmpty;
|
||||
String sDataInvio = sEmpty;
|
||||
String sInfoAnagrafica = "";
|
||||
String sRicHoc = "";
|
||||
String sTipoContratto="";
|
||||
RichiestaRecipient r = new RichiestaRecipient();
|
||||
r = (RichiestaRecipient)resultBean.getRichiesta();
|
||||
|
||||
boolean modificabile = false;
|
||||
boolean modificabile_blocca_sblocca = false;
|
||||
|
||||
if((r.getStato() == StatoRichiestaRec.ACQUISITA) ||
|
||||
(r.getStato() == StatoRichiestaRec.ACCODATA) ||
|
||||
(r.getStato() == StatoRichiestaRec.ATTESASCIVOLOTACS)){
|
||||
|
||||
if(r.getCodice_operatore_donating().equalsIgnoreCase("TIMT")){
|
||||
modificabile = true;
|
||||
}
|
||||
}
|
||||
|
||||
if((r.getStato() == StatoRichiestaRec.ACQUISITA) || (r.getStato() == StatoRichiestaRec.ACCODATA) || (r.getStato() == StatoRichiestaRec.BLOCCATA)){
|
||||
modificabile_blocca_sblocca = true;
|
||||
}
|
||||
|
||||
sRicHoc = r.getRichiestaadhoc()==1?"Si":"No";
|
||||
|
||||
|
||||
if(r.getCodice_pre_post_pagato().equalsIgnoreCase("PRP")){
|
||||
sTipoContratto = "PREPAGATO";
|
||||
}else if(r.getCodice_pre_post_pagato().equalsIgnoreCase("POP")){
|
||||
sTipoContratto = "ABBONATO";
|
||||
}
|
||||
|
||||
String espleTP = Func.getEspletamentoAOMString(r.getCodice_operatore_donating(),r.getStato(),r.getEspletamentoterzeparti());
|
||||
if(resultBean.getNote()!= null && (!resultBean.getNote().equals(""))){
|
||||
sNote = resultBean.getNote();
|
||||
}
|
||||
|
||||
if(resultBean.getDataInvio()!= null && (!resultBean.getDataInvio().equals(""))){
|
||||
sDataInvio = resultBean.getDataInvio();
|
||||
}
|
||||
|
||||
//campo anagrafica
|
||||
if((r.getCognome_cliente()!=null) && (!r.getCognome_cliente().equals(""))){
|
||||
sInfoAnagrafica += r.getCognome_cliente()+" ";
|
||||
}
|
||||
if((r.getNome_cliente()!=null) && (!r.getNome_cliente().equals(""))){
|
||||
sInfoAnagrafica += r.getNome_cliente()+" ";
|
||||
}
|
||||
if((r.getRagione_sociale()!=null) && (!r.getRagione_sociale().equals(""))){
|
||||
sInfoAnagrafica += r.getRagione_sociale()+" ";
|
||||
}
|
||||
if((r.getCodice_fiscale_partita_iva()!=null) && (!r.getCodice_fiscale_partita_iva().equals(""))){
|
||||
sInfoAnagrafica += r.getCodice_fiscale_partita_iva()+" ";
|
||||
}
|
||||
%>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.Rich.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Op.Donating</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Tipo Cliente</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Tipo Contr.</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sCodRichiesta%></font></td>
|
||||
<input type = 'hidden' name= 'id_richiesta' value = '<%=sCodRichiesta%>'>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getMsisdn()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getCodice_operatore_donating()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getTipo_cliente()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sTipoContratto%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 6> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 6><font class = 'normaleTab'>Anagrafica Utente</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 6><font class = 'normaleTab'><%=sInfoAnagrafica%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 6> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.Gruppo</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.BIT</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Sist Mitt</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'colspan = 2><font class = 'normaleTab'>Rich.Hoc</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getCodice_gruppo()==null?sEmpty:r.getCodice_gruppo()%></font></td>
|
||||
<input type= 'hidden' name = 'stato' value= '<%=r.getStato()%>' >
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getStato()==-1?"-":StatoRichiestaRec.getStatoDescr(r.getStato())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getCodice_richiesta_bit()==null?sEmpty:r.getCodice_richiesta_bit()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getTipo_servizio_sistema_mitt()==null?sEmpty:r.getTipo_servizio_sistema_mitt()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=sRicHoc%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 6> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Invio Rich.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Cut Over Calc.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Data Cut Over AOM</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sDataInvio==null?sEmpty:sDataInvio%></font></td>
|
||||
<input type = 'hidden' name= 'data_ricezione_richiesta' value = '<%=r.getDataricezionerichiesta().equals("")?sEmpty:DateUtils.toItalianString(r.getDataricezionerichiesta())%>'>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getDataricezionerichiesta().equals("")?sEmpty:DateUtils.toItalianString(r.getDataricezionerichiesta())%></font></td>
|
||||
<input type = 'hidden' name= 'data_cut_over_old' value = '<%=r.getData_cut_over().equals("")?sEmpty:DateUtils.toItalianString(r.getData_cut_over())%>'>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getData_cut_over().equals("")?sEmpty:DateUtils.toItalianString(r.getData_cut_over())%></font></td>
|
||||
<input type = 'hidden' name= 'data_cut_over_calc_old' value = '<%=r.getData_cut_over_calc().equals("")?sEmpty:DateUtils.toItalianString(r.getData_cut_over_calc())%>'>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getData_cut_over_calc().equals("")?sEmpty:DateUtils.toItalianString(r.getData_cut_over_calc())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=r.getData_cut_over_aom().equals("")?sEmpty:DateUtils.toItalianString(r.getData_cut_over_aom())%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 6> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Valid.Max</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Valid.Effet.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Espletato Donor</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Espletato AOM</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Espletato TIM</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<input type = 'hidden' name= 'data_val_max_old' value = '<%=r.getData_validazione_max().equals("")?sEmpty:DateUtils.toItalianString(r.getData_validazione_max())%>'>
|
||||
<%if(modificabile){%>
|
||||
<td class= 'tdGiallo' align= 'center'><input type = 'text' name = 'data_val_max' value = '<%=r.getData_validazione_max().equals("")?sEmpty:DateUtils.toItalianString(r.getData_validazione_max())%>' onBlur ='checkData(this,this.value)'></td>
|
||||
<%}else{%>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getData_validazione_max().equals("")?sEmpty:DateUtils.toItalianString(r.getData_validazione_max())%></font></td>
|
||||
<%}%>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getData_validazione_eff().equals("")?sEmpty:DateUtils.toItalianString(r.getData_validazione_eff())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getEspletamentodonating()==1?"Si":"No"%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=espleTP%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=r.getEspletamentomss()==1?"Si":"No"%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 6> </td></tr>
|
||||
<tr><td class= 'tdCeleste' align= 'center' colspan = 6><font class = 'normaleTab'>Note</font></td></tr>
|
||||
<tr><td class= 'tdGiallo' align= 'center' colspan =6><font class = 'normaleTab'><%=sNote%></font></td></tr>
|
||||
</table>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<%if(modificabile || modificabile_blocca_sblocca){%>
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<%if(modificabile){%>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" style="display:none" OnClick="javascript:document.frmFormREC.action='<%=CommandsDef.MODIFICA_DET_RECIPIENT_DO%>';document.frmFormREC.submit();" NAME= "btnFilter" VALUE= "MODIFICA RICHIESTA"></TD>
|
||||
<%}%>
|
||||
<%if(modificabile_blocca_sblocca){%>
|
||||
<TD width=50% ALIGN= "center"><INPUT TYPE= "submit" style="display:none" OnClick="javascript:document.frmFormREC.action='<%=CommandsDef.BLOCCA_SBLOCCA_RECIPIENT_DO%>';document.frmFormREC.submit();" NAME= "btnFilter" VALUE= "BLOCCA/SBLOCCA RICHIESTA"></TD>
|
||||
<%}%>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<%}%>
|
||||
</form>
|
||||
@@ -0,0 +1,88 @@
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.*,mnp.objects.dao.beolo.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella dettaglio delle richieste recipient che visualizzano i dati di BEOLO ---->
|
||||
<p align = 'left'><font class = 'normaleTab'>Dettaglio Richiesta Recipient Beolo</font></p>
|
||||
|
||||
<%
|
||||
String sCodRichiesta = request.getParameter("ric");
|
||||
String sEmpty = " ";
|
||||
String sInfoAnagrafica = "";
|
||||
String sTipoContratto="";
|
||||
RichiestaRecipientBeolo r = new RichiestaRecipientBeolo();
|
||||
r = (RichiestaRecipientBeolo)resultBean.getRichiesta();
|
||||
|
||||
if(r.getCodice_pre_post_pagato().equalsIgnoreCase("PRP")){
|
||||
sTipoContratto = "PREPAGATO";
|
||||
}else if(r.getCodice_pre_post_pagato().equalsIgnoreCase("POP")){
|
||||
sTipoContratto = "ABBONATO";
|
||||
}
|
||||
|
||||
//campo anagrafica
|
||||
if((r.getCognome_cliente()!=null) && (!r.getCognome_cliente().equals(""))){
|
||||
sInfoAnagrafica += r.getCognome_cliente()+" ";
|
||||
}
|
||||
if((r.getNome_cliente()!=null) && (!r.getNome_cliente().equals(""))){
|
||||
sInfoAnagrafica += r.getNome_cliente()+" ";
|
||||
}
|
||||
if((r.getRagione_sociale()!=null) && (!r.getRagione_sociale().equals(""))){
|
||||
sInfoAnagrafica += r.getRagione_sociale()+" ";
|
||||
}
|
||||
if((r.getCodice_fiscale_partita_iva()!=null) && (!r.getCodice_fiscale_partita_iva().equals(""))){
|
||||
sInfoAnagrafica += r.getCodice_fiscale_partita_iva()+" ";
|
||||
}
|
||||
%>
|
||||
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.Rich.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Op.Donating</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Tipo Cliente</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Tipo Contr.</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sCodRichiesta%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getMsisdn()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getCodice_operatore_donating()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getTipo_cliente()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sTipoContratto%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 6> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 6><font class = 'normaleTab'>Anagrafica Utente</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 6><font class = 'normaleTab'><%=sInfoAnagrafica%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 6> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato Beolo</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Cod.Gruppo</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getStato_beolo()==0?"-":DbcBeoloMapper.getDescrStatoBeolo(r.getStato_beolo())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=r.getStato()==-1?"-":StatoRichiestaRec.getStatoDescr(r.getStato())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=r.getCodice_gruppo()==null?sEmpty:r.getCodice_gruppo()%></font></td>
|
||||
</tr>
|
||||
<tr><td class= 'tdBianco' align= 'center' colspan = 6> </td></tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Data Validazione</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=r.getDataricezionerichiesta().equals("")?sEmpty:DateUtils.toItalianString(r.getDataricezionerichiesta())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=r.getData_validazione_eff().equals("")?sEmpty:DateUtils.toItalianString(r.getData_validazione_eff())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=r.getData_cut_over().equals("")?sEmpty:DateUtils.toItalianString(r.getData_cut_over())%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -0,0 +1,28 @@
|
||||
<%@page import = "mnp.objects.dao.*,mnp.utility.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.objects.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
<p align = 'left'><font class = 'normaleTab'>Storico Richiesta </font></p>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID Prog.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Lavorazione</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato DA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato A</font></td>
|
||||
</tr>
|
||||
<% Storico[] str = resultBean.getStorico();
|
||||
for (int i = 0; i < str.length; i++) {
|
||||
StoricoCess sc = (StoricoCess)str[i];
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sc.getId_prog()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sc.getData_lavorazione()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sc.getStato_da()==-1?"-":StatoRichiestaCess.getStatoDescr(sc.getStato_da())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=StatoRichiestaCess.getStatoDescr(sc.getStato_a())%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,28 @@
|
||||
<%@page import = "mnp.objects.dao.*,mnp.utility.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.objects.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
<p align = 'left'><font class = 'normaleTab'>Storico Richiesta </font></p>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID Prog.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Lavorazione</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato DA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato A</font></td>
|
||||
</tr>
|
||||
<% Storico[] str = resultBean.getStorico();
|
||||
for (int i = 0; i < str.length; i++) {
|
||||
StoricoCessPorting scp = (StoricoCessPorting)str[i];
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=scp.getId_prog()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=scp.getData_lavorazione()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=scp.getStato_da()==-1?"-":StatoRichiestaCessPorting.getStatoDescr(scp.getStato_da())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=StatoRichiestaCessPorting.getStatoDescr(scp.getStato_a())%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,28 @@
|
||||
<%@page import = "mnp.objects.dao.RichiestaDonorGui,mnp.objects.StatoRichiesta"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.objects.dao.*,mnp.utility.DateUtils,mnp.objects.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
|
||||
<p align = 'left'><font class = 'normaleTab'>Storico Richiesta </font></p>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID Prog.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Lavorazione</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato DA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato A</font></td>
|
||||
</tr>
|
||||
<% Storico[] str = resultBean.getStorico();
|
||||
for (int i = 0; i < str.length; i++) {
|
||||
StoricoDonor sd = (StoricoDonor)str[i];
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sd.getId_prog()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sd.getData_i_o()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sd.getStato_da()==-1?"-":StatoRichiesta.getStatoDescr(sd.getStato_da())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=StatoRichiesta.getStatoDescr(sd.getStato_a())%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,28 @@
|
||||
<%@page import = "mnp.objects.dao.*,mnp.utility.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.objects.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
<p align = 'left'><font class = 'normaleTab'>Storico Richiesta </font></p>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID Prog.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Lavorazione</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato DA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato A</font></td>
|
||||
</tr>
|
||||
<% Storico[] str = resultBean.getStorico();
|
||||
for (int i = 0; i < str.length; i++) {
|
||||
StoricoRecipient sr = (StoricoRecipient)str[i];
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sr.getId_prog()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sr.getData_i_o()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sr.getStato_da()==-1?"-":StatoRichiestaRec.getStatoDescr(sr.getStato_da())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=StatoRichiestaRec.getStatoDescr(sr.getStato_a())%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,28 @@
|
||||
<%@page import = "mnp.objects.dao.*,mnp.utility.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.objects.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
<p align = 'left'><font class = 'normaleTab'>Storico Richiesta </font></p>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID Prog.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Lavorazione</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato DA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato A</font></td>
|
||||
</tr>
|
||||
<% Storico[] str = resultBean.getStorico();
|
||||
for (int i = 0; i < str.length; i++) {
|
||||
StoricoPorting sp = (StoricoPorting)str[i];
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sp.getId_prog()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sp.getData_lavorazione()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sp.getStato_da()==-1?"-":StatoRichiestaPorting.getStatoDescr(sp.getStato_da())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=StatoRichiestaPorting.getStatoDescr(sp.getStato_a())%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,50 @@
|
||||
|
||||
<%@page import = "mnp.objects.dao.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*"%>
|
||||
<%@page import = "mnp.utility.*,mnp.objects.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella dettaglio delle richieste terza parte ---->
|
||||
|
||||
<p align = 'left'><font class = 'normaleTab'>Dettaglio Richiesta Terza Parte</font></p>
|
||||
|
||||
<%
|
||||
String sCodRichiesta = request.getParameter("ric");//parametro passato dal link.
|
||||
String sEmpty = " ";
|
||||
RichiestaPorting rp = new RichiestaPorting();
|
||||
rp = (RichiestaPorting)resultBean.getRichiesta();
|
||||
%>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.Rich.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Op.Recipient</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Op.Donating</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sCodRichiesta%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rp.getMsisdn()==null?sEmpty:rp.getMsisdn()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rp.getCodice_operatore_recipient()==null?sEmpty:rp.getCodice_operatore_recipient()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rp.getCodice_operatore_donating()==null?sEmpty:rp.getCodice_operatore_donating()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rp.getStato()==-1?"-":StatoRichiestaPorting.getStatoDescr(rp.getStato())%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdBianco' colspan = '5'> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Addizionale 1</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan = 2><font class = 'normaleTab'>Addizionale 2</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=DateUtils.toItalianString(rp.getDataricezionerichiesta())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=DateUtils.toItalianString(rp.getData_cut_over())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rp.getAddizionale_1()==null?" ":rp.getAddizionale_1()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=rp.getAddizionale_2()==null?" ":rp.getAddizionale_2()%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,49 @@
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.dao.beolo.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*"%>
|
||||
<%@page import = "mnp.utility.*,mnp.objects.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.DettaglioRichiestaResult" />
|
||||
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella dettaglio delle richieste terza parte ---->
|
||||
|
||||
<p align = 'left'><font class = 'normaleTab'>Dettaglio Richiesta Terza Parte Beolo</font></p>
|
||||
|
||||
<%
|
||||
String sCodRichiesta = request.getParameter("ric");//parametro passato dal link.
|
||||
String sEmpty = " ";
|
||||
RichiestaPortingBeolo rp = new RichiestaPortingBeolo();
|
||||
rp = (RichiestaPortingBeolo)resultBean.getRichiesta();
|
||||
%>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Cod.Rich.</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Op.Recipient</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Op.Donating</font></td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=sCodRichiesta%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rp.getMsisdn()==null?sEmpty:rp.getMsisdn()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rp.getCodice_operatore_recipient()==null?sEmpty:rp.getCodice_operatore_recipient()%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rp.getCodice_operatore_donating()==null?sEmpty:rp.getCodice_operatore_donating()%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdBianco' colspan = '4'> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato Beolo</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Cut Over</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rp.getStato_beolo()==0?"-":DbcBeoloMapper.getDescrStatoBeolo(rp.getStato_beolo())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=rp.getStato()==-1?"-":StatoRichiestaPorting.getStatoDescr(rp.getStato())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=DateUtils.toItalianString(rp.getData_cut_over())%></font></td>
|
||||
<td class= 'tdGiallo' align= 'center'><font class = 'normaleTab'><%=DateUtils.toItalianString(rp.getData_cut_over())%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -0,0 +1,120 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowEsitoAnnullamentoRichieste
|
||||
</title>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.filter.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.AnnullamentoRichiesteResult" />
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br><br>
|
||||
<b><i><P class = "titolo">ESITI ANNULLAMENTO FORZATO RICHIESTE DBC</P></i></b>
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'annullaForm' method= 'post' action = '/mnp/jsp/Presentazione.jsp'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Esito annullamento delle richieste: </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP DONOR</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP RECIPIENT</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>TT</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA ANNULLAMENTO</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
InfoAnnullamentoRichieste[] rics = resultBean.getRichieste();
|
||||
for (int i = 0; i < rics.length; i++) {
|
||||
|
||||
String warnColor = null;
|
||||
String stato = rics[i].getStato_da_descr()==null?" ":rics[i].getStato_da_descr();
|
||||
String msisdn = rics[i].getMsisdn()==null?" ":rics[i].getMsisdn();
|
||||
String id = rics[i].getId_richiesta()==null?" ":rics[i].getId_richiesta();
|
||||
String donor = rics[i].getCodiceOperatoreDonor()==null?" ":rics[i].getCodiceOperatoreDonor();
|
||||
String recipient = rics[i].getCodiceOperatoreRecipient()==null?" ":rics[i].getCodiceOperatoreRecipient();
|
||||
String data = rics[i].getData_annullamento()==null?" ":""+DateUtils.toStringHour(rics[i].getData_annullamento());
|
||||
String tt = rics[i].getTt()==null?" ":rics[i].getTt();
|
||||
String sProcesso = "";
|
||||
String sMsisdn_specifico = "";
|
||||
|
||||
if(rics[i].getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_CESS_PORTING)){
|
||||
sProcesso = ProcessMapper.proc_CESS_PORTING_Name;
|
||||
sMsisdn_specifico = "msisdnCP";
|
||||
}else if(rics[i].getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_RECIPIENT)){
|
||||
sProcesso = ProcessMapper.proc_RECIPIENT_Name;
|
||||
sMsisdn_specifico = "msisdnR";
|
||||
}
|
||||
|
||||
|
||||
if(rics[i].getEsito().equalsIgnoreCase(GUIMapper.ANNULL_ESITO_OK)) warnColor = "tdVerde";
|
||||
else
|
||||
warnColor = "tdRosso";
|
||||
%>
|
||||
<tr>
|
||||
<%if((rics[i].getWarning().equalsIgnoreCase(GUIMapper.ID_RICH_NOT_EXISTS)) || (rics[i].getWarning().equalsIgnoreCase(GUIMapper.NO_ANNULL)) ){%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=id%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=msisdn%></font></td>
|
||||
<%}else{%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=id%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=msisdn%></font></td>
|
||||
<%}%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=stato%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=donor%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=recipient%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=tt%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getEsito()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=data%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<P class="alert" align = "left">
|
||||
Attenzione: le richieste annullate saranno visualizzate nello stato ANNULLATA_FORZATA solo dopo il prossimo refresh dei dati.
|
||||
</P>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="OK" value=" OK "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
106
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ShowEsitoBloccaSblocca.jsp
Normal file
@@ -0,0 +1,106 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowEsitoBloccaSblocca
|
||||
</title>
|
||||
|
||||
</head>
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.result.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ModificaRichiesteResult" />
|
||||
|
||||
<%
|
||||
ModificaRichiesteResult modRicRe = resultBean;
|
||||
String warnColor = null;
|
||||
if (modRicRe!= null){
|
||||
warnColor = modRicRe.getEsito().equalsIgnoreCase("OK")?"tdVerde":"tdRosso";
|
||||
String titolo = "ESITO BLOCCA / SBLOCCA RICHIESTA";
|
||||
if (modRicRe.getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_RECIPIENT))
|
||||
titolo = titolo + " RECIPIENT";
|
||||
else
|
||||
titolo = titolo + " DONOR";
|
||||
%>
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br><br>
|
||||
<b><i><P class = "titolo"> <%=titolo%> </P></i></b>
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'annullaForm' method= 'post' action = '<%=CommandsDef.SHOW_CONSOLE_DO%>'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Esito blocca / sblocca richiesta: </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>TT</font></td>
|
||||
<%if(modRicRe.getStato().equalsIgnoreCase(StatoRichiesta.getStatoDescr(StatoRichiesta.BLOCCATA))){%>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA SBLOCCO</font></td>
|
||||
<%}%>
|
||||
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getStato()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getTT()%></font></td>
|
||||
<%if(modRicRe.getStato().equalsIgnoreCase(StatoRichiesta.getStatoDescr(StatoRichiesta.BLOCCATA)))
|
||||
{ String data_sblocco = modRicRe.getData_sblocco().equals("")?" ":modRicRe.getData_sblocco();
|
||||
%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=data_sblocco%></font></td>
|
||||
<%}%>
|
||||
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getEsito()%></font></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<%
|
||||
if (modRicRe.getEsito().equalsIgnoreCase("OK")) {
|
||||
String varTipo = "<b>sbloccata</b>";
|
||||
if(modRicRe.getStato().equalsIgnoreCase(StatoRichiesta.getStatoDescr(StatoRichiesta.BLOCCATA))){
|
||||
varTipo = "<b>bloccata</b>";
|
||||
|
||||
}%>
|
||||
|
||||
<P class="alert" align = "left">
|
||||
Attenzione: la richiesta risulterà <%=varTipo%> solo dopo il prossimo refresh dei dati.
|
||||
</P>
|
||||
<%}%>
|
||||
<%}//chiude _if iniziale%>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="OK" value=" OK "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
@@ -0,0 +1,103 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowEsitoBloccaSbloccaRec
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#ffffff">
|
||||
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.result.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*, mnp.command.BloccoSbloccoRecipient"%>
|
||||
|
||||
<jsp:useBean id="returnBean" scope="request" class="java.util.ArrayList" />
|
||||
|
||||
<%
|
||||
int op_type = ((Integer)request.getAttribute("op_type")).intValue();
|
||||
%>
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br><br>
|
||||
<b><i><P class = "titolo"> ESITO BLOCCA / SBLOCCA RICHIESTE RECIPIENT </P></i></b>
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'showEsitoForm' method= 'post' action = '<%=CommandsDef.SHOW_CONSOLE_DO%>'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Esito blocca / sblocca richieste: </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>TT</font></td>
|
||||
<%if(op_type == BloccoSbloccoRecipient.OP_BLOCCO){%>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA SBLOCCO</font></td>
|
||||
<%}%>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
||||
</tr>
|
||||
<%
|
||||
List result = returnBean;
|
||||
Iterator iter = result.listIterator();
|
||||
ModificaRichiesteResult modRicRe;
|
||||
String warnColor;
|
||||
int iStato = -1;
|
||||
while (iter.hasNext()) {
|
||||
modRicRe = (ModificaRichiesteResult)iter.next();
|
||||
warnColor = modRicRe.getEsito().equalsIgnoreCase("OK")?"tdVerde":"tdRosso";
|
||||
iStato = Integer.parseInt(modRicRe.getStato());
|
||||
%>
|
||||
<tr>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=StatoRichiestaRec.getStatoDescr(iStato)%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getTT()%></font></td>
|
||||
<%if(op_type == BloccoSbloccoRecipient.OP_BLOCCO)
|
||||
{ String data_sblocco = modRicRe.getData_sblocco().equals("")?" ":modRicRe.getData_sblocco();
|
||||
%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=data_sblocco%></font></td>
|
||||
<%}%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getEsito()%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
</table>
|
||||
|
||||
<%
|
||||
String varTipo = "<b>sbloccate</b>";
|
||||
if (op_type == BloccoSbloccoRecipient.OP_BLOCCO)
|
||||
varTipo = "<b>bloccate</b>";
|
||||
%>
|
||||
|
||||
<P class="alert" align = "left">
|
||||
Attenzione: le richieste con esito positivo risulteranno <%=varTipo%> solo dopo il prossimo refresh dei dati.
|
||||
</P>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="OK" value=" OK "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,84 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowEsitoDettaglioDONOR
|
||||
</title>
|
||||
|
||||
</head>
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.result.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ModificaRichiesteResult" />
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br><br>
|
||||
<b><i><P class = "titolo">ESITO MODIFICA DETTAGLIO DONOR</P></i></b>
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'annullaForm' method= 'post' action = '<%=CommandsDef.SHOW_CONSOLE_DO%>'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Esito modifica della richieste: </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>SIST.COMP</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>TIPO_CONTRATTO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>COD. A/D</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
ModificaRichiesteResult modRicRe = resultBean;
|
||||
String warnColor = null;
|
||||
if (modRicRe!= null){
|
||||
warnColor = modRicRe.getEsito().equalsIgnoreCase("OK")?"tdVerde":"tdRosso";
|
||||
%>
|
||||
<tr>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getSist_comp()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getCod_pre_post()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getCod_analogico_digit()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getEsito()%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<P class="alert" align = "left">
|
||||
Attenzione: le richieste risulteranno modificate solo dopo il prossimo refresh dei dati.
|
||||
</P>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="OK" value=" OK "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowEsitoDettaglioRECIPIENT
|
||||
</title>
|
||||
|
||||
</head>
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.result.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ModificaRichiesteResult" />
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br><br>
|
||||
<b><i><P class = "titolo">ESITO MODIFICA DETTAGLIO SCIVOLO TACS</P></i></b>
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'annullaForm' method= 'post' action = '<%=CommandsDef.SHOW_CONSOLE_DO%>'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Esito modifica della richieste: </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA CUT OVER CALC</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA CUT OVER</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA VAL.MAX</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>TT</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
||||
</tr>
|
||||
<%
|
||||
ModificaRichiesteResult modRicRe = resultBean;
|
||||
String warnColor = null;
|
||||
if (modRicRe!= null){
|
||||
warnColor = modRicRe.getEsito().equalsIgnoreCase("OK")?"tdVerde":"tdRosso";
|
||||
%>
|
||||
<tr>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getData_cut_over_calc()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getData_cut_over_calc()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getData_val_max()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getTT()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getEsito()%></font></td>
|
||||
</tr>
|
||||
|
||||
<%}%>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<P class="alert" align = "left">
|
||||
Attenzione: le richieste risulteranno modificate solo dopo il prossimo refresh dei dati.
|
||||
</P>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="OK" value=" OK "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
@@ -0,0 +1,127 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowEsitoSimulazioneRichieste
|
||||
</title>
|
||||
</head>
|
||||
|
||||
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.filter.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.SimulazioneMSSRichiesteResult" />
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">ESITI SIMULAZIONE MSS</P></i></b>
|
||||
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'simulaForm' method= 'post' action = '/mnp/jsp/Presentazione.jsp'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Esito delle richieste per simulazione da MSS: </font></p>
|
||||
|
||||
<%
|
||||
InfoSimulazioneRichieste[] rics = resultBean.getRichieste();
|
||||
String tipoProcesso = resultBean.getTipoProcesso();
|
||||
String processTarget = "";
|
||||
|
||||
if(tipoProcesso.equalsIgnoreCase(ProcessMapper.proc_DONOR))
|
||||
processTarget = ProcessMapper.proc_DONOR_Name;
|
||||
else if(tipoProcesso.equalsIgnoreCase(ProcessMapper.proc_RECIPIENT))
|
||||
processTarget = ProcessMapper.proc_RECIPIENT_Name;
|
||||
else if(tipoProcesso.equalsIgnoreCase(ProcessMapper.proc_CESS))
|
||||
processTarget = ProcessMapper.proc_CESS_Name; %>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>NUMERAZIONE</font></td>
|
||||
<% if (processTarget.equals(ProcessMapper.proc_DONOR_Name)) { %>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ADDIZIONALE</font></td>
|
||||
<% } %>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP DONOR</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP RECIPIENT</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<% for (int i = 0; i < rics.length; i++) {
|
||||
String warnColor = null;
|
||||
String msisdn = rics[i].getMsisdn()==null?" ":rics[i].getMsisdn();
|
||||
String donor = rics[i].getCodiceOperatoreDonor()== null?" ":rics[i].getCodiceOperatoreDonor();
|
||||
String recipient = rics[i].getCodiceOperatoreRecipient()== null?" ":rics[i].getCodiceOperatoreRecipient();
|
||||
|
||||
if(rics[i].getEsito().equalsIgnoreCase(GUIMapper.MSS_ESITO_RECIPIENT_OK) ||
|
||||
rics[i].getEsito().equalsIgnoreCase(GUIMapper.MSS_ESITO_DONOR_OK) ||
|
||||
rics[i].getEsito().equalsIgnoreCase(GUIMapper.MSS_ESITO_CESSAZIONE_OK))
|
||||
warnColor = "tdVerde";
|
||||
else
|
||||
warnColor = "tdRosso";
|
||||
%>
|
||||
<tr>
|
||||
<%if(warnColor.equalsIgnoreCase("tdRosso")){%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=msisdn%></font></td>
|
||||
<% if (processTarget.equals(ProcessMapper.proc_DONOR_Name)) {
|
||||
if (rics[i].getAddizionale()==1){ %>
|
||||
<td class= '<%=warnColor%>' align='center'> <input name="html" type="checkbox" name="addizionale" disabled="disabled"//>
|
||||
<% } else { %>
|
||||
<td class= '<%=warnColor%>' align='center'> <input name="html" type="checkbox" name="addizionale" checked="checked" disabled="disabled"//>
|
||||
<% }%>
|
||||
<% }%>
|
||||
<%}else{%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=msisdn%></font></td>
|
||||
<% if (processTarget.equals(ProcessMapper.proc_DONOR_Name)) {
|
||||
if (rics[i].getAddizionale()==1){ %>
|
||||
<td class= '<%=warnColor%>' align='center'> <input name="html" type="checkbox" name="addizionale" disabled="disabled"//>
|
||||
<% } else { %>
|
||||
<td class= '<%=warnColor%>' align='center'> <input name="html" type="checkbox" name="addizionale" checked="checked" disabled="disabled"//>
|
||||
<% }%>
|
||||
<% }%>
|
||||
<%}%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=donor%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=recipient%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getEsito()%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
|
||||
<P class="alert" align = "left">
|
||||
Attenzione: le richieste simulate saranno visualizzate nel nuovo stato solo dopo il prossimo refresh dei dati.
|
||||
</P>
|
||||
|
||||
|
||||
</table>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="OK" value=" OK "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
41
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ShowFileXMLWindow.jsp
Normal file
@@ -0,0 +1,41 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowFileXMLWindow
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.xml.parser.FileXML" />
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
||||
<body>
|
||||
<!--
|
||||
Nuova Finestra contenente il file XML
|
||||
-->
|
||||
|
||||
|
||||
<%
|
||||
String sNomeFile = resultBean.getFileName().getNomeFile();
|
||||
String sFile = resultBean.getXML();
|
||||
%>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<p align='left'>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>File XML :  <%=sNomeFile%> </font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align= 'center' ><textarea readonly cols = 90 rows = 25><%=sFile%></textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "button" NAME= "btnGenera" VALUE= " CHIUDI " onClick='javascript:window.close()'></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</form>
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,343 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowFiltroRicercaRichiesteCessPorting
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.command.CommandsDef,mnp.objects.*"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.filter.FiltroRichiestaCessPorting" />
|
||||
|
||||
|
||||
<%if(request.getParameter("btnFilter")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*"/>
|
||||
<jsp:forward page="/ShowFiltroRicercaRichiesteCessPorting.do"/>
|
||||
<%}
|
||||
String sPathImgCopia = Res.ApplContext+"/images/copia.gif";
|
||||
String msisdn = "";
|
||||
|
||||
if(resultBean != null){
|
||||
if( (resultBean.getMsisdn() != null) && (!resultBean.getMsisdn().equals("")) ){
|
||||
msisdn = resultBean.getMsisdn()[0];
|
||||
}
|
||||
}
|
||||
%>
|
||||
|
||||
<!--
|
||||
Le combo box vengono valorizzate dal comando ShowFiltroRicercaRichieste.java
|
||||
-->
|
||||
|
||||
<body onLoad ="controllaChkCessazionePorting();">
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo" align = 'left'>FILTRO PER LA RICERCA DELLE RICHIESTE CESSAZIONE VOLONTARIA</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmFormCessPort" method="post" OnSubmit = 'return checkCampiCessPorting(this);' action = "<%=Res.ApplContext+CommandsDef.getJSPPageByCommandName(CommandsDef.SHOW_RIC_CESS_PORING_FILTER_DO)%>">
|
||||
<table width = '100%' border = '1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' colspan = '4' width='5%'><font class = 'normaleTab'>Tipo Processo</font></td>
|
||||
<td class= 'tdGiallo' colspan = '17'><select name = 'tipo_processo' onChange = 'javascript:document.frmFormCessPort.action="<%=CommandsDef.SHOW_RIC_FILTER_DO%>";document.frmFormCessPort.submit();'>
|
||||
<option value = '*' >TUTTI</option>
|
||||
<option value = '<%=ProcessMapper.proc_DONOR_Name%>'> DONOR</option>
|
||||
<option value = '<%=ProcessMapper.proc_RECIPIENT_Name%>' >RECIPIENT</option>
|
||||
<option value = '<%=ProcessMapper.proc_CESS_Name%>' >CESSAZIONE</option>
|
||||
<option selected value = '<%=ProcessMapper.proc_CESS_PORTING_Name%>'>CES.VOLONTARIA</option>
|
||||
<option value = '<%=ProcessMapper.proc_PORTING_IN_Name%>'>TERZA PARTE</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr><td class = 'tdBianco' colspan = '23'> </td></tr>
|
||||
<!-- tabella dei filtri comuni 5 righe fisse!! -->
|
||||
<!-- INTESTAZIONE -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste' width='5%' colspan = '4' ><font class = 'normaleTab'>Profondità Ricerca</font></td>
|
||||
<td class = 'tdGiallo' colspan = '9' align = 'left' nowrap>
|
||||
<select name= 'tipoRicerca' onchange='checkSearchType(this)'>
|
||||
<option selected value = '<%=GUIMapper.PROFONDITA_PARZIALE %>'>ON LINE</option>
|
||||
<option value = '<%=GUIMapper.PROFONDITA_STORICO %>'>STORICO</option>
|
||||
<option value = '<%=GUIMapper.PROFONDITA_COMPLETA %>'>TOTALE</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>  </font></td>
|
||||
<td class = 'tdCeleste' style='cursor:hand'><font class = 'normaleTab'><a title="Copia la riga di filtro selezionata nella riga successiva">Copia</a></font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Abilitato</font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Id Rich.</font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class = 'tdCeleste' colspan = 2><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<td class = 'tdCeleste' colspan = 2><font class = 'normaleTab'>Data Cut Over </font></td>
|
||||
</tr>
|
||||
<!-- FILTRO 1 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>  </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessPorting(0)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessPorting(0);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled value = '<%=msisdn%>'</td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)' ></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 2 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessPorting(1)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessPorting(1);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 3 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessPorting(2)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessPorting(2);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 4 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessPorting(3)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessPorting(3);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 5 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessPorting(4)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessPorting(4);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 6 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessPorting(5)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessPorting(5);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled </td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)' ></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 7 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessPorting(6)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessPorting(6);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled </td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)' ></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 8 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessPorting(7)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessPorting(7);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled </td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)' ></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 9 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessPorting(8)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessPorting(8);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled </td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)' ></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 10 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'> </td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessPorting(9);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)' ></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FINE FILTRI -->
|
||||
</table>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD width = '50%' ALIGN= "right"><INPUT TYPE= "submit" NAME= "btnFilter" VALUE= " FILTRA "></TD>
|
||||
<TD width = '50%' ALIGN= "left"><INPUT TYPE= "reset" NAME= "btnFilter" VALUE= "SVUOTA FILTRI" onClick="javascript:document.forms[0].reset();"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,417 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowFiltroRicercaRichiesteCessazione
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.command.CommandsDef,mnp.objects.*"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.filter.FiltroRichiestaCessazione" />
|
||||
|
||||
|
||||
<%if(request.getParameter("btnFilter")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*"/>
|
||||
<jsp:forward page="/ShowFiltroRicercaRichiesteCessazione.do"/>
|
||||
<%}%>
|
||||
|
||||
<!--
|
||||
Le combo box vengono valorizzate dal comando ShowFiltroRicercaRichieste.java
|
||||
-->
|
||||
|
||||
<%
|
||||
String[] aOperatoriRec = null;
|
||||
String msisdn = "";
|
||||
|
||||
if(resultBean != null){
|
||||
aOperatoriRec = resultBean.getCodice_operatore_recipient();
|
||||
if( (resultBean.getMsisdn() != null) && (!resultBean.getMsisdn().equals("")) ){
|
||||
msisdn = resultBean.getMsisdn()[0];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
String sPathImgCopia = Res.ApplContext+"/images/copia.gif";
|
||||
%>
|
||||
|
||||
<body onLoad ="controllaChkCessazione();">
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo" align = 'left'>FILTRO PER LA RICERCA DELLE RICHIESTE CESSAZIONE</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmFormCess" method="post" onSubmit = 'return checkCampiCessazione(this);' action = "<%=Res.ApplContext+CommandsDef.getJSPPageByCommandName(CommandsDef.SHOW_RIC_CESSAZIONE_FILTER_DO)%>">
|
||||
<table width = '100%' border = '1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' colspan = '5' width='5%'><font class = 'normaleTab'>Tipo Processo</font></td>
|
||||
<td class= 'tdGiallo' colspan = '18'><select name = 'tipo_processo' onChange = 'javascript:document.frmFormCess.action="<%=CommandsDef.SHOW_RIC_FILTER_DO%>";document.frmFormCess.submit();'>
|
||||
<option value = '*' >TUTTI</option>
|
||||
<option value = '<%=ProcessMapper.proc_DONOR_Name%>'> DONOR</option>
|
||||
<option value = '<%=ProcessMapper.proc_RECIPIENT_Name%>' >RECIPIENT</option>
|
||||
<option selected value = '<%=ProcessMapper.proc_CESS_Name%>' >CESSAZIONE</option>
|
||||
<option value = '<%=ProcessMapper.proc_CESS_PORTING_Name%>'>CES.VOLONTARIA</option>
|
||||
<option value = '<%=ProcessMapper.proc_PORTING_IN_Name%>'>TERZA PARTE</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr><td class = 'tdBianco' colspan = '23'> </td></tr>
|
||||
<!-- tabella dei filtri comuni 5 righe fisse!! -->
|
||||
<!-- INTESTAZIONE -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste' width='5%' colspan = '5' ><font class = 'normaleTab'>Profondità Ricerca</font></td>
|
||||
<td class = 'tdGiallo' colspan = '9' align = 'left' nowrap>
|
||||
<select name= 'tipoRicerca' onchange='checkSearchType(this)'>
|
||||
<option selected value = '<%=GUIMapper.PROFONDITA_PARZIALE %>'>ON LINE</option>
|
||||
<option value = '<%=GUIMapper.PROFONDITA_STORICO %>'>STORICO</option>
|
||||
<option value = '<%=GUIMapper.PROFONDITA_COMPLETA %>'>TOTALE</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Vecchio OLO</font></td>
|
||||
<td class = 'tdGiallo' colspan = '23' align = 'left' nowrap><input type = 'checkbox' name ='beolo' value = 'true'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>  </font></td>
|
||||
<td class = 'tdCeleste' style='cursor:hand'><font class = 'normaleTab'><a title="Copia la riga di filtro selezionata nella riga successiva">Copia</a></font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Abilitato</font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Id Rich.</font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Op.Recipient</font></td>
|
||||
<td class = 'tdCeleste' colspan = 2><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<td class = 'tdCeleste' colspan = 2><font class = 'normaleTab'>Data Cut Over </font></td>
|
||||
</tr>
|
||||
|
||||
<!-- FILTRO 1 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>  </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessazione(0)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessazione(0);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled value = '<%=msisdn%>' ></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 2 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessazione(1)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessazione(1);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 3 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessazione(2)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessazione(2);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 4 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessazione(3)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessazione(3);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 5 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessazione(4)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessazione(4);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 6 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessazione(5)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessazione(5);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 7 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessazione(6)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessazione(6);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 8 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessazione(7)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessazione(7);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 9 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoCessazione(8)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessazione(8);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 10 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'> </td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowCessazione(9);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FINE FILTRI -->
|
||||
</table>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD width = '50%' ALIGN= "right"><INPUT TYPE= "submit" NAME= "btnFilter" VALUE= " FILTRA "></TD>
|
||||
<TD width = '50%' ALIGN= "left"><INPUT TYPE= "reset" NAME= "btnFilter" VALUE= "SVUOTA FILTRI" onClick="javascript:document.forms[0].reset();"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,348 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowFiltroRicercaRichiesteComune
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<!--
|
||||
Pagina che contiene i filtri comuni a tutti i Processi.
|
||||
-->
|
||||
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.command.CommandsDef,mnp.objects.*"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.filter.FiltroRichiesta" />
|
||||
|
||||
|
||||
<%if(request.getParameter("btnFilter")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*"/>
|
||||
<jsp:forward page="/ShowFiltroRicercaRichiesteComune.do"/>
|
||||
<%}%>
|
||||
|
||||
|
||||
<%String sPathImgCopia =Res.ApplContext+ "/images/copia.gif";%>
|
||||
|
||||
<body onLoad ="controllaChkComune();">
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo" align = 'left'>FILTRO PER LA RICERCA DELLE RICHIESTE</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmFormComune" method="post" onSubmit= 'return checkCampiComune(this);' action = "<%=Res.ApplContext%><%=CommandsDef.getJSPPageByCommandName(CommandsDef.SHOW_RIC_COMMON_FILTER_DO)%>">
|
||||
<table width = '100%' border = '1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' colspan = '5' width='5%'><font class = 'normaleTab'>Tipo Processo</font></td>
|
||||
<td class= 'tdGiallo' colspan = '5'><select name = 'tipo_processo' onChange = 'javascript:document.frmFormComune.action="<%=CommandsDef.SHOW_RIC_FILTER_DO%>";document.frmFormComune.submit();'>
|
||||
<option selected value = '*' >TUTTI</option>
|
||||
<option value = '<%=ProcessMapper.proc_DONOR_Name%>'> DONOR</option>
|
||||
<option value = '<%=ProcessMapper.proc_RECIPIENT_Name%>' >RECIPIENT</option>
|
||||
<option value = '<%=ProcessMapper.proc_CESS_Name%>' >CESSAZIONE</option>
|
||||
<option value = '<%=ProcessMapper.proc_CESS_PORTING_Name%>'>CES.VOLONTARIA</option>
|
||||
<option value = '<%=ProcessMapper.proc_PORTING_IN_Name%>'>TERZA PARTE</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr><td class = 'tdBianco' colspan = '10'> </td></tr>
|
||||
<!-- tabella dei filtri comuni 5 righe fisse!! -->
|
||||
<!-- INTESTAZIONE -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste' width='5%' colspan = '5' ><font class = 'normaleTab'>Profondità Ricerca</font></td>
|
||||
<td class = 'tdGiallo' colspan = '9' align = 'left' nowrap>
|
||||
<select name= 'tipoRicerca' onchange='checkSearchType(this)'>
|
||||
<option selected value = '<%=GUIMapper.PROFONDITA_PARZIALE %>'>ON LINE</option>
|
||||
<option value = '<%=GUIMapper.PROFONDITA_STORICO %>'>STORICO</option>
|
||||
<option value = '<%=GUIMapper.PROFONDITA_COMPLETA %>'>TOTALE</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Vecchio OLO</font></td>
|
||||
<td class = 'tdGiallo' colspan = '23' align = 'left' nowrap><input type = 'checkbox' name ='beolo' value = 'true'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'> </td>
|
||||
<td class = 'tdCeleste' style='cursor:hand'><font class = 'normaleTab'><a title="Copia la riga di filtro selezionata nella riga successiva">Copia</a></font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Abilitato</font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Id Richiesta</font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class = 'tdCeleste' colspan = 2><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<td class = 'tdCeleste' colspan = 2><font class = 'normaleTab'>Data Cut Over </font></td>
|
||||
</tr>
|
||||
<!-- FILTRO 1 -->
|
||||
<tr>
|
||||
<!--<td class = 'tdCeleste'><input type = 'button' name = '1' value = 'Copia' onClick = 'copiaSotto(this);' ></td>-->
|
||||
<td class = 'tdCeleste'> </td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoComune(0)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowComune(0)' ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' onBlur ='checkData(this,this.value)' disabled></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled>
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' onBlur ='checkData(this,this.value)' disabled></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 2 -->
|
||||
<tr>
|
||||
<!--<td class = 'tdCeleste'><input type = 'button' name = '2' value = 'Copia' ></td>-->
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoComune(1)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowComune(1)' ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' id = 2 disabled></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' id = 2 disabled></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' id = 2 onBlur ='checkData(this,this.value)' disabled></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled>
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' id = 2 onBlur ='checkData(this,this.value)' disabled></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled>
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 3 -->
|
||||
<tr>
|
||||
<!--<td class = 'tdCeleste'><input type = 'button' name = '3' value = 'Copia' ></td>-->
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste'align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoComune(2)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowComune(2)' ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' id = 3 disabled></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' onBlur ='checkData(this,this.value)' disabled></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled>
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' onBlur ='checkData(this,this.value)' disabled></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled>
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 4 -->
|
||||
<tr>
|
||||
<!--<td class = 'tdCeleste'><input type = 'button' name = '4' value = 'Copia' ></td>-->
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoComune(3)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowComune(3)' ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' onBlur ='checkData(this,this.value);' disabled></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled>
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 5 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoComune(4)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowComune(4)' ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 6 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoComune(5)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowComune(5)' ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 7 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoComune(6)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowComune(6)' ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 8 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoComune(7)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowComune(7)' ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 9 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoComune(8)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowComune(8)' ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled>
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 10 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'> </td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowComune(9)' ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled>
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled>
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FINE FILTRI -->
|
||||
</table>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD width = '50%' ALIGN= "right"><INPUT TYPE= "submit" NAME= "btnFilter" VALUE= " FILTRA "></TD>
|
||||
<TD width = '50%' ALIGN= "left"><INPUT TYPE= "reset" NAME= "btnFilter" VALUE= "SVUOTA FILTRI" onClick="javascript:document.forms[0].reset();"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
||||
</FORM>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,486 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowFiltroRicercaRichiesteTerzeParti
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.command.CommandsDef,mnp.objects.*"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.filter.FiltroRichiestaTerzaParte" />
|
||||
|
||||
|
||||
|
||||
<%if(request.getParameter("btnFilter")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*"/>
|
||||
<jsp:forward page="/ShowFiltroRicercaRichiesteTerzeParti.do"/>
|
||||
<%}%>
|
||||
|
||||
<%String sPathImgCopia = Res.ApplContext+"/images/copia.gif";%>
|
||||
<!--
|
||||
Le combo box vengono valorizzate dal comando ShowFiltroRicercaRichieste.java
|
||||
-->
|
||||
|
||||
|
||||
<body onLoad ="controllaChkTerzeParti();">
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<%
|
||||
///////////////////////////////////////////
|
||||
//DICHIARAZIONE SIZE DEI CAMPI DI TESTO///
|
||||
/////////////////////////////////////////
|
||||
|
||||
String sOTSize = "2";
|
||||
String sMsisdnSize = "13";
|
||||
String sCodGruppoSize = "12";
|
||||
|
||||
String[] aOperatoriDon = null;
|
||||
String[] aOperatoriRec = null;
|
||||
String msisdn = "";
|
||||
if(resultBean != null){
|
||||
aOperatoriDon = resultBean.getCodice_operatore_donating();
|
||||
aOperatoriRec = resultBean.getCodice_operatore_recipient();
|
||||
if( (resultBean.getMsisdn() != null) && (!resultBean.getMsisdn().equals("")) ){
|
||||
msisdn = resultBean.getMsisdn()[0];
|
||||
}
|
||||
}
|
||||
%>
|
||||
|
||||
<b><i><P class = "titolo" align = 'left'>FILTRO PER LA RICERCA DELLE RICHIESTE TERZA PARTE</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmFormTP" method="post" onSubmit = 'return checkCampiTerzeParti(this);' action = "<%=Res.ApplContext+CommandsDef.getJSPPageByCommandName(CommandsDef.SHOW_RIC_PORTING_FILTER_DO)%>">
|
||||
<table width = '100%' border = '1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' colspan = '4'width='5%' ><font class = 'normaleTab'>Tipo Processo</font></td>
|
||||
<td class= 'tdGiallo' colspan = '17'><select name = 'tipo_processo' onChange = 'javascript:document.frmFormTP.action="<%=CommandsDef.SHOW_RIC_FILTER_DO%>";document.frmFormTP.submit();'>
|
||||
<option value = '*' >TUTTI</option>
|
||||
<option value = '<%=ProcessMapper.proc_DONOR_Name%>' >DONOR</option>
|
||||
<option value = '<%=ProcessMapper.proc_RECIPIENT_Name%>' >RECIPIENT</option>
|
||||
<option value = '<%=ProcessMapper.proc_CESS_Name%>' >CESSAZIONE</option>
|
||||
<option value = '<%=ProcessMapper.proc_CESS_PORTING_Name%>'>CES.VOLONTARIA</option>
|
||||
<option value = '<%=ProcessMapper.proc_PORTING_IN_Name%>' selected>TERZA PARTE</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr><td class = 'tdBianco' colspan = '21'> </td></tr>
|
||||
<!-- tabella dei filtri comuni 5 righe fisse!! -->
|
||||
<!-- INTESTAZIONE -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste' width='5%' colspan = '4' ><font class = 'normaleTab'>Profondità Ricerca</font></td>
|
||||
<td class = 'tdGiallo' colspan = '9' align = 'left' nowrap>
|
||||
<select name= 'tipoRicerca' onchange='checkSearchType(this)'>
|
||||
<option selected value = '<%=GUIMapper.PROFONDITA_PARZIALE %>'>ON LINE</option>
|
||||
<option value = '<%=GUIMapper.PROFONDITA_STORICO %>'>STORICO</option>
|
||||
<option value = '<%=GUIMapper.PROFONDITA_COMPLETA %>'>TOTALE</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Vecchio OLO</font></td>
|
||||
<td class = 'tdGiallo' colspan = '23' align = 'left' nowrap><input type = 'checkbox' name ='beolo' value = 'true'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>  </font></td>
|
||||
<td class = 'tdCeleste' style='cursor:hand'><font class = 'normaleTab'><a title="Copia la riga di filtro selezionata nella riga successiva">Copia</a></font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Abilitato</font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Id Rich.</font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Op.Donor</font></td>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>Op.Recipient</font></td>
|
||||
<td class = 'tdCeleste' colspan = 2><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<td class = 'tdCeleste' colspan = 2><font class = 'normaleTab'>Data Cut Over </font></td>
|
||||
</tr>
|
||||
|
||||
<!-- FILTRO 1 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>  </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoTerzaParte(0)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowTerzeParti(0);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled value='<%=msisdn%>' size = '<%=sMsisdnSize%>'></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_donating' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriDon.length; i++) {%>
|
||||
<option value = '<%=aOperatoriDon[i]%>'><%=aOperatoriDon[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 2 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoTerzaParte(1)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowTerzeParti(1);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled size = '<%=sMsisdnSize%>'></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_donating' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriDon.length; i++) {%>
|
||||
<option value = '<%=aOperatoriDon[i]%>'><%=aOperatoriDon[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 3 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoTerzaParte(2)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowTerzeParti(2);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled size = '<%=sMsisdnSize%>'></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_donating' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriDon.length; i++) {%>
|
||||
<option value = '<%=aOperatoriDon[i]%>'><%=aOperatoriDon[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 4 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoTerzaParte(3)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowTerzeParti(3);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled size = '<%=sMsisdnSize%>'></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_donating' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriDon.length; i++) {%>
|
||||
<option value = '<%=aOperatoriDon[i]%>'><%=aOperatoriDon[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 5 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR </font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoTerzaParte(4)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowTerzeParti(4);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled size = '<%=sMsisdnSize%>'></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_donating' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriDon.length; i++) {%>
|
||||
<option value = '<%=aOperatoriDon[i]%>'><%=aOperatoriDon[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 6 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoTerzaParte(5)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowTerzeParti(5);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled size = '<%=sMsisdnSize%>'></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_donating' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriDon.length; i++) {%>
|
||||
<option value = '<%=aOperatoriDon[i]%>'><%=aOperatoriDon[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 7 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoTerzaParte(6)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowTerzeParti(6);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled size = '<%=sMsisdnSize%>'></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_donating' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriDon.length; i++) {%>
|
||||
<option value = '<%=aOperatoriDon[i]%>'><%=aOperatoriDon[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 8 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoTerzaParte(7)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowTerzeParti(7);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled size = '<%=sMsisdnSize%>'></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_donating' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriDon.length; i++) {%>
|
||||
<option value = '<%=aOperatoriDon[i]%>'><%=aOperatoriDon[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 9 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'><img src='<%=sPathImgCopia%>' border=0 onClick = 'copiaSottoTerzaParte(8)'></td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowTerzeParti(8);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled size = '<%=sMsisdnSize%>'></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_donating' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriDon.length; i++) {%>
|
||||
<option value = '<%=aOperatoriDon[i]%>'><%=aOperatoriDon[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<!-- FILTRO 10 -->
|
||||
<tr>
|
||||
<td class = 'tdCeleste'><font class = 'normaleTab'>OR</font></td>
|
||||
<td class = 'tdCeleste' align = 'center'> </td>
|
||||
<td class = 'tdCeleste'><input type = 'checkbox' name ='abilitazione' value = '0' onClick = 'abilitaRowTerzeParti(9);'></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='id_richiesta' disabled ></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='msisdn' disabled size = '<%=sMsisdnSize%>'></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_donating' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriDon.length; i++) {%>
|
||||
<option value = '<%=aOperatoriDon[i]%>'><%=aOperatoriDon[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><select name ='codice_operatore_recipient' disabled >
|
||||
<option value = ''></option>
|
||||
<%for (int i = 0; i < aOperatoriRec.length; i++) {%>
|
||||
<option value = '<%=aOperatoriRec[i]%>'><%=aOperatoriRec[i]%></option>
|
||||
<%}%>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_ricezione_richiesta' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_ricezione_richiesta_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
<td class = 'tdGiallo'><input type = 'text' name ='data_cut_over' disabled onBlur ='checkData(this,this.value)'></td>
|
||||
<td class = 'tdGiallo'><select name = 'data_cut_over_clausola' disabled >
|
||||
<option value = '=' selected >=</option>
|
||||
<option value = '>' >></option>
|
||||
<option value = '>=' >>=</option>
|
||||
<option value = '<' ><</option>
|
||||
<option value = '<=' ><=</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<!-- FINE FILTRI -->
|
||||
</table>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD width = '50%' ALIGN= "right"><INPUT TYPE= "submit" NAME= "btnFilter" VALUE= " FILTRA "></TD>
|
||||
<TD width = '50%' ALIGN= "left"><INPUT TYPE= "reset" NAME= "btnFilter" VALUE= "SVUOTA FILTRI" onClick="javascript:document.forms[0].reset();"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
174
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ShowKPIView.jsp
Normal file
@@ -0,0 +1,174 @@
|
||||
<%@page import = "mnp.command.CommandsDef"%>
|
||||
<%@page import = "mnp.command.ShowKPIView,mnp.objects.result.MnpDwReportKpiResult"%>
|
||||
<%@page import = "mnp.utility.DateUtils,mnp.utility.ui.Res,java.util.ArrayList"%>
|
||||
<%@ page import="java.util.Iterator" %>
|
||||
<%@ page import="java.text.DecimalFormat" %>
|
||||
<%@ page import="java.text.DecimalFormatSymbols" %>
|
||||
<%
|
||||
ArrayList intervalloMesi = ShowKPIView.generaComboMesi();
|
||||
%>
|
||||
<html>
|
||||
<script>
|
||||
function checkRicercaReportKPI(frm) {
|
||||
if (frm.meseDa.value =='--' || frm.meseA.value == '--') {
|
||||
alert("Selezionare l'intervallo mensile");
|
||||
} else {
|
||||
document.getElementById("tipoOper").value="ricerca";
|
||||
document.frmForm.action="<%=CommandsDef.SHOW_KPI_VIEW%>";
|
||||
document.frmForm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function checkRigeneraReportKPI(frm) {
|
||||
if (frm.meseDa.value =='--' || frm.meseA.value == '--') {
|
||||
alert("Selezionare un mese");
|
||||
} else if (frm.meseDa.value != frm.meseA.value) {
|
||||
alert("E' possibile rigenerare solamente un mese alla volta. Selezionare un intervallo pari ad un mese");
|
||||
} else {
|
||||
document.getElementById("tipoOper").value="rigenera";
|
||||
document.frmForm.action="<%=CommandsDef.SHOW_KPI_VIEW%>";
|
||||
document.frmForm.submit();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<head>
|
||||
<title>
|
||||
Report KPI Controllo e Contrattuali
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="java.util.ArrayList" />
|
||||
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%">
|
||||
<img border=0 SRC="<%=Res.ApplContext%>/images/banner.gif"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td width="10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush="true"/>
|
||||
</td>
|
||||
<td align="right" valign="top" width="90%">
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">Report KPI Controllo e Contrattuali</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name="frmForm" method="post">
|
||||
<!----- tabella lista delle richieste cessazione volontaria ---->
|
||||
<input type='hidden' id='tipoOper' name='tipoOperazione' value="" />
|
||||
<p align='left'>
|
||||
|
||||
<!----- tabella pulsanti ---->
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td width='50%' align="right">
|
||||
Mese Da:
|
||||
<select name='meseDa'>
|
||||
<option value='--'>--</option>
|
||||
<%
|
||||
Iterator iterator = intervalloMesi.iterator();
|
||||
while (iterator.hasNext()) {
|
||||
String meseAnno = (String)iterator.next();
|
||||
%>
|
||||
<option value='<%=meseAnno%>'><%=meseAnno%></option>
|
||||
<% }
|
||||
%>
|
||||
</select>
|
||||
</td>
|
||||
<td width='50%' align="left">
|
||||
Mese A:
|
||||
<select name='meseA'>
|
||||
<option value='--'>--</option>
|
||||
<%
|
||||
iterator = intervalloMesi.iterator();
|
||||
while (iterator.hasNext()) {
|
||||
String meseAnno = (String)iterator.next();
|
||||
%>
|
||||
<option value='<%=meseAnno%>'><%=meseAnno%></option>
|
||||
<% }
|
||||
%>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='50%' align="right">
|
||||
<input type="button" name="btnRicerca" value=" RICERCA "
|
||||
onclick='checkRicercaReportKPI(document.frmForm)' />
|
||||
</td>
|
||||
<td width='50%' align="left" title="Nota: il flag invio mail viene considerato solamente per il RIGENERA.">
|
||||
<input type="button" name= "btnRigenera" value=" RIGENERA "
|
||||
onclick='checkRigeneraReportKPI(document.frmForm)' />
|
||||
Flag Invio mail: <input type = 'checkbox' id='flagInvioMail' name='flagInvioMail' value="true"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!----- tabella risultati ---->
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan='3'><font class = 'normaleTab'>KPI CONTROLLO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' colspan='3'><font class = 'normaleTab'>KPI CONTRATTUALI</font></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '10%'><font class = 'normaleTab'>Mese Competenza</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ATTESE</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OK_ALLE_12</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>PERC</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ATTESE</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OK_ALLE_12</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>PERC</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Timestamp elaborazione</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
DecimalFormatSymbols dfs = new DecimalFormatSymbols();
|
||||
dfs.setDecimalSeparator(',');
|
||||
DecimalFormat percFormatter = new DecimalFormat("####0.00", dfs);
|
||||
|
||||
MnpDwReportKpiResult record;
|
||||
int risultati = resultBean.size();
|
||||
if (risultati == 0) { %>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '8'><font class = 'normaleTab'>Nessun Risultato Presente</font></td>
|
||||
</tr>
|
||||
<% } else {
|
||||
Iterator iter = resultBean.iterator();
|
||||
|
||||
while (iter.hasNext()) {
|
||||
record = (MnpDwReportKpiResult)iter.next(); %>
|
||||
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=record.getMeseComp()%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=record.getNumRichAtteseControllo()%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=record.getNumRichOk12Controllo()%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=percFormatter.format(record.getPercControllo())%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=record.getNumRichAtteseContrattuali()%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=record.getNumRichOk12Contrattuali()%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=percFormatter.format(record.getPercContrattuali())%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=DateUtils.dateToString(record.getDataEsecuzione(), "dd/MM/yyyy HH:mm")%></font></td>
|
||||
</tr>
|
||||
<% } //chiude il while
|
||||
} // chiude l'else
|
||||
%>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,107 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ListaFileReinviabili
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*,mnp.objects.dao.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaFileReinviabili" />
|
||||
|
||||
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">Lista File Reinviabili</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella lista delle richieste cessazione volontaria ---->
|
||||
<input type = 'hidden' id = 'tipoOper' name = 'tipoOperazione' value = "" />
|
||||
<p align='left'>
|
||||
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD width = '50%' ALIGN= "center"><INPUT TYPE= "reset" NAME= "btnRefresh" VALUE= "RICARICA DATI" onclick='javascript:document.frmForm.action="<%=CommandsDef.SHOW_LISTA_FILE_NON_REINVIABILI_DO%>";document.frmForm.submit();'></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<table width = '50%' border='0' align="center">
|
||||
<% String[] esito = resultBean.getEsito();
|
||||
for (int i =0; i < esito.length; i++) {
|
||||
if (esito[i] != null && esito[i].indexOf("errore")>0) {%>
|
||||
<tr><td width='50%' class= 'tdBianco' align='center'><font class = 'fontAlert'><%=esito[i]%></font></td></tr>
|
||||
<%}
|
||||
}%>
|
||||
</table>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '20%'><font class = 'normaleTab'>Nodo GW</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>AOM Mittente</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Tipo File</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione sul GW</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Reinviabile</font></td>
|
||||
</tr>
|
||||
<% TreeSet d = null;
|
||||
|
||||
FileGWInfo fileinfo;
|
||||
d = resultBean.getListaFile();
|
||||
if(d == null || d.size() == 0){%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '5'><font class = 'normaleTab'>Nessun File Presente</font></td>
|
||||
</tr>
|
||||
<%}else{
|
||||
Iterator iter = d.iterator();
|
||||
|
||||
while (iter.hasNext()) {
|
||||
fileinfo = (FileGWInfo)iter.next();%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=fileinfo.getNodeGW()%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=fileinfo.getFilename().substring(0,4)%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=TipoFile.getDescr(Integer.parseInt(fileinfo.getTipofile()))%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=DateUtils.toStringHour(fileinfo.getData_ricezione())%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'>Non Reinviabile</font></td>
|
||||
</tr>
|
||||
<%} //chiude il for
|
||||
}%><!-- chiude l'else-->
|
||||
|
||||
</table>
|
||||
|
||||
</FORM>
|
||||
|
||||
<!-- CONTROLLO SE DEVO VISUALIZZARE I PULSANTI PER LA PAGINAZIONE -->
|
||||
<%if(resultBean.getPageInfo() != null){
|
||||
PageInfo p = resultBean.getPageInfo();
|
||||
int iRowPagina = -1;
|
||||
int iMaxRowXPage = -1;
|
||||
int iPaginaAttuale = p.getPage();
|
||||
if(d != null){
|
||||
iRowPagina = d.size();
|
||||
iMaxRowXPage = Params.getRow_per_page();
|
||||
if((iRowPagina >= iMaxRowXPage) || (iPaginaAttuale > 1)){%>
|
||||
<jsp:include page="/jsp/GUI/ButtonPage.jsp" flush = "true"/>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
114
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ShowListaFileReinviabili.jsp
Normal file
@@ -0,0 +1,114 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ListaFileReinviabili
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*,mnp.objects.dao.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaFileReinviabili" />
|
||||
|
||||
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">Lista File Reinviabili</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella lista delle richieste cessazione volontaria ---->
|
||||
<input type = 'hidden' id = 'tipoOper' name = 'tipoOperazione' value = "" />
|
||||
<p align='left'>
|
||||
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD width = '50%' ALIGN= "right"><INPUT TYPE= "submit" NAME= "btnForza" VALUE= " FORZA REINVIO " onclick='document.getElementById("tipoOper").value="reinvia";javascript:document.frmForm.action="<%=CommandsDef.SHOW_LISTA_FILE_REINVIABILI_DO%>";'></TD>
|
||||
<TD width = '50%' ALIGN= "left"><INPUT TYPE= "reset" NAME= "btnRefresh" VALUE= "RICARICA DATI" onclick='javascript:document.frmForm.action="<%=CommandsDef.SHOW_LISTA_FILE_REINVIABILI_DO%>";document.frmForm.submit();'></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<table width = '50%' border='0' align="center">
|
||||
<% String[] esito = resultBean.getEsito();
|
||||
String[] esitoForzatura = resultBean.getEsitoForzatura();
|
||||
for (int i =0; i < esito.length; i++) {
|
||||
if (esito[i] != null && esito[i].indexOf("errore")>0) {%>
|
||||
<tr><td width='50%' class= 'tdBianco' align='center'><font class = 'fontAlert'><%=esito[i]%></font></td></tr>
|
||||
<%}
|
||||
}
|
||||
for (int j =0; j < esitoForzatura.length; j++) {
|
||||
if (esitoForzatura[j] != null) {%>
|
||||
<tr><td width='50%' class= 'tdBianco' align='center'><font class = 'fontAlert'><%=esitoForzatura[j]%></font></td></tr>
|
||||
<%}
|
||||
}%>
|
||||
</table>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '20%'><font class = 'normaleTab'>Nodo GW</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>AOM Mittente</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Tipo File</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione sul GW</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Reinviabile</font></td>
|
||||
</tr>
|
||||
<% TreeSet d = null;
|
||||
|
||||
FileGWInfo fileinfo;
|
||||
d = resultBean.getListaFile();
|
||||
if(d == null || d.size() == 0){%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '5'><font class = 'normaleTab'>Nessun File Presente</font></td>
|
||||
</tr>
|
||||
<%}else{
|
||||
Iterator iter = d.iterator();
|
||||
|
||||
while (iter.hasNext()) {
|
||||
fileinfo = (FileGWInfo)iter.next();%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=fileinfo.getNodeGW()%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=fileinfo.getFilename().substring(0,4)%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=TipoFile.getDescr(Integer.parseInt(fileinfo.getTipofile()))%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=DateUtils.toStringHour(fileinfo.getData_ricezione())%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'>Reinviabile</font></td>
|
||||
</tr>
|
||||
<%} //chiude il for
|
||||
}%><!-- chiude l'else-->
|
||||
|
||||
</table>
|
||||
|
||||
</FORM>
|
||||
|
||||
<!-- CONTROLLO SE DEVO VISUALIZZARE I PULSANTI PER LA PAGINAZIONE -->
|
||||
<%if(resultBean.getPageInfo() != null){
|
||||
PageInfo p = resultBean.getPageInfo();
|
||||
int iRowPagina = -1;
|
||||
int iMaxRowXPage = -1;
|
||||
int iPaginaAttuale = p.getPage();
|
||||
if(d != null){
|
||||
iRowPagina = d.size();
|
||||
iMaxRowXPage = Params.getRow_per_page();
|
||||
if((iRowPagina >= iMaxRowXPage) || (iPaginaAttuale > 1)){%>
|
||||
<jsp:include page="/jsp/GUI/ButtonPage.jsp" flush = "true"/>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,85 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowListaRichiesteCESSAZIONE
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*,mnp.objects.dao.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaRichiesteCessazioneResult" />
|
||||
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">RICHIESTE CESSAZIONE</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella lista delle richieste cessazione ---->
|
||||
<p align='left'>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '20%'><font class = 'normaleTab'>Cod.Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
</tr>
|
||||
<% RichiestaCessazione[] d = null;
|
||||
d = resultBean.getListaRchieste();
|
||||
if(d == null){%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '5'><font class = 'normaleTab'>Nessuna Richiesta Presente</font></a></td>
|
||||
</tr>
|
||||
<%}else{
|
||||
for (int i = 0; i < d.length; i++) {%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' width= '20%'><a href = '<%=CommandsDef.SHOW_DETTAGLIO_RIC_DO+"?ric="+d[i].getId_richiesta()+"&proc="+ProcessMapper.proc_CESS_Name%>'><font class = 'normaleTab'><%=d[i].getId_richiesta()%></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a href = '<%=CommandsDef.SHOW_RIC_FILTER_DO+"?tipo_processo="+ProcessMapper.proc_CESS_Name+"&msisdnC="+d[i].getMsisdn()%>'><font class = 'normaleTab'><%=d[i].getMsisdn()%></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=StatoRichiestaCess.getStatoDescr(d[i].getStato())%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=DateUtils.toItalianString(d[i].getDataricezionerichiesta())%></font></td>
|
||||
</tr>
|
||||
<%} //chiude il for
|
||||
}%><!-- chiude l'else-->
|
||||
|
||||
</table>
|
||||
|
||||
</FORM>
|
||||
|
||||
<!-- CONTROLLO SE DEVO VISUALIZZARE I PULSANTI PER LA PAGINAZIONE -->
|
||||
<%if(resultBean.getPageInfo() != null){
|
||||
PageInfo p = resultBean.getPageInfo();
|
||||
int iRowPagina = -1;
|
||||
int iMaxRowXPage = -1;
|
||||
int iPaginaAttuale = p.getPage();
|
||||
if(d != null){
|
||||
iRowPagina = d.length;
|
||||
iMaxRowXPage = Params.getRow_per_page();
|
||||
if((iRowPagina >= iMaxRowXPage) || (iPaginaAttuale > 1)){%>
|
||||
<jsp:include page="/jsp/GUI/ButtonPage.jsp" flush = "true"/>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,97 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowListaRichiesteCESSAZIONEBeolo
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*,mnp.objects.dao.*,mnp.objects.dao.beolo.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaRichiesteCessazioneResult" />
|
||||
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">RICHIESTE CESSAZIONE</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella lista delle richieste cessazione ---->
|
||||
<p align='left'>
|
||||
<%
|
||||
boolean beolo = false;
|
||||
if(request.getAttribute("beolo") != null)
|
||||
beolo = ((Boolean)request.getAttribute("beolo")).booleanValue();
|
||||
%>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '20%'><font class = 'normaleTab'>Cod.Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<%if(beolo){%>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato Beolo</font></td>
|
||||
<%}%>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
</tr>
|
||||
<% RichiestaCessazioneBeolo[] d = null;
|
||||
d = (RichiestaCessazioneBeolo[])resultBean.getListaRchieste();
|
||||
if(d == null){%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '5'><font class = 'normaleTab'>Nessuna Richiesta Presente</font></a></td>
|
||||
</tr>
|
||||
<%}else{
|
||||
for (int i = 0; i < d.length; i++) {
|
||||
String sStatoBeolo = d[i].getStato_beolo()==0?"-":DbcBeoloMapper.getDescrStatoBeolo(d[i].getStato_beolo());
|
||||
String bckColor = d[i].isBeolo()?"tdVerde":"tdGiallo";%>
|
||||
<tr>
|
||||
<td class= '<%=bckColor%>' align='center' width= '20%'><a href = '<%=CommandsDef.SHOW_DETTAGLIO_RIC_DO+"?ric="+d[i].getId_richiesta()+"&proc="+ProcessMapper.proc_CESS_Name+"&is_beolo="+d[i].isBeolo()%>'><font class = 'normaleTab'><%=d[i].getId_richiesta()%></font></a></td>
|
||||
<td class= '<%=bckColor%>' align='center'><a href = '<%=CommandsDef.SHOW_RIC_FILTER_DO+"?tipo_processo="+ProcessMapper.proc_CESS_Name+"&msisdnC="+d[i].getMsisdn()%>'><font class = 'normaleTab'><%=d[i].getMsisdn()%></font></a></td>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=StatoRichiestaCess.getStatoDescr(d[i].getStato())%></font></td>
|
||||
<%if(beolo){%>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=sStatoBeolo%></font></td>
|
||||
<%}%>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=DateUtils.toItalianString(d[i].getDataricezionerichiesta())%></font></td>
|
||||
</tr>
|
||||
<%} //chiude il for
|
||||
}%><!-- chiude l'else-->
|
||||
|
||||
</table>
|
||||
|
||||
</FORM>
|
||||
|
||||
<!-- CONTROLLO SE DEVO VISUALIZZARE I PULSANTI PER LA PAGINAZIONE -->
|
||||
<%if(resultBean.getPageInfo() != null){
|
||||
PageInfo p = resultBean.getPageInfo();
|
||||
int iRowPagina = -1;
|
||||
int iMaxRowXPage = -1;
|
||||
int iPaginaAttuale = p.getPage();
|
||||
if(d != null){
|
||||
iRowPagina = d.length;
|
||||
iMaxRowXPage = Params.getRow_per_page();
|
||||
if((iRowPagina >= iMaxRowXPage) || (iPaginaAttuale > 1)){%>
|
||||
<jsp:include page="/jsp/GUI/ButtonPage.jsp" flush = "true"/>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,85 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowListaRichiesteCESSPORTING
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*,mnp.objects.dao.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaRichiesteCessPortingResult" />
|
||||
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">RICHIESTE CESSAZIONE VOLONTARIA</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella lista delle richieste cessazione volontaria ---->
|
||||
<p align='left'>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '20%'><font class = 'normaleTab'>Cod.Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
</tr>
|
||||
<% RichiestaCessPorting[] d = null;
|
||||
d = resultBean.getListaRchieste();
|
||||
if(d == null){%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '5'><font class = 'normaleTab'>Nessuna Richiesta Presente</font></a></td>
|
||||
</tr>
|
||||
<%}else{
|
||||
for (int i = 0; i < d.length; i++) {%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' width= '20%'><a href = '<%=CommandsDef.SHOW_DETTAGLIO_RIC_DO+"?ric="+d[i].getId_richiesta()+"&proc="+ProcessMapper.proc_CESS_PORTING_Name%>'><font class = 'normaleTab'><%=d[i].getId_richiesta()%></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a href = '<%=CommandsDef.SHOW_RIC_FILTER_DO+"?tipo_processo="+ProcessMapper.proc_CESS_PORTING_Name+"&msisdnCP="+d[i].getMsisdn()%>'><font class = 'normaleTab'><%=d[i].getMsisdn()%></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=StatoRichiestaCessPorting.getStatoDescr(d[i].getStato())%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=DateUtils.toItalianString(d[i].getDataricezionerichiesta())%></font></td>
|
||||
</tr>
|
||||
<%} //chiude il for
|
||||
}%><!-- chiude l'else-->
|
||||
|
||||
</table>
|
||||
|
||||
</FORM>
|
||||
|
||||
<!-- CONTROLLO SE DEVO VISUALIZZARE I PULSANTI PER LA PAGINAZIONE -->
|
||||
<%if(resultBean.getPageInfo() != null){
|
||||
PageInfo p = resultBean.getPageInfo();
|
||||
int iRowPagina = -1;
|
||||
int iMaxRowXPage = -1;
|
||||
int iPaginaAttuale = p.getPage();
|
||||
if(d != null){
|
||||
iRowPagina = d.length;
|
||||
iMaxRowXPage = Params.getRow_per_page();
|
||||
if((iRowPagina >= iMaxRowXPage) || (iPaginaAttuale > 1)){%>
|
||||
<jsp:include page="/jsp/GUI/ButtonPage.jsp" flush = "true"/>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
147
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ShowListaRichiesteDONOR.jsp
Normal file
@@ -0,0 +1,147 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowListaRichiesteDONOR
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*,mnp.objects.dao.*, java.text.*, java.util.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaRichiesteDonorResult" />
|
||||
<%
|
||||
/**
|
||||
* Questo sistema mi serve per visualizzare il totale selezionato
|
||||
* quando provengo dalla console e dalla console degli stati delle richieste.
|
||||
* es.: operatore = wind e richiesta = TOTALE IN CESSAZIONE.
|
||||
*
|
||||
* Se provengo dalle altre pagine visualizzo solamente il titolo 'normale'
|
||||
* I parametri request.getParameter("ric") e request.getParameter("oper")
|
||||
* li prendo dalla request della ShowConsole.jsp (senza passare dai comandi).
|
||||
*/
|
||||
|
||||
|
||||
|
||||
String sRicSelezionata = "";
|
||||
String sOperSelected = "";
|
||||
String sTipo = "";
|
||||
String sTitolo = "";
|
||||
int iRicSelezionata = -1;
|
||||
boolean fromBlocco = false;
|
||||
|
||||
// BLOCCO-SBLOCCO
|
||||
if(request.getParameter("cmdFrom")!=null && request.getParameter("cmdFrom").equalsIgnoreCase("blocco") ){
|
||||
//creo il titolo a partire da quello 'base' richieste donor
|
||||
sTitolo = "<u>DA SBLOCCARE</u>";
|
||||
fromBlocco = true;
|
||||
} else
|
||||
if((request.getParameter("ric")!=null) && (!request.getParameter("ric").equals("")) ){
|
||||
iRicSelezionata = Integer.parseInt(request.getParameter("ric"));
|
||||
sRicSelezionata = StatoRichiesta.getStatoConsoleDescr(iRicSelezionata);
|
||||
if((request.getParameter("oper")!=null) && (!request.getParameter("oper").equals("")) ){
|
||||
sOperSelected = request.getParameter("oper");
|
||||
}
|
||||
//creo il titolo a partire da quello 'base' richieste donor
|
||||
sTitolo = "PER <u>"+sRicSelezionata+"</u> ED OPERATORE <u>"+sOperSelected+"</u>";
|
||||
} else
|
||||
//CONSOLE DEGLI STATI DELLE RICHIESTE
|
||||
if((request.getParameter("stato")!=null) && (!request.getParameter("stato").equals("")) ){
|
||||
sRicSelezionata = request.getParameter("stato");
|
||||
if((request.getParameter("tipo")!=null) && (!request.getParameter("tipo").equals("")) ){
|
||||
sTipo = request.getParameter("tipo");
|
||||
if(sTipo.equals("0"))sTipo = "Verde";
|
||||
else if(sTipo.equals("1"))sTipo = "Giallo";
|
||||
else if(sTipo.equals("2"))sTipo = "Rosso";
|
||||
}
|
||||
|
||||
//creo il titolo a partire da quello 'base' richieste donor
|
||||
sTitolo = "IN STATO <u>"+sRicSelezionata+" ("+sTipo+")</u>";
|
||||
}
|
||||
|
||||
%>
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">RICHIESTE DONOR <%=sTitolo%></P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella lista delle richieste donor ---->
|
||||
<p align='left'>
|
||||
|
||||
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '20%'><font class = 'normaleTab'>Cod.Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<% if(fromBlocco) { %>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Sblocco</font></td>
|
||||
<% } %>
|
||||
</tr>
|
||||
<% RichiestaDonorGui[] d = null;
|
||||
d = resultBean.getListaRchieste();
|
||||
if(d == null){%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '5'><font class = 'normaleTab'>Nessuna Richiesta Presente</font></td>
|
||||
</tr>
|
||||
<%} else {
|
||||
for (int i = 0; i < d.length; i++) {%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' width= '20%'><a href = '<%=CommandsDef.SHOW_DETTAGLIO_RIC_DO+"?ric="+d[i].getId_richiesta()+"&proc="+ProcessMapper.proc_DONOR_Name%>'><font class = 'normaleTab'><%=d[i].getId_richiesta()%></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a href = '<%=CommandsDef.SHOW_RIC_FILTER_DO+"?tipo_processo="+ProcessMapper.proc_DONOR_Name+"&msisdnD="+d[i].getMsisdn()%>'><font class = 'normaleTab'><%=d[i].getMsisdn()%></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=StatoRichiesta.getStatoDescr(d[i].getStato())%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=DateUtils.toItalianString(d[i].getDataricezionerichiesta())%></font></td>
|
||||
<% if(fromBlocco) {
|
||||
String data = DateUtils.toItalianString(d[i].getData_sblocco());
|
||||
java.util.Date ds_meno1 = DateUtils.toDate(DateUtils.aggiungiGiorniSolari(d[i].getData_sblocco(), -1),"yyyy-MM-dd");
|
||||
java.util.Date now = new java.util.Date();
|
||||
String td = "tdGiallo";
|
||||
if(now.compareTo(ds_meno1) >= 0)
|
||||
td = "tdRosso";
|
||||
%>
|
||||
<td class='<%=td%>' align='center'><font class = 'normaleTab'><%=data%></font></td>
|
||||
<%} %>
|
||||
</tr>
|
||||
<%} //chiude il for
|
||||
}%><!-- chiude l'else-->
|
||||
|
||||
</table>
|
||||
|
||||
</FORM>
|
||||
|
||||
<!-- CONTROLLO SE DEVO VISUALIZZARE I PULSANTI PER LA PAGINAZIONE -->
|
||||
<%if(resultBean.getPageInfo() != null){
|
||||
PageInfo p = resultBean.getPageInfo();
|
||||
int iRowPagina = -1;
|
||||
int iMaxRowXPage = -1;
|
||||
int iPaginaAttuale = p.getPage();
|
||||
if(d != null){
|
||||
iRowPagina = d.length;
|
||||
iMaxRowXPage = Params.getRow_per_page();
|
||||
if((iRowPagina >= iMaxRowXPage) || (iPaginaAttuale > 1)){%>
|
||||
<jsp:include page="/jsp/GUI/ButtonPage.jsp" flush = "true"/>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,141 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowListaRichiesteDONORBeolo
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*,mnp.objects.dao.*,mnp.objects.dao.beolo.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaRichiesteDonorResult" />
|
||||
<%
|
||||
/**
|
||||
* Questo sistema mi serve per visualizzare il totale selezionato
|
||||
* quando provengo dalla console e dalla console degli stati delle richieste.
|
||||
* es.: operatore = wind e richiesta = TOTALE IN CESSAZIONE.
|
||||
*
|
||||
* Se provengo dalle altre pagine visualizzo solamente il titolo 'normale'
|
||||
* I parametri request.getParameter("ric") e request.getParameter("oper")
|
||||
* li prendo dalla request della ShowConsole.jsp (senza passare dai comandi).
|
||||
*/
|
||||
|
||||
|
||||
|
||||
String sRicSelezionata = "";
|
||||
String sOperSelected = "";
|
||||
String sTipo = "";
|
||||
String sTitolo = "";
|
||||
int iRicSelezionata = -1;
|
||||
//CONSOLE INIZIALE
|
||||
if((request.getParameter("ric")!=null) && (!request.getParameter("ric").equals("")) ){
|
||||
iRicSelezionata = Integer.parseInt(request.getParameter("ric"));
|
||||
sRicSelezionata = StatoRichiesta.getStatoConsoleDescr(iRicSelezionata);
|
||||
if((request.getParameter("oper")!=null) && (!request.getParameter("oper").equals("")) ){
|
||||
sOperSelected = request.getParameter("oper");
|
||||
}
|
||||
//creo il titolo a partire da quello 'base' richieste donor
|
||||
sTitolo = "PER <u>"+sRicSelezionata+"</u> ED OPERATORE <u>"+sOperSelected+"</u>";
|
||||
}
|
||||
//CONSOLE DEGLI STATI DELLE RICHIESTE
|
||||
if((request.getParameter("stato")!=null) && (!request.getParameter("stato").equals("")) ){
|
||||
sRicSelezionata = request.getParameter("stato");
|
||||
if((request.getParameter("tipo")!=null) && (!request.getParameter("tipo").equals("")) ){
|
||||
sTipo = request.getParameter("tipo");
|
||||
if(sTipo.equals("0"))sTipo = "Verde";
|
||||
else if(sTipo.equals("1"))sTipo = "Giallo";
|
||||
else if(sTipo.equals("2"))sTipo = "Rosso";
|
||||
}
|
||||
|
||||
//creo il titolo a partire da quello 'base' richieste donor
|
||||
sTitolo = "IN STATO <u>"+sRicSelezionata+" ("+sTipo+")</u>";
|
||||
}
|
||||
|
||||
%>
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">RICHIESTE DONOR <%=sTitolo%></P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella lista delle richieste donor ---->
|
||||
<p align='left'>
|
||||
|
||||
<%
|
||||
boolean beolo = false;
|
||||
if(request.getAttribute("beolo") != null)
|
||||
beolo = ((Boolean)request.getAttribute("beolo")).booleanValue();
|
||||
|
||||
%>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '20%'><font class = 'normaleTab'>Cod.Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<%if(beolo){%>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato Beolo</font></td>
|
||||
<%}%>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
</tr>
|
||||
<% RichiestaDonorBeolo[] d = null;
|
||||
d = (RichiestaDonorBeolo[])resultBean.getListaRchieste();
|
||||
if(d == null){%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '5'><font class = 'normaleTab'>Nessuna Richiesta Presente</font></td>
|
||||
</tr>
|
||||
<%}else{
|
||||
for (int i = 0; i < d.length; i++) {
|
||||
String sStatoBeolo = d[i].getStato_beolo()==0?"-":DbcBeoloMapper.getDescrStatoBeolo(d[i].getStato_beolo());
|
||||
String bckColor = d[i].isBeolo()?"tdVerde":"tdGiallo";
|
||||
%>
|
||||
<tr>
|
||||
<td class= '<%=bckColor%>' align='center' width= '20%'><a href = '<%=CommandsDef.SHOW_DETTAGLIO_RIC_DO+"?ric="+d[i].getId_richiesta()+"&proc="+ProcessMapper.proc_DONOR_Name+"&is_beolo="+d[i].isBeolo()%>'><font class = 'normaleTab'><%=d[i].getId_richiesta()%></font></a></td>
|
||||
<td class= '<%=bckColor%>' align='center'><a href = '<%=CommandsDef.SHOW_RIC_FILTER_DO+"?tipo_processo="+ProcessMapper.proc_DONOR_Name+"&msisdnD="+d[i].getMsisdn()%>'><font class = 'normaleTab'><%=d[i].getMsisdn()%></font></a></td>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=StatoRichiesta.getStatoDescr(d[i].getStato())%></font></td>
|
||||
<%if(beolo){%>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=sStatoBeolo%></font></td>
|
||||
<%}%>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=DateUtils.toItalianString(d[i].getDataricezionerichiesta())%></font></td>
|
||||
</tr>
|
||||
<%} //chiude il for
|
||||
}%><!-- chiude l'else-->
|
||||
|
||||
</table>
|
||||
|
||||
</FORM>
|
||||
|
||||
<!-- CONTROLLO SE DEVO VISUALIZZARE I PULSANTI PER LA PAGINAZIONE -->
|
||||
<%if(resultBean.getPageInfo() != null){
|
||||
PageInfo p = resultBean.getPageInfo();
|
||||
int iRowPagina = -1;
|
||||
int iMaxRowXPage = -1;
|
||||
int iPaginaAttuale = p.getPage();
|
||||
if(d != null){
|
||||
iRowPagina = d.length;
|
||||
iMaxRowXPage = Params.getRow_per_page();
|
||||
if((iRowPagina >= iMaxRowXPage) || (iPaginaAttuale > 1)){%>
|
||||
<jsp:include page="/jsp/GUI/ButtonPage.jsp" flush = "true"/>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,126 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowListaRichiestePORTING
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*,mnp.objects.dao.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaRichiestePortingResult" />
|
||||
<%
|
||||
/**
|
||||
* Questo sistema mi serve per visualizzare il totale selezionato
|
||||
* quando provengo dalla console e dalla console degli stati delle richieste.
|
||||
* es.: operatore = wind e richiesta = TOTALE IN CESSAZIONE.
|
||||
*
|
||||
* Se provengo dalle altre pagine visualizzo solamente il titolo 'normale'
|
||||
* I parametri request.getParameter("ric") e request.getParameter("oper")
|
||||
* li prendo dalla request della ShowConsole.jsp (senza passare dai comandi).
|
||||
*/
|
||||
|
||||
|
||||
|
||||
String sRicSelezionata = "";
|
||||
String sOperSelected = "";
|
||||
String sTipo = "";
|
||||
String sTitolo = "";
|
||||
int iRicSelezionata = -1;
|
||||
//CONSOLE INIZIALE
|
||||
if((request.getParameter("ric")!=null) && (!request.getParameter("ric").equals("")) ){
|
||||
iRicSelezionata = Integer.parseInt(request.getParameter("ric"));
|
||||
sRicSelezionata = StatoRichiestaPorting.getStatoConsoleDescr(iRicSelezionata);
|
||||
if((request.getParameter("oper")!=null) && (!request.getParameter("oper").equals("")) ){
|
||||
sOperSelected = request.getParameter("oper");
|
||||
}
|
||||
//creo il titolo a partire da quello 'base' richieste porting
|
||||
sTitolo = "PER <u>"+sRicSelezionata+"</u> ED OPERATORE <u>"+sOperSelected+"</u>";
|
||||
}
|
||||
//CONSOLE DEGLI STATI DELLE RICHIESTE
|
||||
if((request.getParameter("stato")!=null) && (!request.getParameter("stato").equals("")) ){
|
||||
sRicSelezionata = request.getParameter("stato");
|
||||
if((request.getParameter("tipo")!=null) && (!request.getParameter("tipo").equals("")) ){
|
||||
sTipo = request.getParameter("tipo");
|
||||
if(sTipo.equals("0"))sTipo = "Verde";
|
||||
else if(sTipo.equals("1"))sTipo = "Giallo";
|
||||
else if(sTipo.equals("2"))sTipo = "Rosso";
|
||||
}
|
||||
|
||||
//creo il titolo a partire da quello 'base' richieste porting
|
||||
sTitolo = "IN STATO <u>"+sRicSelezionata+" ("+sTipo+")</u>";
|
||||
}
|
||||
|
||||
%>
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">RICHIESTE TERZA PARTE <%=sTitolo%></P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella lista delle richieste TERZA PARTE ---->
|
||||
<p align='left'>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '20%'><font class = 'normaleTab'>Cod.Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
</tr>
|
||||
<% RichiestaPorting[] d = null;
|
||||
d = resultBean.getListaRchieste();
|
||||
if(d == null){%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '5'><font class = 'normaleTab'>Nessuna Richiesta Presente</font></a></td>
|
||||
</tr>
|
||||
<%}else{
|
||||
for (int i = 0; i < d.length; i++) {%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' width= '20%'><a href = '<%=CommandsDef.SHOW_DETTAGLIO_RIC_DO+"?ric="+d[i].getId_richiesta()+"&proc="+ProcessMapper.proc_PORTING_IN_Name%>'><font class = 'normaleTab'><%=d[i].getId_richiesta()%></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a href = '<%=CommandsDef.SHOW_RIC_FILTER_DO+"?tipo_processo="+ProcessMapper.proc_PORTING_IN_Name+"&msisdnP="+d[i].getMsisdn()%>'><font class = 'normaleTab'><%=d[i].getMsisdn()%></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=StatoRichiestaPorting.getStatoDescr(d[i].getStato())%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=DateUtils.toItalianString(d[i].getDataricezionerichiesta())%></font></td>
|
||||
</tr>
|
||||
<%} //chiude il for
|
||||
}%><!-- chiude l'else-->
|
||||
|
||||
</table>
|
||||
|
||||
</FORM>
|
||||
|
||||
<!-- CONTROLLO SE DEVO VISUALIZZARE I PULSANTI PER LA PAGINAZIONE -->
|
||||
<%if(resultBean.getPageInfo() != null){
|
||||
PageInfo p = resultBean.getPageInfo();
|
||||
int iRowPagina = -1;
|
||||
int iMaxRowXPage = -1;
|
||||
int iPaginaAttuale = p.getPage();
|
||||
if(d != null){
|
||||
iRowPagina = d.length;
|
||||
iMaxRowXPage = Params.getRow_per_page();
|
||||
if((iRowPagina >= iMaxRowXPage) || (iPaginaAttuale > 1)){%>
|
||||
<jsp:include page="/jsp/GUI/ButtonPage.jsp" flush = "true"/>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,96 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowListaRichiestePORTINGBeolo
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*,mnp.objects.dao.*,mnp.objects.dao.beolo.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaRichiestePortingResult" />
|
||||
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">RICHIESTE TERZA PARTE</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella lista delle richieste TERZA PARTE ---->
|
||||
<p align='left'>
|
||||
<%
|
||||
boolean beolo = false;
|
||||
if(request.getAttribute("beolo") != null)
|
||||
beolo = ((Boolean)request.getAttribute("beolo")).booleanValue();
|
||||
%>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '20%'><font class = 'normaleTab'>Cod.Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<%if(beolo){%>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato Beolo</font></td>
|
||||
<%}%>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
</tr>
|
||||
<% RichiestaPortingBeolo[] d = null;
|
||||
d = (RichiestaPortingBeolo[])resultBean.getListaRchieste();
|
||||
if(d == null){%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '5'><font class = 'normaleTab'>Nessuna Richiesta Presente</font></a></td>
|
||||
</tr>
|
||||
<%}else{
|
||||
for (int i = 0; i < d.length; i++) {
|
||||
String sStatoBeolo = d[i].getStato_beolo()==0?"-":DbcBeoloMapper.getDescrStatoBeolo(d[i].getStato_beolo());
|
||||
String bckColor = d[i].isBeolo()?"tdVerde":"tdGiallo";%>
|
||||
<tr>
|
||||
<td class= '<%=bckColor%>' align='center' width= '20%'><a href = '<%=CommandsDef.SHOW_DETTAGLIO_RIC_DO+"?ric="+d[i].getId_richiesta()+"&proc="+ProcessMapper.proc_PORTING_IN_Name+"&is_beolo="+d[i].isBeolo()%>'><font class = 'normaleTab'><%=d[i].getId_richiesta()%></font></a></td>
|
||||
<td class= '<%=bckColor%>' align='center'><a href = '<%=CommandsDef.SHOW_RIC_FILTER_DO+"?tipo_processo="+ProcessMapper.proc_PORTING_IN_Name+"&msisdnP="+d[i].getMsisdn()%>'><font class = 'normaleTab'><%=d[i].getMsisdn()%></font></a></td>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=StatoRichiestaPorting.getStatoDescr(d[i].getStato())%></font></td>
|
||||
<%if(beolo){%>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=sStatoBeolo%></font></td>
|
||||
<%}%>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=DateUtils.toItalianString(d[i].getDataricezionerichiesta())%></font></td>
|
||||
</tr>
|
||||
<%} //chiude il for
|
||||
}%><!-- chiude l'else-->
|
||||
|
||||
</table>
|
||||
|
||||
</FORM>
|
||||
|
||||
<!-- CONTROLLO SE DEVO VISUALIZZARE I PULSANTI PER LA PAGINAZIONE -->
|
||||
<%if(resultBean.getPageInfo() != null){
|
||||
PageInfo p = resultBean.getPageInfo();
|
||||
int iRowPagina = -1;
|
||||
int iMaxRowXPage = -1;
|
||||
int iPaginaAttuale = p.getPage();
|
||||
if(d != null){
|
||||
iRowPagina = d.length;
|
||||
iMaxRowXPage = Params.getRow_per_page();
|
||||
if((iRowPagina >= iMaxRowXPage) || (iPaginaAttuale > 1)){%>
|
||||
<jsp:include page="/jsp/GUI/ButtonPage.jsp" flush = "true"/>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,149 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowListaRichiesteRECIPIENT
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*,mnp.objects.dao.*,mnp.objects.dao.beolo.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaRichiesteRecipientResult" />
|
||||
|
||||
<%
|
||||
/**
|
||||
* Questo sistema mi serve per visualizzare il totale selezionato
|
||||
* quando provengo dalla console.
|
||||
* es.: operatore = wind e richiesta = TOTALE IN CESSAZIONE.
|
||||
*
|
||||
* Se provengo dalle altre pagine visualizzo solamente il titolo 'normale'
|
||||
* I parametri request.getParameter("ric") e request.getParameter("oper")
|
||||
* li prendo dalla request della ShowConsole.jsp (senza passare dai comandi).
|
||||
*/
|
||||
|
||||
String sRicSelezionata = "";
|
||||
String sOperSelected = "";
|
||||
String sTipo = "";
|
||||
String sTitolo = "";
|
||||
int iRicSelezionata = -1;
|
||||
boolean fromBlocco = false;
|
||||
|
||||
// BLOCCO-SBLOCCO
|
||||
if(request.getParameter("cmdFrom")!=null && request.getParameter("cmdFrom").equalsIgnoreCase("blocco") ){
|
||||
//creo il titolo a partire da quello 'base' richieste donor
|
||||
sTitolo = "<u>DA SBLOCCARE</u>";
|
||||
fromBlocco = true;
|
||||
} else
|
||||
if((request.getParameter("ric")!=null) && (!request.getParameter("ric").equals("")) ){
|
||||
iRicSelezionata = Integer.parseInt(request.getParameter("ric"));
|
||||
sRicSelezionata = StatoRichiestaRec.getStatoConsoleDescr(iRicSelezionata);
|
||||
if((request.getParameter("oper")!=null) && (!request.getParameter("oper").equals("")) ){
|
||||
sOperSelected = request.getParameter("oper");
|
||||
}
|
||||
//creo il titolo a partire da quello 'base' richieste recipient
|
||||
sTitolo = "PER <u>"+sRicSelezionata+"</u> ED OPERATORE <u>"+sOperSelected+"</u>";
|
||||
}
|
||||
//CONSOLE DEGLI STATI DELLE RICHIESTE
|
||||
if((request.getParameter("stato")!=null) && (!request.getParameter("stato").equals("")) ){
|
||||
sRicSelezionata = request.getParameter("stato");
|
||||
if((request.getParameter("tipo")!=null) && (!request.getParameter("tipo").equals("")) ){
|
||||
sTipo = request.getParameter("tipo");
|
||||
if(sTipo.equals("0"))sTipo = "Verde";
|
||||
else if(sTipo.equals("1"))sTipo = "Giallo";
|
||||
else if(sTipo.equals("2"))sTipo = "Rosso";
|
||||
}
|
||||
|
||||
//creo il titolo a partire da quello 'base' richieste donor
|
||||
sTitolo = "IN STATO <u>"+sRicSelezionata+" ("+sTipo+")</u>";
|
||||
}
|
||||
|
||||
%>
|
||||
<body>
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">RICHIESTE RECIPIENT <%=sTitolo%></P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella lista delle richieste donor ---->
|
||||
<p align='left'>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '20%'><font class = 'normaleTab'>Cod.Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
<% if(fromBlocco) { %>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Sblocco</font></td>
|
||||
<% } %>
|
||||
</tr>
|
||||
<%
|
||||
|
||||
RichiestaRecipient[] r = null;
|
||||
r = (RichiestaRecipient[])resultBean.getListaRchieste();
|
||||
if(r == null){%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '5'><font class = 'normaleTab'>Nessuna Richiesta Presente</font></td>
|
||||
</tr>
|
||||
<%}else{
|
||||
for (int i = 0; i < r.length; i++) {%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' width= '20%'><a href = '<%=CommandsDef.SHOW_DETTAGLIO_RIC_DO+"?ric="+r[i].getId_richiesta()+"&proc="+ProcessMapper.proc_RECIPIENT_Name%>'><font class = 'normaleTab'><%=r[i].getId_richiesta()%></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><a href = '<%=CommandsDef.SHOW_RIC_FILTER_DO+"?tipo_processo="+ProcessMapper.proc_RECIPIENT_Name+"&msisdnR="+r[i].getMsisdn()%>'><font class = 'normaleTab'><%=r[i].getMsisdn()%></font></a></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=StatoRichiestaRec.getStatoDescr(r[i].getStato())%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=DateUtils.toItalianString(r[i].getDataricezionerichiesta())%></font></td>
|
||||
<% if(fromBlocco) {
|
||||
String data = DateUtils.toItalianString(r[i].getData_sblocco());
|
||||
java.util.Date ds_meno1 = DateUtils.toDate(DateUtils.aggiungiGiorniSolari(r[i].getData_sblocco(), -1),"yyyy-MM-dd");
|
||||
java.util.Date now = new java.util.Date();
|
||||
String td = "tdGiallo";
|
||||
if(now.compareTo(ds_meno1) >= 0)
|
||||
td = "tdRosso";
|
||||
%>
|
||||
<td class='<%=td%>' align='center'><font class = 'normaleTab'><%=data%></font></td>
|
||||
<%} %>
|
||||
</tr>
|
||||
<%}
|
||||
}%>
|
||||
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
<!-- CONTROLLO SE DEVO VISUALIZZARE I PULSANTI PER LA PAGINAZIONE -->
|
||||
<%if(resultBean.getPageInfo() != null){
|
||||
PageInfo p = resultBean.getPageInfo();
|
||||
int iRowPagina = -1;
|
||||
int iMaxRowXPage = -1;
|
||||
int iPaginaAttuale = p.getPage();
|
||||
if(r != null){
|
||||
iRowPagina = r.length;
|
||||
iMaxRowXPage = Params.getRow_per_page();
|
||||
if((iRowPagina >= iMaxRowXPage) || (iPaginaAttuale > 1)){%>
|
||||
<jsp:include page="/jsp/GUI/ButtonPage.jsp" flush = "true"/>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,144 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowListaRichiesteRECIPIENTBeolo
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*,mnp.objects.dao.*,mnp.objects.dao.beolo.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ListaRichiesteRecipientResult" />
|
||||
|
||||
<%
|
||||
/**
|
||||
* Questo sistema mi serve per visualizzare il totale selezionato
|
||||
* quando provengo dalla console.
|
||||
* es.: operatore = wind e richiesta = TOTALE IN CESSAZIONE.
|
||||
*
|
||||
* Se provengo dalle altre pagine visualizzo solamente il titolo 'normale'
|
||||
* I parametri request.getParameter("ric") e request.getParameter("oper")
|
||||
* li prendo dalla request della ShowConsole.jsp (senza passare dai comandi).
|
||||
*/
|
||||
|
||||
String sRicSelezionata = "";
|
||||
String sOperSelected = "";
|
||||
String sTipo = "";
|
||||
String sTitolo = "";
|
||||
int iRicSelezionata = -1;
|
||||
if((request.getParameter("ric")!=null) && (!request.getParameter("ric").equals("")) ){
|
||||
iRicSelezionata = Integer.parseInt(request.getParameter("ric"));
|
||||
sRicSelezionata = StatoRichiestaRec.getStatoConsoleDescr(iRicSelezionata);
|
||||
if((request.getParameter("oper")!=null) && (!request.getParameter("oper").equals("")) ){
|
||||
sOperSelected = request.getParameter("oper");
|
||||
}
|
||||
//creo il titolo a partire da quello 'base' richieste recipient
|
||||
sTitolo = "PER <u>"+sRicSelezionata+"</u> ED OPERATORE <u>"+sOperSelected+"</u>";
|
||||
}
|
||||
//CONSOLE DEGLI STATI DELLE RICHIESTE
|
||||
if((request.getParameter("stato")!=null) && (!request.getParameter("stato").equals("")) ){
|
||||
sRicSelezionata = request.getParameter("stato");
|
||||
if((request.getParameter("tipo")!=null) && (!request.getParameter("tipo").equals("")) ){
|
||||
sTipo = request.getParameter("tipo");
|
||||
if(sTipo.equals("0"))sTipo = "Verde";
|
||||
else if(sTipo.equals("1"))sTipo = "Giallo";
|
||||
else if(sTipo.equals("2"))sTipo = "Rosso";
|
||||
}
|
||||
|
||||
//creo il titolo a partire da quello 'base' richieste donor
|
||||
sTitolo = "IN STATO <u>"+sRicSelezionata+" ("+sTipo+")</u>";
|
||||
}
|
||||
|
||||
%>
|
||||
<body>
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">RICHIESTE RECIPIENT <%=sTitolo%></P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella lista delle richieste donor ---->
|
||||
<p align='left'>
|
||||
|
||||
<%
|
||||
boolean beolo = false;
|
||||
if(request.getAttribute("beolo") != null)
|
||||
beolo = ((Boolean)request.getAttribute("beolo")).booleanValue();
|
||||
%>
|
||||
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width = '20%'><font class = 'normaleTab'>Cod.Richiesta</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato</font></td>
|
||||
<%if(beolo){%>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Stato Beolo</font></td>
|
||||
<%}%>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Data Ricezione Richiesta</font></td>
|
||||
</tr>
|
||||
<%
|
||||
|
||||
RichiestaRecipientBeolo[] r = null;
|
||||
r = (RichiestaRecipientBeolo[])resultBean.getListaRchieste();
|
||||
if(r == null){%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' colspan = '5'><font class = 'normaleTab'>Nessuna Richiesta Presente</font></td>
|
||||
</tr>
|
||||
<%}else{
|
||||
for (int i = 0; i < r.length; i++) {
|
||||
String sStatoBeolo = r[i].getStato_beolo()==0?"-":DbcBeoloMapper.getDescrStatoBeolo(r[i].getStato_beolo());
|
||||
String bckColor = r[i].isBeolo()?"tdVerde":"tdGiallo";
|
||||
%>
|
||||
<tr>
|
||||
<td class= '<%=bckColor%>' align='center' width= '20%'><a href = '<%=CommandsDef.SHOW_DETTAGLIO_RIC_DO+"?ric="+r[i].getId_richiesta()+"&proc="+ProcessMapper.proc_RECIPIENT_Name+"&is_beolo="+r[i].isBeolo()%>'><font class = 'normaleTab'><%=r[i].getId_richiesta()%></font></a></td>
|
||||
<td class= '<%=bckColor%>' align='center'><a href = '<%=CommandsDef.SHOW_RIC_FILTER_DO+"?tipo_processo="+ProcessMapper.proc_RECIPIENT_Name+"&msisdnR="+r[i].getMsisdn()%>'><font class = 'normaleTab'><%=r[i].getMsisdn()%></font></a></td>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=StatoRichiestaRec.getStatoDescr(r[i].getStato())%></font></td>
|
||||
<%if(beolo){%>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=sStatoBeolo%></font></td>
|
||||
<%}%>
|
||||
<td class= '<%=bckColor%>' align='center'><font class = 'normaleTab'><%=DateUtils.toItalianString(r[i].getDataricezionerichiesta())%></font></td>
|
||||
</tr>
|
||||
<%}
|
||||
}%>
|
||||
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
<!-- CONTROLLO SE DEVO VISUALIZZARE I PULSANTI PER LA PAGINAZIONE -->
|
||||
<%if(resultBean.getPageInfo() != null){
|
||||
PageInfo p = resultBean.getPageInfo();
|
||||
int iRowPagina = -1;
|
||||
int iMaxRowXPage = -1;
|
||||
int iPaginaAttuale = p.getPage();
|
||||
if(r != null){
|
||||
iRowPagina = r.length;
|
||||
iMaxRowXPage = Params.getRow_per_page();
|
||||
if((iRowPagina >= iMaxRowXPage) || (iPaginaAttuale > 1)){%>
|
||||
<jsp:include page="/jsp/GUI/ButtonPage.jsp" flush = "true"/>
|
||||
<% }
|
||||
}
|
||||
}%>
|
||||
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
83
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ShowProcessConsole.jsp
Normal file
@@ -0,0 +1,83 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowProcessConsole
|
||||
</title>
|
||||
</head>
|
||||
<!--
|
||||
Questa pagina visualizza le richieste trovate per 'tutti' i processi.
|
||||
Viene richiamata dal comando : ShowFiltroRicercaRichiesteComune.java
|
||||
-->
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "java.util.*,mnp.command.*"%>
|
||||
<%@page import = "mnp.objects.GUIMapper,mnp.objects.ProcessMapper,mnp.objects.dao.*"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.dao.ProcessConsole" />
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">RICHIESTE TROVATE</P></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella semaforo ---->
|
||||
<p align='left'>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' width='60%'><font class = 'normaleTab'>Processo</font></td>
|
||||
<td class= 'tdCeleste' align='center'width='10%'> <font class = 'normaleTab'>Totale</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
//Quando clicco sui totali dei processi richiamo il comando ShowListaFiltroRicercaRichiesteCOMUNE
|
||||
//passando come parametro il processo selezionato.
|
||||
//Il filtro selezionato nella pagina ShowFiltroRicercaRichiesteComune.jsp
|
||||
//è in sessione.
|
||||
String sGoToCommand = CommandsDef.SHOW_RIC_LISTA_COMMON_FILTER_DO;
|
||||
|
||||
//Creo un vettore che mi ordina i processi (x non ripetere il codice html.)
|
||||
Vector v = new Vector();
|
||||
if(resultBean != null){
|
||||
v.add(resultBean.getProcessRow(ProcessMapper.proc_DONOR_Name));
|
||||
v.add(resultBean.getProcessRow(ProcessMapper.proc_RECIPIENT_Name));
|
||||
v.add(resultBean.getProcessRow(ProcessMapper.proc_PORTING_IN_Name));//terze parti
|
||||
v.add(resultBean.getProcessRow(ProcessMapper.proc_CESS_Name));
|
||||
v.add(resultBean.getProcessRow(ProcessMapper.proc_CESS_PORTING_Name));
|
||||
|
||||
|
||||
for (int i = 0; i < v.size(); i++) {
|
||||
ProcessRow s = (ProcessRow)v.elementAt(i);
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='left' width='10%'><font class = 'normaleTab'><%=s.getProcesso()%></font></td>
|
||||
<td class= 'tdVerde'align='center'><a href='<%=sGoToCommand+"?proc="+s.getProcesso()%>'><font class = 'normaleTab'><%=s.getNumero_richieste()%></font></a></td>
|
||||
</tr>
|
||||
<% }
|
||||
}%>
|
||||
|
||||
</table>
|
||||
</p>
|
||||
|
||||
</FORM>
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
183
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ShowRichiesteDaAnnullare.jsp
Normal file
@@ -0,0 +1,183 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowRichiesteDaAnnullare
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.filter.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.AnnullamentoRichiesteResult" />
|
||||
|
||||
<body>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">ANNULLAMENTO FORZATO RICHIESTE DBC</P></i></b>
|
||||
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'annullaForm' method= 'post' action = '<%=CommandsDef.ANNULLA_RICHIESTE_DO%>' onSubmit = 'return checkCampi(this);'>
|
||||
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Elenco delle richieste da Annullare: </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP DONOR</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP RECIPIENT</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>WARNING</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
InfoAnnullamentoRichieste[] rics = resultBean.getRichieste();
|
||||
for (int i = 0; i < rics.length; i++) {
|
||||
String warnColor = null;
|
||||
String sProcesso = "";
|
||||
String sMsisdn_specifico = "";
|
||||
|
||||
if(rics[i].getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_CESS_PORTING)){
|
||||
sProcesso = ProcessMapper.proc_CESS_PORTING_Name;
|
||||
sMsisdn_specifico = "msisdnCP";
|
||||
}else if(rics[i].getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_RECIPIENT)){
|
||||
sProcesso = ProcessMapper.proc_RECIPIENT_Name;
|
||||
sMsisdn_specifico = "msisdnR";
|
||||
}else if(rics[i].getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_DONOR)){
|
||||
sProcesso = ProcessMapper.proc_DONOR_Name;
|
||||
sMsisdn_specifico = "msisdnD";
|
||||
}
|
||||
|
||||
String stato = rics[i].getStato_da_descr()==null?" ":rics[i].getStato_da_descr();
|
||||
String msisdn = rics[i].getMsisdn()==null?" ":rics[i].getMsisdn();
|
||||
String id = rics[i].getId_richiesta()==null?" ":rics[i].getId_richiesta();
|
||||
String donor = rics[i].getCodiceOperatoreDonor()==null?"-":rics[i].getCodiceOperatoreDonor();
|
||||
String recipient = rics[i].getCodiceOperatoreRecipient()==null?" ":rics[i].getCodiceOperatoreRecipient();
|
||||
|
||||
|
||||
if((rics[i].getWarning().equalsIgnoreCase(GUIMapper.NO_ANNULL)) || (rics[i].getWarning().equalsIgnoreCase(GUIMapper.ID_RICH_NOT_EXISTS)) ) warnColor = "tdRosso";
|
||||
else
|
||||
if(rics[i].getWarning().equalsIgnoreCase(GUIMapper.NO_WARN)) warnColor = "tdVerde";
|
||||
else
|
||||
warnColor = "tdGiallo";
|
||||
%>
|
||||
<tr>
|
||||
<%if((rics[i].getWarning().equalsIgnoreCase(GUIMapper.ID_RICH_NOT_EXISTS)) || (rics[i].getWarning().equalsIgnoreCase(GUIMapper.NO_ANNULL)) ){%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=id%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=msisdn%></font></td>
|
||||
<%}else{%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=id%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=msisdn%></font></td>
|
||||
<%}%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=stato%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=donor%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=recipient%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getWarning()%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
|
||||
</table>
|
||||
|
||||
<%
|
||||
|
||||
try{
|
||||
String processo = "";
|
||||
if(rics[0].getTipo_processo() != null){
|
||||
processo = rics[0].getTipo_processo();
|
||||
}else{
|
||||
processo = "";
|
||||
}
|
||||
%>
|
||||
<br>
|
||||
<table width = '50%' border='1' align = 'center' >
|
||||
<tr colspan='2'>
|
||||
<td align = 'left' class = 'tdCeleste' ><font class = 'normaleTab'>NOTA</font></td>
|
||||
<%if ((processo.equalsIgnoreCase(ProcessMapper.proc_DONOR)) ||
|
||||
(processo.equalsIgnoreCase(ProcessMapper.proc_RECIPIENT))) {%>
|
||||
<td align = 'left' class = 'tdCeleste' ><font class = 'normaleTab'>TT</font></td>
|
||||
<% } %>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = 'left' class = 'tdGiallo' ><input type='text' name='nota'></td>
|
||||
<%if ((processo.equalsIgnoreCase(ProcessMapper.proc_DONOR)) ||
|
||||
(processo.equalsIgnoreCase(ProcessMapper.proc_RECIPIENT))) {%>
|
||||
<td align = 'left' class = 'tdGiallo' ><input type='text' name='TT' value = ''></td>
|
||||
<% } %>
|
||||
</tr>
|
||||
|
||||
|
||||
<!-- Non devo notificare a nessuno-->
|
||||
|
||||
<%
|
||||
if(processo.equalsIgnoreCase(ProcessMapper.proc_RECIPIENT) || processo.equalsIgnoreCase(ProcessMapper.proc_DONOR)){%>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<p> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = 'left' class = 'tdCeleste' colspan="2">
|
||||
<p align="center"><font class = 'normaleTab'>NOTIFICHE AI SISTEMI INTERNI</font></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = 'right' class = 'tdGiallo' >
|
||||
<p align="center"><input type = 'checkbox' name ='notificaCirce' value = '0'></p>
|
||||
</td>
|
||||
<td align = 'left' class = 'tdGiallo' >
|
||||
<p align="center"><font class = 'normaleTab'>CIRCE</font></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = 'right' class = 'tdGiallo' >
|
||||
<p align="center"><input type = 'checkbox' name ='notificaBit' value = '0'></p>
|
||||
</td>
|
||||
<td align = 'left' class = 'tdGiallo' >
|
||||
<p align="center"><font class = 'normaleTab'>BIT</font></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = 'right' class = 'tdGiallo' >
|
||||
<p align="center"><input type = 'checkbox' name ='notificaCCrm' value = '0'></p>
|
||||
</td>
|
||||
<td align = 'left' class = 'tdGiallo' >
|
||||
<p align="center"><font class = 'normaleTab'>CCRM</font></p>
|
||||
</td>
|
||||
</tr>
|
||||
<%}
|
||||
}catch(Exception e ){
|
||||
System.out.println("Non ci sono richieste da annullare");
|
||||
//e.printStackTrace();
|
||||
}%>
|
||||
</table>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "CONFERMA" VALUE= " CONFERMA " ></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!-- tabella x menu -->
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -0,0 +1,140 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowRichiesteDaSimulareMSS
|
||||
</title>
|
||||
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.filter.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.SimulazioneMSSRichiesteResult" />
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">SIMULAZIONE FORZATA EVENTI DA MSS</P></i></b>
|
||||
<%
|
||||
String processo = resultBean.getTipoProcesso();
|
||||
if(processo==null)
|
||||
throw new Exception("Processo MNP npn selezionato");
|
||||
String descrProcesso = "";
|
||||
if(processo.equalsIgnoreCase(ProcessMapper.proc_DONOR))
|
||||
descrProcesso = ProcessMapper.proc_DONOR_Name;
|
||||
else if(processo.equalsIgnoreCase(ProcessMapper.proc_RECIPIENT))
|
||||
descrProcesso = ProcessMapper.proc_RECIPIENT_Name;
|
||||
else if(processo.equalsIgnoreCase(ProcessMapper.proc_CESS))
|
||||
descrProcesso = ProcessMapper.proc_CESS_Name;
|
||||
|
||||
%>
|
||||
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'annullaForm' method= 'post' action = '<%=CommandsDef.SIMULA_MSS_DO%>'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Elenco delle richieste da simulare: </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>NUMERAZIONE</font></td>
|
||||
<% if (descrProcesso.equals(ProcessMapper.proc_DONOR_Name)) { %>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ADDIZIONALE</font></td>
|
||||
<% } %>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP DONOR</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP RECIPIENT</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA EVENTO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>WARNING</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
InfoSimulazioneRichieste[] rics = resultBean.getRichieste();
|
||||
|
||||
|
||||
for (int i = 0; i < rics.length; i++) {
|
||||
if (rics[i]!=null) {
|
||||
String warnColor = "tdGiallo";
|
||||
String codOpDon = rics[i].getCodiceOperatoreDonor()==null?"-":rics[i].getCodiceOperatoreDonor();
|
||||
if(rics[i].getWarning().equalsIgnoreCase(GUIMapper.ID_RICH_NOT_EXISTS)){
|
||||
warnColor = "tdRosso";
|
||||
%>
|
||||
<tr>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'> </td>
|
||||
<td class= '<%=warnColor%>' align='center'> </td>
|
||||
<td class= '<%=warnColor%>' align='center'> </td>
|
||||
<td class= '<%=warnColor%>' align='center'> </td>
|
||||
<td class= '<%=warnColor%>' align='center'> </td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getWarning()%></font></td>
|
||||
</tr>
|
||||
<%
|
||||
}else{
|
||||
%>
|
||||
<tr>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getId_richiesta()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getMsisdn()%></font></td>
|
||||
<% if (descrProcesso.equals(ProcessMapper.proc_DONOR_Name)) {
|
||||
if (rics[i].getAddizionale()==1){ %>
|
||||
<td class= '<%=warnColor%>' align='center'> <input name="html" type="checkbox" name="addizionale" disabled="disabled"//>
|
||||
<% } else { %>
|
||||
<td class= '<%=warnColor%>' align='center'> <input name="html" type="checkbox" name="addizionale" checked="checked" disabled="disabled"//>
|
||||
<% }%>
|
||||
<% }%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getStato_da()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=codOpDon%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getCodiceOperatoreRecipient()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getData_evento()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getWarning()%></font></td>
|
||||
</tr>
|
||||
<%}
|
||||
}
|
||||
}
|
||||
|
||||
%>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width = '100%' border='1' >
|
||||
<tr>
|
||||
<td align = 'left' class = 'tdCeleste'><font class = 'normaleTab'>NOTA:</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = 'left' class = 'tdGiallo'><input type='text' name='nota' maxlength=80></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type='hidden' name='processo' value='<%=processo%>'>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "CONFERMA" VALUE= " CONFERMA " ></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!-- tabella x menu -->
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
269
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/ShowStateConsole.jsp
Normal file
@@ -0,0 +1,269 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowStateConsole
|
||||
</title>
|
||||
</head>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.*"%>
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.filter.*"%>
|
||||
<%@page import = "java.util.*,mnp.command.CommandsDef,mnp.utility.DateUtils,mnp.objects.GUIMapper"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.dao.StateConsole" />
|
||||
|
||||
<%
|
||||
RecipientFilter rf = null;
|
||||
DonorFilter df = null;
|
||||
TerzePartiFilter tpf = null;
|
||||
String sProcesso = "";
|
||||
String sLinkPage = "";
|
||||
String[] aOperatori = null;
|
||||
String titoloOper = "<u>Operatori</u> : ";
|
||||
String sTitoloOperatori = "";
|
||||
String data = "";
|
||||
String sCommadFrom = "?cmdFrom=stateConsole";
|
||||
if((request.getSession().getAttribute("stateFilter")) != null){
|
||||
////////////////////DONOR/////////////////////////////////////////
|
||||
if((request.getSession().getAttribute("stateFilter")) instanceof DonorFilter){
|
||||
df = ((DonorFilter)request.getSession().getAttribute("stateFilter"));
|
||||
if(df != null){
|
||||
aOperatori = df.getOperatore();
|
||||
|
||||
if((df.getData_ricezione() != null) && (!df.getData_ricezione().equals("")) ||
|
||||
(df.getData_ricezione_da() != null) && (!df.getData_ricezione_da().equals("")) ||
|
||||
(df.getData_ricezione_a() != null) && (!df.getData_ricezione_a().equals(""))){
|
||||
if((df.getData_ricezione()!= null) && (!df.getData_ricezione().equals(""))){
|
||||
data = "<u> Data ricezione richiesta</u> : " + df.getData_ricezione();
|
||||
}else{
|
||||
data = "<u> Data ricezione richiesta da</u> : " + df.getData_ricezione_da() + " <u> a</u> : " + df.getData_ricezione_a();
|
||||
}
|
||||
}
|
||||
|
||||
if(!aOperatori[0].equalsIgnoreCase("*")){
|
||||
sTitoloOperatori = titoloOper;
|
||||
for (int i = 0; i < aOperatori.length; i++){
|
||||
if( (aOperatori.length == 0) || (i == (aOperatori.length - 1)) ){
|
||||
sTitoloOperatori += aOperatori[i];
|
||||
}else{
|
||||
sTitoloOperatori += aOperatori[i] + " , ";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sProcesso = ProcessMapper.proc_DONOR_Name;
|
||||
sLinkPage = CommandsDef.SHOW_LISTARICDONOR_DO + sCommadFrom;
|
||||
|
||||
}else if((request.getSession().getAttribute("stateFilter")) instanceof RecipientFilter){
|
||||
////////////////////RECIPIENT/////////////////////////////////////////////////////////
|
||||
rf = ((RecipientFilter)request.getSession().getAttribute("stateFilter"));
|
||||
if(rf != null){
|
||||
aOperatori = rf.getOperatore();
|
||||
|
||||
if((rf.getData_invio() != null) && (!rf.getData_invio().equals("")) ||
|
||||
(rf.getData_invio_da() != null) && (!rf.getData_invio_da().equals("")) ||
|
||||
(rf.getData_invio_a() != null) && (!rf.getData_invio_a().equals(""))){
|
||||
if((rf.getData_invio() != null) && (!rf.getData_invio().equals(""))){
|
||||
data = "<u>Data invio richiesta</u> : " + rf.getData_invio();
|
||||
}else{
|
||||
data = "<u>Data invio richiesta da</u> : " + rf.getData_invio_da() + " <u>a</u> : " + rf.getData_invio_a();
|
||||
}
|
||||
}
|
||||
|
||||
if(!aOperatori[0].equalsIgnoreCase("*")){
|
||||
sTitoloOperatori = titoloOper;
|
||||
for (int i = 0; i < aOperatori.length; i++){
|
||||
if( (aOperatori.length == 0) || (i == (aOperatori.length - 1)) ){
|
||||
sTitoloOperatori += aOperatori[i];
|
||||
}else{
|
||||
sTitoloOperatori += aOperatori[i] + " , ";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sProcesso = ProcessMapper.proc_RECIPIENT_Name;
|
||||
sLinkPage = CommandsDef.SHOW_LISTARICRECIPIENT_DO + sCommadFrom;
|
||||
|
||||
}else if((request.getSession().getAttribute("stateFilter")) instanceof TerzePartiFilter){
|
||||
/////////////////////////////////////////TERZA PARTE/////////////////////////////////////////////////////////
|
||||
tpf = ((TerzePartiFilter)request.getSession().getAttribute("stateFilter"));
|
||||
if(tpf != null){
|
||||
aOperatori = tpf.getOperatore();
|
||||
|
||||
if((tpf.getData_ricezione_richiesta() != null) && (!tpf.getData_ricezione_richiesta().equals("")) ||
|
||||
(tpf.getData_ricezione_richiesta_da() != null) && (!tpf.getData_ricezione_richiesta_da().equals("")) ||
|
||||
(tpf.getData_ricezione_richiesta_a() != null) && (!tpf.getData_ricezione_richiesta_a().equals(""))){
|
||||
if((tpf.getData_ricezione_richiesta()!= null) && (!tpf.getData_ricezione_richiesta().equals(""))){
|
||||
data = "<u>Data ricezione richiesta</u> : " + tpf.getData_ricezione_richiesta();
|
||||
}else{
|
||||
data = "<u>Data ricezione richiesta da</u> : " + tpf.getData_ricezione_richiesta_da() + " <u>a</u>: " + tpf.getData_ricezione_richiesta_a();
|
||||
}
|
||||
}
|
||||
|
||||
if(!aOperatori[0].equalsIgnoreCase("*")){
|
||||
sTitoloOperatori = titoloOper;
|
||||
for (int i = 0; i < aOperatori.length; i++){
|
||||
if( (aOperatori.length == 0) || (i == (aOperatori.length - 1)) ){
|
||||
sTitoloOperatori += aOperatori[i];
|
||||
}else{
|
||||
sTitoloOperatori += aOperatori[i] + " , ";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sProcesso = ProcessMapper.proc_PORTING_IN_Name;
|
||||
sLinkPage = CommandsDef.SHOW_LISTARICPORTING_DO + sCommadFrom;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
%>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">STATO DELLE RICHIESTE <%=sProcesso%></P></i></b>
|
||||
<b><i><%=sTitoloOperatori%><br></i></b>
|
||||
<b><i><%=data%></i></b>
|
||||
<!-- titolo -->
|
||||
<form name = "frmForm" method="post">
|
||||
<!----- tabella semaforo ---->
|
||||
<p align='left'>
|
||||
|
||||
|
||||
|
||||
<%
|
||||
Vector v = new Vector();
|
||||
|
||||
if(resultBean != null){ //creo l'ordinamento per la state console
|
||||
if(sProcesso.equalsIgnoreCase(ProcessMapper.proc_DONOR_Name)){
|
||||
v.add(resultBean.getStateRow(GUIMapper.ACQUISITA));
|
||||
v.add(resultBean.getStateRow(GUIMapper.PRESAINCARICO));
|
||||
//scartata
|
||||
//ritpresaincarico
|
||||
v.add(resultBean.getStateRow(GUIMapper.VALIDATING));
|
||||
v.add(resultBean.getStateRow(GUIMapper.VALIDATING_HOC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.VALIDATAOK));
|
||||
v.add(resultBean.getStateRow(GUIMapper.VALIDATAOK_HOC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.VALIDATAKO));
|
||||
v.add(resultBean.getStateRow(GUIMapper.VALIDATAKO_HOC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ACCETTATA_HOC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ACCETTATA));
|
||||
v.add(resultBean.getStateRow(GUIMapper.RIFIUTATA));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ANNULLATA));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ANNULLATAGRUPPO));
|
||||
v.add(resultBean.getStateRow(GUIMapper.INCESSAZIONE));
|
||||
v.add(resultBean.getStateRow(GUIMapper.INCESSAZIONE_HOC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.CESSATA));
|
||||
v.add(resultBean.getStateRow(GUIMapper.CESSATA_HOC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ESPLETATA));
|
||||
v.add(resultBean.getStateRow(GUIMapper.VALIDATING1));
|
||||
v.add(resultBean.getStateRow(GUIMapper.SOSPESA));
|
||||
v.add(resultBean.getStateRow(GUIMapper.SOSPESA_ACCETTATA));
|
||||
}else if(sProcesso.equalsIgnoreCase(ProcessMapper.proc_RECIPIENT_Name)){
|
||||
////scartata
|
||||
v.add(resultBean.getStateRow(GUIMapper.ACQUISITA_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ACCODATA_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.INVIATA_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.INVIATA_HOC_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.SCARTATAPRESAINCARICO_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.PRESAINCARICO_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.RIFIUTATA_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.VALIDATA_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.VALIDATA_HOC_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ANNULLATA_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ACCETTATA_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ACCETTATA_HOC_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ATTESAEVASIONE_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ATTESAEVASIONE_HOC_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.EVASA_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.EVASA_HOC_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ATTESASCIVOLOTACS_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ANNULLATAGRUPPO_REC));
|
||||
v.add(resultBean.getStateRow(GUIMapper.SOSPESA_REC));
|
||||
}else if(sProcesso.equalsIgnoreCase(ProcessMapper.proc_PORTING_IN_Name)){
|
||||
v.add(resultBean.getStateRow(GUIMapper.ACQUISITA_TP));
|
||||
v.add(resultBean.getStateRow(GUIMapper.SCARTATA_TP));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ATTESAEVASIONE_TP));
|
||||
v.add(resultBean.getStateRow(GUIMapper.NONEVASA_TP));
|
||||
v.add(resultBean.getStateRow(GUIMapper.NONEVASA_INVIATA_TP));
|
||||
v.add(resultBean.getStateRow(GUIMapper.EVASA_TP));
|
||||
v.add(resultBean.getStateRow(GUIMapper.ESPLETATA_TP));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
%>
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' width='60%'><font class = 'normaleTab'>Stato</font></td>
|
||||
<td class= 'tdCeleste' align='center'width='10%'> <font class = 'normaleTab'>Verde</font></td>
|
||||
<td class= 'tdCeleste' align='center'width='10%' ><font class = 'normaleTab'>Giallo</font></td>
|
||||
<td class= 'tdCeleste' align='center'width='10%' ><font class = 'normaleTab'>Rosso</font></td>
|
||||
<td class= 'tdCeleste' align='center'width='10%'> <font class = 'normaleTab'>Stato Finale</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
for (int i = 0; i < v.size(); i++) {
|
||||
StateRow s = (StateRow)v.elementAt(i);%>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td class= 'tdBianco'width='60%'><font class = 'normaleTab'><%=s.getSTATO()%></font></td>
|
||||
<%if(s.getGREEN() >=0 ){%>
|
||||
<%if((s.getGREEN() >=0 ) && (s.isIS_STATO_FINALE())){%>
|
||||
<td class= 'tdVerde' align='center'width='10%'><font class = 'normaleTab'><%=s.getGREEN()%></font></td>
|
||||
<%}else{%>
|
||||
<td class= 'tdVerde' align='center'width='10%'><a href='<%=sLinkPage+"&stato="+s.getSTATO()+"&tipo=0"%>'><font class = 'normaleTab'><%=s.getGREEN()%></font></a></td>
|
||||
<%}%>
|
||||
<%}else{%>
|
||||
<td class= 'tdGrigio' align='center'width='10%'> </td>
|
||||
<%}%>
|
||||
<%if(s.getYELLOW() >=0 ){%>
|
||||
<td class= 'tdGiallo'align='center'width='10%' ><a href='<%=sLinkPage+"&stato="+s.getSTATO()+"&tipo=1"%>'><font class = 'normaleTab'><%=s.getYELLOW()%></font></a></td>
|
||||
<%}else{%>
|
||||
<td class= 'tdGrigio' align='center'width='10%'> </td>
|
||||
<%}%>
|
||||
|
||||
<%if(s.getRED() >=0 ){%>
|
||||
<td class= 'tdRosso' align='center'width='10%' ><a href='<%=sLinkPage+"&stato="+s.getSTATO()+"&tipo=2"%>'><font class = 'normaleTab'><%=s.getRED()%></font></a></td>
|
||||
<%}else{%>
|
||||
<td class= 'tdGrigio' align='center'width='10%'> </td>
|
||||
<%}%>
|
||||
<td class= 'tdBianco'align='center'width='10%'><font class = 'normaleTab'><%=s.isIS_STATO_FINALE()==true?"Si":" "%></font></td>
|
||||
</tr>
|
||||
|
||||
<% }
|
||||
}%>
|
||||
|
||||
</table>
|
||||
</p>
|
||||
|
||||
|
||||
<!-- fine tabella semaforo--->
|
||||
|
||||
</FORM>
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
77
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/GUI/SimulazioneMSS.jsp
Normal file
@@ -0,0 +1,77 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
SimulazioneMSS
|
||||
</title>
|
||||
|
||||
</head>
|
||||
|
||||
<script language = 'javascript'>
|
||||
|
||||
</script>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.filter.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
|
||||
<!-- COPY -->
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "left" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<!-- /COPY -->
|
||||
|
||||
<%
|
||||
String tipoProcesso = request.getParameter("tipoProcesso");
|
||||
if(tipoProcesso==null)
|
||||
throw new Exception("Processo MNP non selezionato");
|
||||
%>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo" align = 'right'>SIMULAZIONE ESITI DA MSS: Selezione del file di richieste</P></i></b>
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
|
||||
<form name = 'annullaForm' ENCTYPE="multipart/form-data" method= 'post' action = "<%=Res.ApplContext%>/<%=CommandsDef.SHOW_RIC_DA_SIMULARE_MSS_DO%>" onSubmit = "return checkFile(this.simulazioneFile.value)">
|
||||
<table width='100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'left'><font class = 'normaleTab'>Seleziona il file di richieste da Simulare:</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='left'>
|
||||
<input type='file' name='simulazioneFile'>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "CONFERMA" VALUE= "CONFERMA"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<input type='hidden' name='tipoProcesso' value='<%=tipoProcesso%>'>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||