First Commit - Source Code from Reply

This commit is contained in:
vincenzofariello
2024-05-13 12:54:14 +02:00
parent 73e32a5020
commit a15aee1f08
11184 changed files with 1065913 additions and 0 deletions

View 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">&nbsp</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>

View 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>&nbsp</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>&nbsp</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>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<!-- <TD><A HREF = "/MainDispatcher?nomePagina=Mail">MAIL</A></TD> -->
</table>
</body>
</html>

View 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>&nbsp</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>&nbsp</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>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<!-- <TD><A HREF = "/MainDispatcher?nomePagina=Mail">MAIL</A></TD> -->
</table>
</body>
</html>

View 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">&nbsp</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 &egrave; :
</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>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
</TABLE>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
</body>
</html>

View 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">&nbsp</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>

View 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">&nbsp</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&agrave; 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>

View 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">&nbsp</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>

View 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">&nbsp</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>

View 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">&nbsp</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&agrave; 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>

View 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">&nbsp</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>

View 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'>&nbsp</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>

View 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>&nbsp</td>
</tr>
<!--<TR><TD height = '1px' nowrap><A HREF = "<%=CommandsDef.SHOW_STATE_FILTER_DO%>" class = "linkBanner">> STATO RICHIESTE</A></TD></TR>
<TR><TD>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</td>
</tr>
<tr>
<td>&nbsp</td>
</tr>
<tr>
<td>&nbsp</td>
</tr>
<tr>
<td>&nbsp</td>
</tr>
<tr>
<td>&nbsp</td>
</tr>
<tr>
<td>&nbsp</td>
</tr>
<tr>
<td>&nbsp</td>
</tr>
<tr>
<td>&nbsp</td>
</tr>
</table>
</iframe>
</body>
</html>

View File

@@ -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>

View File

@@ -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>

View 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'>&nbsp</td>
<td class = 'tdBianco'>&nbsp</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>

View 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'>&nbsp</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'>&nbsp</TD>
<TD align = 'right'><a onClick='gotoPage("<%=originalCommand%>", "next", <%=pageTot%>);'><font class = 'normaleTab'><u style='cursor:hand'> >> </u></font></a></TD>
</TR>
</TABLE>
</form>

View 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">&nbsp</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>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
<tr><TD>&nbsp</TD></tr>
</TABLE>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
</body>
</html>

View File

@@ -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'>&nbsp</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>

View File

@@ -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'>&nbsp</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>

View File

@@ -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'>&nbsp</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>

View 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>

File diff suppressed because it is too large Load Diff

View 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;
}

View 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>

View 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>

View File

@@ -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>

View File

@@ -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>

View 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>&nbsp</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 : <%="&lt;operatore&gt;"+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>

View 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>

View File

@@ -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>

View File

@@ -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
%>

View 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?"&nbsp":rics[i].getTt();
String tipo_processo = rics[i].getTipo_processo()==null?"&nbsp":ProcessMapper.getProcessoByID(rics[i].getTipo_processo());
String data_sblocco = "&nbsp";
if (rics[i] instanceof InfoBloccoSbloccoRichiesta)
{
InfoBloccoSbloccoRichiesta info_blocco_sblocco_richiesta = (InfoBloccoSbloccoRichiesta)rics[i];
data_sblocco = info_blocco_sblocco_richiesta.getData_sblocco() == null?"&nbsp":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>

View 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 >&nbsp;</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 &egrave; = ad oggi (Oggi);
·solo quelle la cui data di validazione massima &egrave; 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) &egrave; = ad oggi (Oggi)
·solo quelle la cui data di cut-over (data_cut_over_calc) &egrave; < 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'>&nbsp;</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'>&nbsp;</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&ugrave; 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&ugrave; 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'>&nbsp;</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>

View 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 = "&nbsp";
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?"&nbsp":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?"&nbsp":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>

View File

@@ -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 = "&nbsp";
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'>&nbsp</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>

View File

@@ -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 = "&nbsp";
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'>&nbsp</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>

View File

@@ -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 = "&nbsp";
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'>&nbsp</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>

View File

@@ -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 '&nbsp'
RichiestaDonorGui d = new RichiestaDonorGui();
d = (RichiestaDonorGui)resultBean.getRichiesta();
String sEmpty = "&nbsp";
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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>

View File

@@ -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 '&nbsp'
RichiestaDonorBeolo d = new RichiestaDonorBeolo();
d = (RichiestaDonorBeolo)resultBean.getRichiesta();
String sEmpty = "&nbsp";
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>&nbsp</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>&nbsp</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>&nbsp</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>

View File

@@ -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 = "&nbsp";
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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>&nbsp</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>

View File

@@ -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 = "&nbsp";
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>&nbsp</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>&nbsp</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>&nbsp</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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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 = "&nbsp";
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'>&nbsp</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?"&nbsp":rp.getAddizionale_1()%></font></td>
<td class= 'tdGiallo' align= 'center' colspan = 2><font class = 'normaleTab'><%=rp.getAddizionale_2()==null?"&nbsp":rp.getAddizionale_2()%></font></td>
</tr>
</table>
</form>

View File

@@ -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 = "&nbsp";
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'>&nbsp</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>

View File

@@ -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?"&nbsp":rics[i].getStato_da_descr();
String msisdn = rics[i].getMsisdn()==null?"&nbsp":rics[i].getMsisdn();
String id = rics[i].getId_richiesta()==null?"&nbsp":rics[i].getId_richiesta();
String donor = rics[i].getCodiceOperatoreDonor()==null?"&nbsp":rics[i].getCodiceOperatoreDonor();
String recipient = rics[i].getCodiceOperatoreRecipient()==null?"&nbsp":rics[i].getCodiceOperatoreRecipient();
String data = rics[i].getData_annullamento()==null?"&nbsp":""+DateUtils.toStringHour(rics[i].getData_annullamento());
String tt = rics[i].getTt()==null?"&nbsp":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: &nbsp; 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>

View 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("")?"&nbsp":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: &nbsp; la richiesta risulter&agrave; <%=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>

View File

@@ -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("")?"&nbsp":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: &nbsp; 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>

View File

@@ -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: &nbsp; 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>

View File

@@ -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: &nbsp; 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>

View File

@@ -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?"&nbsp":rics[i].getMsisdn();
String donor = rics[i].getCodiceOperatoreDonor()== null?"&nbsp":rics[i].getCodiceOperatoreDonor();
String recipient = rics[i].getCodiceOperatoreRecipient()== null?"&nbsp":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: &nbsp; 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>

View 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 :&nbsp <%=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>

View File

@@ -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'>&nbsp</td></tr>
<!-- tabella dei filtri comuni 5 righe fisse!! -->
<!-- INTESTAZIONE -->
<tr>
<td class = 'tdCeleste' width='5%' colspan = '4' ><font class = 'normaleTab'>Profondit&agrave 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'>&nbsp </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'>&nbsp </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'>&nbsp</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>

View File

@@ -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'>&nbsp</td></tr>
<!-- tabella dei filtri comuni 5 righe fisse!! -->
<!-- INTESTAZIONE -->
<tr>
<td class = 'tdCeleste' width='5%' colspan = '5' ><font class = 'normaleTab'>Profondit&agrave 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'>&nbsp </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'>&nbsp </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'>&nbsp</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>

View File

@@ -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'>&nbsp</td></tr>
<!-- tabella dei filtri comuni 5 righe fisse!! -->
<!-- INTESTAZIONE -->
<tr>
<td class = 'tdCeleste' width='5%' colspan = '5' ><font class = 'normaleTab'>Profondit&agrave 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'>&nbsp</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'>&nbsp</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'>&nbsp</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>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -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'>&nbsp</td></tr>
<!-- tabella dei filtri comuni 5 righe fisse!! -->
<!-- INTESTAZIONE -->
<tr>
<td class = 'tdCeleste' width='5%' colspan = '4' ><font class = 'normaleTab'>Profondit&agrave 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'>&nbsp </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'>&nbsp </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'>&nbsp</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>

View 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">
&nbsp;Mese Da:&nbsp;
<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">
&nbsp;Mese A:&nbsp;
<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">&nbsp;</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">&nbsp;</td>
</tr>
</table>
<!----- tabella risultati ---->
<table width = '100%' border='1'>
<tr>
<td>&nbsp;</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>&nbsp;</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>

View File

@@ -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>

View 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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View 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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View 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>

View 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?"&nbsp":rics[i].getStato_da_descr();
String msisdn = rics[i].getMsisdn()==null?"&nbsp":rics[i].getMsisdn();
String id = rics[i].getId_richiesta()==null?"&nbsp":rics[i].getId_richiesta();
String donor = rics[i].getCodiceOperatoreDonor()==null?"-":rics[i].getCodiceOperatoreDonor();
String recipient = rics[i].getCodiceOperatoreRecipient()==null?"&nbsp":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">&nbsp;
<p>&nbsp;</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>

View File

@@ -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'>&nbsp</td>
<td class= '<%=warnColor%>' align='center'>&nbsp</td>
<td class= '<%=warnColor%>' align='center'>&nbsp</td>
<td class= '<%=warnColor%>' align='center'>&nbsp</td>
<td class= '<%=warnColor%>' align='center'>&nbsp</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>

View 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%'>&nbsp</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%'>&nbsp</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%'>&nbsp</td>
<%}%>
<td class= 'tdBianco'align='center'width='10%'><font class = 'normaleTab'><%=s.isIS_STATO_FINALE()==true?"Si":"&nbsp"%></font></td>
</tr>
<% }
}%>
</table>
</p>
<!-- fine tabella semaforo--->
</FORM>
<!-- tabella x menu -->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View 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>

View File

@@ -0,0 +1,119 @@
<%@page import = "java.io.*,java.util.*,mnp.objects.result.*,mnp.objects.*,mnp.command.*"%>
<%@page import = "mnp.crontab.command.*, it.valueteam.logging.*"%>
<%@page import = "mnp.objects.ui.LoginBean"%>
<%@page import = "mnp.utility.ui.Res"%>
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ReportResult"/>
<%
ReportInfo[] repInfo = resultBean.getListaReport();
if(request.getParameter("DOWNLOAD")!=null) {
String rPath = request.getParameter("fullReportPath");
String contentDisp = "attachement;filename="+rPath.substring(rPath.lastIndexOf(File.separator)+1);
response.setContentType("application/unknown");
response.setHeader("content-disposition", contentDisp);
out.clearBuffer();
byte[] buf = new byte[1024];
java.io.BufferedInputStream f2Send = new java.io.BufferedInputStream(new java.io.FileInputStream(rPath));
int byteRead = -1;
OutputStream myOut = pageContext.getResponse().getOutputStream();
while((byteRead = f2Send.read(buf,0,1024)) >= 0) {
myOut.write(buf, 0, byteRead);
}
out.flush();
out.close();
//log security
int actionCode=ActionLogMapping.DownloadReport;
String objectLog="Report="+rPath;
Azione a = new Azione(actionCode, null, ActionLogMapping.LOG_RESULT_CODE_DETAIL_OK , objectLog ,ActionLogMapping.LOG_RESULT_CODE_OK);
SessionInfo si = ((LoginBean)session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION)).getSessionInfo();
Tracer.log(si,a);
return;
}
%>
<html>
<head>
<title>
Visualizzazione lista Report
</title>
</head>
<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">VISUALIZZAZIONE LISTA REPORTS DISPONIBILI</P></i></b>
<!-- fine titolo -->
<p align = 'left'><font class = 'normaleTab'>Lista Report Generati</font></p><br><hr>
<%
System.out.println("repInfo: " + repInfo);
if(repInfo == null) {
%>
<b><i><P align = "left" class = "alert">Non ci sono report da scaricare</P></i></b>
<%
return;
}
%>
<form name = "listaReport2Download" method = "POST">
<table width='90%' border = '0'>
<tr>
<td class= 'tdCeleste' align= 'left' width = '40%'><b>Nome Report</b></td>
<td class= 'tdCeleste' align= 'left' width = '35%'><b>Lunghezza (Bytes)</b></td>
<td class= 'tdCeleste' align= 'left' width = '25%'><b>Seleziona per download</b></td>
</tr>
<%
for (int i = 0; i < repInfo.length; i++) {%>
<tr>
<td class = 'tdCeleste'><font class='normaleTab'><%=repInfo[i].getNome()%></font></td>
<td class = 'tdCeleste'><font class='normaleTab'><%=repInfo[i].getDimensione()%></font></td>
<td class = 'tdCeleste'><input type='radio' name='fullReportPath' value='<%=repInfo[i].getFullReportPath()%>' <%=i==0?"checked":""%>></td>
</tr>
<%}
%>
</table>
<!-- pulsanti -->
<BR><BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "DOWNLOAD" VALUE= "DOWNLOAD" ></TD>
</TR>
</TABLE>
</form>
<!-- fine tabella x menu -->
</td>
</tr>
</table>
<!-- -->
</BODY>
</HTML>

View File

@@ -0,0 +1,143 @@
<%@page import = "java.io.*,java.util.*,mnp.objects.result.*,mnp.objects.*,mnp.command.*"%>
<%@page import = "mnp.crontab.command.*, it.valueteam.logging.*"%>
<%@page import = "mnp.objects.ui.LoginBean"%>
<%@page import = "mnp.utility.ui.Res"%>
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.CrontabReportResult"/>
<%
if(request.getParameter("DOWNLOAD")!=null) {
String rPath = request.getParameter("fullReportPath");
String contentDisp = "attachment;filename="+rPath.substring(rPath.lastIndexOf(File.separator)+1);
//response.setContentType("application/unknown");
response.setContentType("text/HTML");
response.setHeader("content-disposition", contentDisp);
out.clearBuffer();
byte[] buf = new byte[1024];
java.io.BufferedInputStream f2Send = new java.io.BufferedInputStream(new java.io.FileInputStream(rPath));
int byteRead = -1;
OutputStream myOut = pageContext.getResponse().getOutputStream();
while((byteRead = f2Send.read(buf,0,1024)) >= 0) {
myOut.write(buf, 0, byteRead);
}
out.flush();
out.close();
//log security
int actionCode=ActionLogMapping.DownloadReportCrontab;
String objectLog="Report="+rPath;
Azione a = new Azione(actionCode, null, ActionLogMapping.LOG_RESULT_CODE_DETAIL_OK , objectLog ,ActionLogMapping.LOG_RESULT_CODE_OK);
SessionInfo si = ((LoginBean)session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION)).getSessionInfo();
Tracer.log(si,a);
return;
}
ReportInfo[] repInfo = resultBean.getListaReport();
String[] listaCategoria = resultBean.getListaCategoriaReport();
String categoria = resultBean.getCategoriaReport();
%>
<html>
<head>
<title>
Visualizzazione lista Report generati da Crontab
</title>
</head>
<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">VISUALIZZAZIONE LISTA CRONTAB REPORT DISPONIBILI</P></i></b>
<!-- fine titolo -->
<form name = "listaReport2Download" method = "POST" action="<%=Res.ApplContext%>/VisualizzaListaReportCrontab.do">
<p align = 'left'><font class = 'normaleTab'>Scegli Categoria</font></p>
<table width='100%' border = '1'>
<tr>
<!--Combo contenente i processi -->
<td class = 'tdCeleste'><font class='normaleTab'>Categoria Report</font></td>
<td class = 'tdGiallo'>
<select name = 'cmbCategoria' onChange = 'javascript:checkCategoriaReport(this.value)'>
<option value=''></option>
<%
for (int i = 0; i < listaCategoria.length; i++) {
if(listaCategoria[i].equals(categoria)){%>
<option selected value = '<%=listaCategoria[i]%>'><%=listaCategoria[i]%></option>
<%}else{%>
<option value = '<%=listaCategoria[i]%>'><%=listaCategoria[i]%></option>
<%}%>
<%}%>
</select>
</td>
</tr>
</table>
<%
System.out.println("repInfo: " + repInfo);
if ((repInfo == null) && (categoria!=null)){
%>
<b><i><P align = "left" class = "alert">Non ci sono report da scaricare per la categoria <%=categoria%></P></i></b>
<%
return;
}
else {
if (repInfo != null) {
%>
<p align = 'left'><font class = 'normaleTab'>Scegli Report</font></p>
<table width='90%' border = '0'>
<tr>
<td class= 'tdCeleste' align= 'left' width = '40%'><b>Nome Report</b></td>
<td class= 'tdCeleste' align= 'left' width = '35%'><b>Lunghezza (Bytes)</b></td>
<td class= 'tdCeleste' align= 'left' width = '25%'><b>Seleziona per download</b></td>
</tr>
<%
for (int i = 0; i < repInfo.length; i++) {%>
<tr>
<td class = 'tdCeleste'><font class='normaleTab'><%=repInfo[i].getNome()%></font></td>
<td class = 'tdCeleste'><font class='normaleTab'><%=repInfo[i].getDimensione()%></font></td>
<td class = 'tdCeleste'><input type='radio' name='fullReportPath' value='<%=repInfo[i].getFullReportPath()%>' <%=i==0?"checked":""%>></td>
</tr>
<%}%>
</table>
<!-- pulsanti -->
<BR><BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "DOWNLOAD" VALUE= "DOWNLOAD" ></TD>
</TR>
</TABLE>
<%
}}
%>
</form>
<!-- fine tabella x menu -->
</td>
</tr>
</table>
<!-- -->
</BODY>
</HTML>

View File

@@ -0,0 +1,12 @@
<%@page import = "mnp.utility.ui.Res"%>
<HTML>
<HEAD>
<TITLE>Mnp - Canale Alternativo</TITLE>
</HEAD>
<FRAMESET rows="*,0">
<frame src="<%=Res.ApplContext%>/jsp/Login.jsp" name="No Name" noresize marginwidth=0 marginheight=0>
<frame src="<%=Res.ApplContext%>/jsp/Vuoto.jsp" name="No Name" noresize marginwidth=0 marginheight=0>
<NOFRAMES></NOFRAMES>
</FRAMESET>
</HTML>

View File

@@ -0,0 +1,142 @@
<%@page import = "mnp.utility.ui.Res,mnp.utility.ui.Global"%>
<%@page import = "mnp.objects.ui.*,mnp.utility.ui.PageLoader"%>
<jsp:useBean id="inviaBean" scope="request" class="mnp.objects.ui.InviaBean"/>
<HTML>
<TITLE> Mnp </TITLE>
<BODY class = "normal">
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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>
<!--fine tabella x menu -->
<b><i><P class = "titolo">LISTA DELLE RICHIESTE</P></i></b>
<%
//InviaBean inviaBean = (InviaBean)session.getAttribute("inviaBean");
// EsitoRichiestaCA[] arresito = null;
// Object obj = session.getAttribute("esitoRic");
// for (int i = 0; i < obj.length; i++) {
// arresito[i] = new EsitoRichiestaCA();
// arresito[i] = (EsitoRichiestaCA)obj;
// }
PageLoader pageLoader = new PageLoader();
int iContaRicOK = 0;
String sNomeFileSelezionato = "";
String sTipoFile = "";
String sTipoProcesso = "";
String sDestinatario = null;
String sModoInvio = "";
EsitoRichiestaCA[] esito = null;
String sEsitoOperazione = "";
if(inviaBean != null){
sEsitoOperazione = inviaBean.getEsitoOperazione()==null?"pippo":inviaBean.getEsitoOperazione();
if(!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 = pageLoader.destinatarioArr2String(inviaBean.getDestinatario());
sModoInvio = inviaBean.getModalitaInvio();
}
}
%>
<FORM NAME= "frmInfoRich" METHOD="POST" ACTION = "<%=Res.ApplContext%>/FileUploadServlet" >
<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&agrave; Invio </P> </TD>
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtModoInvio' readOnly VALUE ='<%=sModoInvio%>'></TD>
</TR>
<%if((!sEsitoOperazione.equals("")) && (!sEsitoOperazione.equals("pippo"))){%>
<TR>
<TD><P class = "normale"> Esito Operazione </P> </TD>
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtEsito' readOnly VALUE ='<%=sEsitoOperazione%>'></TD>
</TR>
<%}%>
</TABLE>
<BR>
<%if(sEsitoOperazione.equals("pippo")){%>
<TABLE width = "100%" BORDER= "1" class = "border">
<TR>
<TD><P class = "normale">Richiesta</P></TD>
<TD><P class = "normale">Esito</P></TD>
<TD><P class = "normale">Causale</P></TD>
</TR>
<%for(int i = 0;i<esito.length;i++){
String sRichiesta = esito[i].getRichiestaAOM()==null?"&nbsp":esito[i].getRichiestaAOM();
String sCausale = esito[i].getCausale()==null?"&nbsp":esito[i].getCausale();
String sEsito = esito[i].getEsito()==null?"&nbsp":esito[i].getEsito();
if(sEsito.equalsIgnoreCase("Ok"))iContaRicOK = iContaRicOK + 1;
%>
<TR>
<TD><P class = "normale"><%=sRichiesta%></P></TD>
<%if(sEsito.equalsIgnoreCase("Ok")){%>
<TD><P class = "normale"><%=sEsito%></P></TD>
<TD><P class = "normale"><%=sCausale%></P></TD>
<%}else{%>
<TD><FONT class = "fontAlert"><%=sEsito%></FONT></TD>
<TD><FONT class = "fontAlert"><%=sCausale%></FONT></TD>
<%}%>
</TR>
<%}%>
</TABLE>
<%}%>
<!-- pulsanti -->
<BR><BR><HR class = "riga">
<TABLE width = "100%" border = "0">
<TR>
<%if((sEsitoOperazione.equals("pippo")) && (iContaRicOK > 0)) {%>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnIfoRich" VALUE= " OK "></TD>
<%}%>
<TD ALIGN= "CENTER"><INPUT TYPE= "button" NAME= "btnAnnulla" VALUE= "Annulla" onClick = "annullaInvio()"></TD>
</TR>
</TABLE>
</FORM>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,157 @@
<%@page import = "mnp.utility.ui.Res,mnp.utility.ui.Global"%>
<%@page import = "mnp.objects.ui.*,mnp.utility.ui.PageLoader"%>
<jsp:useBean id="recFSBean" scope="session" class="mnp.objects.ui.RecuperoFSBean"/>
<HTML>
<TITLE> Mnp </TITLE>
<BODY class = "normal">
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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>
<!--fine tabella x menu -->
<b><i><P class = "titolo">LISTA DELLE RICHIESTE</P></i></b>
<%
RecuperoFSBean recuperoFSBean = (RecuperoFSBean)session.getAttribute("recFSBean");
System.out.println("recuperoFSBean::::::::::" + recuperoFSBean);
// EsitoRichiestaCA[] arresito = null;
// Object obj = session.getAttribute("esitoRic");
// for (int i = 0; i < obj.length; i++) {
// arresito[i] = new EsitoRichiestaCA();
// arresito[i] = (EsitoRichiestaCA)obj;
// }
PageLoader pageLoader = new PageLoader();
int iContaRicOK = 0;
String sNomeFileSelezionato = "";
String sTipoFile = "";
String sTipoProcesso = "";
String sDestinatario = null;
String sModoInvio = "";
EsitoRichiestaCA[] esito = null;
String sEsitoOperazione = "";
String sEsito ="";
if(recuperoFSBean != null){
sEsitoOperazione = recuperoFSBean.getEsitoOperazione()==null?"pippo":recuperoFSBean.getEsitoOperazione();
//System.out.println("sEsitoOperazione <> null:" + sEsitoOperazione);
if(!sEsitoOperazione.equals("")){
//--------------------------------------------------------------//
//se sEsitoOperazione è valorizzato allora c-è stato un errore.
//--------------------------------------------------------------//
esito = recuperoFSBean.getEsitoRichiesta();
sNomeFileSelezionato = recuperoFSBean.getNomeFile();
sTipoFile = pageLoader.tipoFileInt2String(recuperoFSBean.getTipoFile());
sTipoProcesso = pageLoader.tipoProcesso2String(recuperoFSBean.getTipoProcesso());
sDestinatario = pageLoader.destinatarioArr2String(recuperoFSBean.getDestinatari());
sModoInvio = recuperoFSBean.getModalitaInvio();
System.out.println("esito:" + esito);
System.out.println("sNomeFileSelezionato:" + sNomeFileSelezionato);
System.out.println("sTipoFile:" + sTipoFile);
System.out.println("sTipoProcesso:" + sTipoProcesso);
System.out.println("sDestinatario:" + sDestinatario);
System.out.println("sModoInvio:" + sModoInvio);
}
}
%>
<FORM NAME= "frmInfoRich" METHOD="POST" >
<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&agrave; Invio </P> </TD>
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtModoInvio' readOnly VALUE ='<%=sModoInvio%>'></TD>
</TR>
<%if((!sEsitoOperazione.equals("")) && (!sEsitoOperazione.equals("pippo"))){%>
<TR>
<TD><P class = "normale"> Esito Operazione </P> </TD>
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtEsito' readOnly VALUE ='<%=sEsitoOperazione%>'></TD>
</TR>
<%}%>
</TABLE>
<BR>
<%if(sEsitoOperazione.equals("pippo")){%>
<TABLE width = "100%" BORDER= "1" class = "border">
<TR>
<TD><P class = "normale">Richiesta</P></TD>
<TD><P class = "normale">Esito</P></TD>
<!--TD><P class = "normale">Causale</P></TD-->
</TR>
<%
for(int i = 0;i<esito.length;i++){
String sRichiesta = esito[i].getRichiestaAOM()==null?"&nbsp":esito[i].getRichiestaAOM();
System.out.println("ERRORE-->sRichiesta: " + sRichiesta);
String sCausale = esito[i].getCausale()==null?"&nbsp":esito[i].getCausale();
System.out.println("ERRORE-->sCausale: " + sCausale);
sEsito = esito[i].getEsito()==null?"&nbsp":esito[i].getEsito();
System.out.println("ERRORE-->sEsito: " + sEsito);
if(sEsito.equalsIgnoreCase("&nbsp"))iContaRicOK = iContaRicOK + 1;
%>
<TR>
<TD><P class = "normale"><%=sRichiesta%></P></TD>
<%if(sEsito.equalsIgnoreCase("&nbsp")){%>
<TD colspan="2"><P class = "normale">OK</P></TD>
<!--TD><P class = "normale"><%=sCausale%></P></TD-->
<%}else{%>
<TD><FONT class = "fontAlert"><%=sEsito%></FONT></TD>
<TD><FONT class = "fontAlert"><%=sCausale%></FONT></TD>
<%}%>
</TR>
<%}%>
</TABLE>
<%}%>
<!-- pulsanti -->
<BR><BR><HR class = "riga">
<TABLE width = "100%" border = "0">
<TR>
<%if((sEsito.equals("&nbsp")) && (iContaRicOK > 0)) {%>
<!--TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnIfoRich" VALUE= " OK "></TD-->
<%}%>
<TD ALIGN= "CENTER"><INPUT TYPE= "button" NAME= "btnAnnulla" VALUE= "Annulla" onClick = "annullaInvioFS()"></TD>
</TR>
</TABLE>
</FORM>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,140 @@
<%@page import = "java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
<%@page import = "java.awt.print.*"%>
<%@page import = "mnp.database.*,mnp.utility.ui.PageLoader"%>
<%@page import = "mnp.objects.*, mnp.utility.ui.Res"%>
<HTML>
<TITLE>Mnp</TITLE>
<BODY>
<jsp:useBean id="inviaBean" scope="request" class="mnp.objects.ui.InviaBean"/>
<%
PageLoader pageLoader = new PageLoader();
String[] olo = pageLoader.getDestinatario();
int[] arrTipoFile = null;
String[] arrTipoProcesso = pageLoader.getTipoProcesso();
arrTipoFile = new int[]{-1};
String sTipoProcesso = "";
String sInputFile = "";
String sIsDestSceltaMultipla = "";
//--------------------------------------------------------------------/
// sTipoProcesso è il valore della combo box cmbTipoProcesso
// che viene passato al file degli script VerificheScript.txt
// che a sua volta(dopo aver fatto il submit)lo ritorna x caricare
// la combo dei tipi file congruenti al tipo processo selezionato.
//--------------------------------------------------------------------/
sInputFile = request.getParameter("inputFile")==null?"":request.getParameter("inputFile");
sTipoProcesso = request.getParameter("sTipoProcessoSpec")==null?"":request.getParameter("sTipoProcessoSpec");
if( (sTipoProcesso!=null)&&(!sTipoProcesso.equals("")) ){
//Se il tipo processo è CESSAZIONE o PORTING la combo dei destinatari deve permettere
//la multi-selezione.
sIsDestSceltaMultipla = pageLoader.isMultipleDestProc(sTipoProcesso);
//carico array dei tipi file
arrTipoFile = pageLoader.getTipoFileSpecifico(sTipoProcesso);
}else{
arrTipoFile = pageLoader.getTipoFileSpecifico("D"); // DA MODIFICARE PERCHE FA SCHIFO!!!!
}
%>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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">INVIA FILE</P></i></b>
<FORM NAME= "frmSpedisci" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" onSubmit = "return checkPageSpedisci(this)">
<!-- dati -->
<TABLE width = "100%" BORDER= "1" class ="border">
<TR>
<TD nowrap><P class = "normale"> Tipo PROCESSO </P> </TD>
<TD nowrap><SELECT NAME= "cmbTipoProcesso" onChange = "ricaricaPagina(this.name,this.value,'<%=Res.ApplContext%>');">
<%for(int i = 0;i<arrTipoProcesso.length;i++){
String sTipoPro = arrTipoProcesso[i];
String sIsSelected = "";//se è = al tipo passato devo selezionarlo.
if(sTipoPro.equals(sTipoProcesso))sIsSelected = "SELECTED";%>
<OPTION VALUE = '<%=sTipoPro%>' <%=sIsSelected%> >
<%=pageLoader.tipoProcesso2String(arrTipoProcesso[i])%>
</OPTION>
<%}%>
</SELECT>
&nbsp;<FONT class = "fontNormale">Selezionare prima il Tipo Processo.</FONT>
</TD>
</TR>
<TR><TD COLSPAN = "2" >&nbsp</TD></TR>
<TR>
<TD><P class = "normale">Seleziona Richiesta </P></TD>
<TD><INPUT TYPE="file" NAME='inputFile' VALUE ='<%=sInputFile%>'></TD>
</TR>
<TR>
<TD><P class = "normale"> Tipo FILE </P> </TD>
<TD><SELECT NAME= "cmbTipoFile">
<%for(int i = 0;i<arrTipoFile.length;i++){%>
<OPTION VALUE = '<%=arrTipoFile[i]%>'>
<%=pageLoader.tipoFileInt2String(arrTipoFile[i])%>
</OPTION>
<%}%>
</SELECT>
</TD>
</TR>
<TR>
<TD><P class = "normale"> Destinatario </P> </TD>
<TD><SELECT NAME= "cmbDestinatario" <%=sIsDestSceltaMultipla%> >
<%for (int i = 0; i <olo.length;i++){
String sDescrOlo = olo[i];%>
<OPTION VALUE = '<%=sDescrOlo%>'> <%=sDescrOlo%> </OPTION>
<%}%>
</SELECT>
</TD>
</TR>
<TR><TD COLSPAN = "2" >&nbsp</TD></TR>
<TR>
<TD COLSPAN = "2" ><P class = "normale"> Modalit&agrave; Invio </P> </TD>
</TR>
<TR>
<TD COLSPAN = "2"><P class = "normale"><INPUT TYPE="radio" NAME="selectRadio" VALUE = "HTTPS"> HTTPS </P></TD>
</TR>
<TR>
<TD COLSPAN = "2"><P class = "normale"><INPUT TYPE="radio" NAME="selectRadio" VALUE = "FILE" checked> FILE</P></TD>
</TR>
</TABLE>
<BR>
<!-- pulsanti -->
<BR><BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnGenera" VALUE= " INVIA "></TD>
<INPUT TYPE="hidden" NAME="pageInvio">
</TR>
</TABLE>
</FORM>
<!-- tabella x menu -->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,196 @@
<%@page import="java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
<%@page import="java.awt.print.*"%>
<%@page import="mnp.database.*,mnp.utility.ui.PageLoader"%>
<%@page import="mnp.objects.*, mnp.utility.ui.Res, mnp.objects.ui.InvioAttivazioneGispBean"%>
<%@page import="mnp.objects.ui.SimulazInvioEsitoGispBean"%>
<%@page import="java.text.DateFormat, java.text.SimpleDateFormat"%>
<HTML>
<TITLE>Mnp</TITLE>
<BODY>
<script type="text/javascript" src="popcalendar.js">
</script>
<%
PageLoader pageLoader = new PageLoader();
SimulazInvioEsitoGispBean richiesta = new SimulazInvioEsitoGispBean ();
String codTipoProcesso = "";
String tipoProcesso = "";
String idRichiesta = "";
if (session.getAttribute("invioEsitiGISPBean")!=null) {
richiesta = (SimulazInvioEsitoGispBean)session.getAttribute("invioEsitiGISPBean");
codTipoProcesso=richiesta.getTipoProcesso();
tipoProcesso=pageLoader.getTipoProcessoSimulazioneInvioEsitiGisp(codTipoProcesso);
idRichiesta=richiesta.getIDRichiesta();
}
InvioAttivazioneGispBean gispBean = pageLoader.getAttivazioneGispBean(idRichiesta);
String nomeRichiesta="DBC_ATTIVGSM";
String cas="DBC";
String numTel="";
java.util.Date dataEspl=null;
String imsi="";
String profilo="";
String interna="";
String tid=idRichiesta;
if(gispBean!=null){
nomeRichiesta=gispBean.getNomeRichiesta()!=null?gispBean.getNomeRichiesta():"DBC_ATTIVGSM";
cas=gispBean.getCas()!=null?gispBean.getCas():"DBC";
numTel=gispBean.getNumTel()!=null?gispBean.getNumTel():"";
dataEspl=gispBean.getDataEspl()!=null?gispBean.getDataEspl():null;
imsi=gispBean.getImsi()!=null?gispBean.getImsi():"";
tid=gispBean.getTid()!=null?gispBean.getTid():idRichiesta;
profilo = gispBean.getProfilo()!=null?gispBean.getProfilo():"";
interna = gispBean.getInterna()!=null?gispBean.getInterna():"";
}
else {
InvioAttivazioneGispBean gispBeanParziale = pageLoader.getAttivazioneGispBeanForTipoProcesso(codTipoProcesso,idRichiesta);
if(gispBeanParziale!=null){
imsi=gispBeanParziale.getImsi()!=null?gispBeanParziale.getImsi():"";
profilo = gispBeanParziale.getProfilo()!=null?gispBeanParziale.getProfilo():"";
}
}
DateFormat df = new SimpleDateFormat("dd/MM/yyyy");
String txtDate = dataEspl!=null?df.format(dataEspl):"";
%>
<script>
function doAnnulla(){
document.getElementById('frmNomeRichiesta').value="<%=nomeRichiesta%>";
document.getElementById('frmCas').value="<%=cas%>";
document.getElementById('frmNumTel').value="<%=numTel%>";
document.getElementById('frmDataEspl').value="<%=txtDate%>";
document.getElementById('frmImsi').value="<%=imsi%>";
document.getElementById('frmProfilo').value="<%=profilo%>";
document.getElementById('frmTid').value="<%=tid%>";
document.getElementById('frmInterna').value="<%=interna%>";
return false;
}
function myShowCalendar(){
var f = document.getElementById('frmDataEspl');
format="dd/mm/yyyy";
popUpCalendar(f, f, format);
}
function doCheckForm(frm){
if(frm.frmNumTel.value==''){
alert("Campo Numero Telefonico obbligatorio");
return false;
}
return true;
}
</script>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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">FORZATURA GISP - RICHIESTA ATTIVAZIONE</P></i></b>
<FORM NAME= "frmSpedisci" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" onSubmit = "return doCheckForm(this)">
<INPUT TYPE= "hidden" NAME= "pageInvioAttivazioneGisp"></INPUT>
<INPUT TYPE= "hidden" NAME= "frmTidHidden" value="<%=tid%>"></INPUT>
<INPUT TYPE= "hidden" NAME= "frmNomeRichiestaHidden" value="<%=nomeRichiesta%>"></INPUT>
<INPUT TYPE= "hidden" NAME= "frmCasHidden" value="<%=cas%>"></INPUT>
<!-- 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= "frmNomeRichiesta" value="<%=nomeRichiesta%>" disabled='disabled'></INPUT></P>
</TD>
</TR>
<TR>
<TD nowrap><P class = "normale"> CAS </P>
</TD>
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "frmCas" value="<%=cas%>" disabled="disabled" ></INPUT></P>
</TD>
</TR>
<TR>
<TD nowrap><P class = "normale">TID</P>
</TD>
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "frmTid" value="<%=tid%>" disabled="disabled"></INPUT></P>
</TD>
</TR>
<TR>
<TD nowrap><P class = "normale"> Num. Tel </P>
</TD>
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "frmNumTel" value="<%=numTel%>" maxlength="13"></INPUT></P>
</TD>
</TR>
<TR>
<TD nowrap width="10%"><P class = "normale">Data Espletamento</P></TD>
<TD nowrap width="60%">
<P class = "normale"><INPUT TYPE= "text" NAME= "frmDataEspl" value="<%=txtDate%>" length="20" maxlength="10" id="ifrmDataEspl" onBlur ='checkData(this,this.value)'></INPUT>
<a style="text-decoration=none" href="javascript:myShowCalendar()">
<img border=0 src="/mnp/images/cal/cal.gif" class="calendar" alt="cal"/>
</a></P>
</TD>
</TR>
<TR>
<TD nowrap><P class = "normale"> IMSI </P>
</TD>
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "frmImsi" value="<%=imsi%>" maxlength="15"></INPUT></P>
</TD>
</TR>
<TR>
<TD nowrap><P class = "normale">Profilo</P>
</TD>
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "frmProfilo" value="<%=profilo%>" maxlength="4"></INPUT></P>
</TD>
</TR>
<TR>
<TD nowrap><P class = "normale">Interna</P>
</TD>
<TD nowrap><P class = "normale">
<SELECT NAME= "frmInterna" >
<% if (interna.equals("S")) { %>
<OPTION VALUE = 'S' SELECTED>S</OPTION>
<%} else {%>
<OPTION VALUE = 'S' >S</OPTION>
<%}%>
<% if (interna.equals("N")) { %>
<OPTION VALUE = 'N' SELECTED>N</OPTION>
<%} else {%>
<OPTION VALUE = 'N' >N</OPTION>
<%}%>
</SELECT></P>
</TD>
</TR>
<BR>
<!-- pulsanti -->
<BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "button" NAME= "btnAnnulla" VALUE= " ANNULLA " onClick="return doAnnulla();"></TD>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnSubmit" VALUE= " ACQUISISCI " ></TD>
</TR>
</TABLE>
</TABLE>
</FORM>
<!-- tabella x menu -->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,161 @@
<%@page import="java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
<%@page import="java.awt.print.*"%>
<%@page import="mnp.database.*,mnp.utility.ui.PageLoader, mnp.objects.ui.InvioCessazioneGispBean"%>
<%@page import="mnp.objects.*, mnp.utility.ui.Res"%>
<%@page import="mnp.objects.ui.SimulazInvioEsitoGispBean"%>
<%@page import="java.text.DateFormat, java.text.SimpleDateFormat"%>
<HTML>
<TITLE>Mnp</TITLE>
<BODY>
<%
PageLoader pageLoader = new PageLoader();
SimulazInvioEsitoGispBean richiesta = new SimulazInvioEsitoGispBean ();
if (session.getAttribute("invioEsitiGISPBean")!=null)
richiesta = (SimulazInvioEsitoGispBean)session.getAttribute("invioEsitiGISPBean");
//String codTipoProcesso=request.getParameter("tipoProcesso");
String codTipoProcesso=richiesta.getTipoProcesso();
String tipoProcesso;
tipoProcesso=pageLoader.getTipoProcessoSimulazioneInvioEsitiGisp(codTipoProcesso);
//if(codTipoProcesso=="D")
// tipoProcesso="Donor MVNO";
//else
// tipoProcesso="Recipient virtuale MVNO2MVNO";
//String idRichiesta=request.getParameter("idRichiesta");
String idRichiesta=richiesta.getIDRichiesta();
InvioCessazioneGispBean gispBean = pageLoader.getCsszBean(idRichiesta);
String nomeRichiesta="";
String cas="";
String numTel="";
String oloCode="";
String tid=idRichiesta;
nomeRichiesta=gispBean.getNomeRichiesta()!=null?gispBean.getNomeRichiesta():"DBC_DISATMNPG";
cas=gispBean.getCas()!=null?gispBean.getCas():"DBC";
numTel=gispBean.getNumTel()!=null?gispBean.getNumTel():"";
java.util.Date dataEspl=gispBean.getDataEspl()!=null?gispBean.getDataEspl():null;
oloCode=gispBean.getOloCode()!=null?gispBean.getOloCode():"";
if(oloCode==""){
oloCode=pageLoader.getOloCodeByRichiestaProcesso(idRichiesta,codTipoProcesso);
}
DateFormat df = new SimpleDateFormat("dd/MM/yyyy");
String txtDate = dataEspl!=null?df.format(dataEspl):"";
%>
<script type="text/javascript" language="javascript" src="util.js"></script>
<script type="text/javascript" src="popcalendar.js"></script>
<script>
function doAnnulla(){
document.forms[0].frmOloCode.value="<%=oloCode%>";
document.forms[0].frmDataEspl.value="<%=txtDate%>";
document.forms[0].frmNumTel.value="<%=numTel%>";
return false;
}
function myShowCalendar(){
var f = document.getElementById('frmDataEspl');
format="dd/mm/yyyy";
popUpCalendar(f, f, format);
}
function doCheckForm(frm){
if(frm.frmOloCode.value==''){
alert("Campo Olo COD obbligatorio");
return false;
}
if(frm.frmNumTel.value==''){
alert("Campo Numero Telefonico obbligatorio");
return false;
}
return true;
}
</script>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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">FORZATURA GISP - RICHIESTA CESSAZIONE</P></i></b>
<FORM NAME= "frmInvioCesszGisp" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" onSubmit="return doCheckForm(this)">
<!-- per riconoscere che pagina è -->
<INPUT TYPE= "hidden" NAME= "pageInvioCessazioneGisp"></INPUT>
<INPUT TYPE= "hidden" NAME= "frmTidHidden" value="<%=tid%>"></INPUT>
<INPUT TYPE= "hidden" NAME= "frmNomeRichiestaHidden" value="<%=nomeRichiesta%>"></INPUT>
<INPUT TYPE= "hidden" NAME= "frmCasHidden" value="<%=cas%>"></INPUT>
<!-- dati -->
<TABLE width = "100%" BORDER= "1" class ="border">
<TR>
<TD nowrap width="10%"><P class = "normale">Tipo Processo</P></TD>
<TD nowrap width="60%"><INPUT TYPE= "text" NAME= "frmProcesso" value="<%=tipoProcesso %>" disabled="disabled" width="50"></INPUT></TD>
</tr>
<tr>
<TD nowrap width="10%"><P class = "normale">TID/ID Richiesta</P></TD>
<TD nowrap width="60%"><INPUT TYPE= "text" NAME= "frmTid" value="<%=tid%>" disabled="disabled" maxlength="23" width="50"></INPUT></TD>
</TR>
<TR>
<TD nowrap width="10%"><P class = "normale">Nome Richiesta</P></TD>
<TD nowrap width="60%"><P class = "normale"><INPUT TYPE= "text" NAME= "frmNomeRichiesta" value="<%=nomeRichiesta%>" disabled="disabled"></INPUT></P></TD>
</tr>
<tr>
<TD nowrap width="10%"><P class = "normale">Cas</P></TD>
<TD nowrap width="60%"><P class = "normale"><INPUT TYPE= "text" NAME= "frmCas" value="<%=cas%>" disabled="disabled" maxlength="3"></INPUT></P></TD>
</tr>
<tr>
<TD nowrap width="10%"><P class = "normale">Cod.Olo</P></TD>
<TD nowrap width="60%"><P class = "normale"><INPUT TYPE= "text" NAME= "frmOloCode" value="<%=oloCode%>" maxlength="4"></INPUT></P></TD>
</TR>
<tr>
<TD nowrap width="10%"><P class = "normale">Data Espletamento</P></TD>
<TD nowrap width="60%">
<P class = "normale"><INPUT TYPE= "text" NAME= "frmDataEspl" value="<%=txtDate%>" length="20" maxlength="10" id="ifrmDataEspl" onBlur ='checkData(this,this.value)'></INPUT>
<a style="text-decoration=none" href="javascript:myShowCalendar()">
<img border=0 src="/mnp/images/cal/cal.gif" class="calendar" alt="cal"/>
</a></P>
</TD>
</tr>
<tr>
<TD nowrap width="10%"><P class = "normale">Num. Tel.</P></TD>
<TD width="15%"><P class = "normale"><INPUT TYPE= "text" NAME= "frmNumTel" value="<%=numTel%>" maxlength="13" ></INPUT></P></TD>
</TR>
<TR><TD colspan="7">&nbsp;</TD></TR>
</TABLE>
<BR>
<!-- pulsanti -->
<BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "button" NAME= "btnAnnulla" VALUE= " ANNULLA " onClick="return doAnnulla();"></TD>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnInvioCessazioneGisp" VALUE= " ACQUISISCI "></TD>
</TR>
</TABLE>
</FORM>
<!-- tabella x menu -->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,146 @@
<%@page import = "java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
<%@page import = "java.awt.print.*"%>
<%@page import = "mnp.database.*,mnp.utility.ui.PageLoader"%>
<%@page import = "mnp.objects.*, mnp.utility.ui.Res"%>
<%@page import = "mnp.objects.ui.SimulazInvioEsitoGispBean"%>
<jsp:include page="/jsp/VerificheScript.txt" flush = "true"/>
<HTML>
<TITLE>Mnp</TITLE>
<BODY>
<jsp:useBean id="SimulazInvioEsitoGispBean" scope="request" class="mnp.objects.ui.SimulazInvioEsitoGispBean"/>
<%
PageLoader pageLoader = new PageLoader();
String[] arrTipoProcesso = pageLoader.getTipoProcessoSimulazioneInvioEsitiGispCod();
//--------------------------------------------------------------------/
// sTipoProcesso è il valore della combo box cmbTipoProcesso
// che viene passato al file degli script VerificheScript.txt
// che a sua volta(dopo aver fatto il submit)lo ritorna x caricare
// la combo dei tipi file congruenti al tipo processo selezionato.
//--------------------------------------------------------------------/
SimulazInvioEsitoGispBean richiesta = new SimulazInvioEsitoGispBean ();
if (session.getAttribute("invioEsitiGISPBean")!=null)
richiesta = (SimulazInvioEsitoGispBean)session.getAttribute("invioEsitiGISPBean");
String sInputFile = richiesta.getIDRichiesta()!=null?richiesta.getIDRichiesta():"";
richiesta.setIDRichiesta(richiesta.getIDRichiesta()!=null?richiesta.getIDRichiesta():"");
String sDescrizione = richiesta.getTipoProcesso()!=null?richiesta.getTipoProcesso():"";
String codiceErrore = "";
String errore = "";
if (session.getAttribute("tipologiaErrore")!=null&&!session.getAttribute("tipologiaErrore").equals("")) {
codiceErrore = (String)session.getAttribute("tipologiaErrore");
if (codiceErrore.equals("1")) {
errore = "Richiesta non trovata sul database";
session.setAttribute("tipologiaErrore", "");
} else if (codiceErrore.equals("2")) {
errore = "Stato della richiesta non congruente";
session.setAttribute("tipologiaErrore", "");
} else if (codiceErrore.equals("3")) {
errore = "Simulazione effettuata con successo";
session.setAttribute("tipologiaErrore", "");
} else if (codiceErrore.equals("4")) {
errore = "Simulazione non effettuata";
session.setAttribute("tipologiaErrore", "");
}
}
// if(!(sTipoProcesso==null)&& !(SimulazInvioEsitoGispBean.getIDRichiesta()==null) ) {
//SimulazInvioEsitoGispBean gispBean = pageLoader.getCtrIDRichBean(SimulazInvioEsitoGispBean.getIDRichiesta(),sTipoProcesso);
// System.out.println("GISP BEAN : " + gispBean);
//}
%>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR> <td width = "100%" bgcolor = "#D61414">&nbsp</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 = 'right'>SIMULAZIONE INVIO ESITI GISP</P></i></b>
<FORM NAME= "frmInvioEsitiGisp" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" onSubmit = "return checkPageSimulEsitoGisp(this)">
<!-- dati -->
<TABLE width = "100%" BORDER= "1" class ="border">
<TR>
<TD><P class = "alert"> <%=errore%> </P></TD>
</TR>
<TR>
<TD><P class = "normale">ID Richiesta </P></TD>
<TD><INPUT TYPE="text" NAME='inputFileGISP' VALUE ='<%=richiesta.getIDRichiesta()%>'></TD>
</tr>
<tr>
<TD><P class = "normale">Tipo Processo </P></TD>
<TD nowrap><SELECT NAME= "cmbTipoProcessoGISP" >
<%
System.out.println("VALORIZZAZIONE ARRAY TIPO PROCESSO : " + arrTipoProcesso.length);
for(int i = 0;i<arrTipoProcesso.length;i++){
richiesta.setTipoProcesso(arrTipoProcesso[i]);
String sIsSelected = "";//se è = al tipo passato devo selezionarlo.
if(richiesta.getTipoProcesso().equals(sDescrizione))sIsSelected = "SELECTED";%>
<OPTION VALUE = '<%=richiesta.getTipoProcesso()%>' <%=sIsSelected%> >
<%=pageLoader.getTipoProcessoSimulazioneInvioEsitiGisp(arrTipoProcesso[i])%>
</OPTION>
<%}%>
</SELECT>
</TD>
</TR>
</TABLE>
<BR>
<!-- pulsanti -->
<BR><BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnInvioGISP" VALUE= " INVIA "></TD>
<INPUT TYPE="hidden" NAME="pageIGISP">
</TR>
</TABLE>
</FORM>
<!-- tabella x menu -->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,116 @@
<%@page import = "java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
<%@page import = "java.awt.print.*"%>
<%@page import = "mnp.database.*,mnp.utility.ui.PageLoader"%>
<%@page import = "mnp.objects.*, mnp.utility.ui.Res"%>
<HTML>
<TITLE>Mnp</TITLE>
<BODY>
<jsp:useBean id="inviaBean" scope="request" class="mnp.objects.ui.RecuperoFSBean"/>
<%
PageLoader pageLoader = new PageLoader();
String[] olo = pageLoader.getDestinatario();
int[] arrTipoFile = null;
// String[] arrTipoProcesso = pageLoader.getTipoProcesso();
arrTipoFile = new int[]{-1};
// String sTipoProcesso = "";
String sInputFile = "";
//String sIsDestSceltaMultipla = "";
//--------------------------------------------------------------------/
// sTipoProcesso è il valore della combo box cmbTipoProcesso
// che viene passato al file degli script VerificheScript.txt
// che a sua volta(dopo aver fatto il submit)lo ritorna x caricare
// la combo dei tipi file congruenti al tipo processo selezionato.
//--------------------------------------------------------------------/
sInputFile = request.getParameter("inputFile")==null?"":request.getParameter("inputFile");
System.out.println("-- -- -->sInputFile: " + sInputFile);
arrTipoFile = pageLoader.getTipoFileForRecuperoFS();
%>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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">RECUPERI FUORI STANDARD</P></i></b>
<FORM NAME= "frmSpedisci" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" onSubmit = "return checkPageSpedisci(this)">
<!-- dati -->
<TABLE width = "100%" BORDER= "1" class ="border">
<TR><TD COLSPAN = "2" >&nbsp</TD></TR>
<TR>
<TD><P class = "normale"> Seleziona File XML </P></TD>
<TD><INPUT TYPE="file" NAME='inputFile' VALUE ='<%=sInputFile%>'></TD>
</TR>
<TR>
<TD><P class = "normale"> Tipo FILE </P> </TD>
<TD><SELECT NAME= "cmbTipoFile">
<%for(int i = 0;i<arrTipoFile.length;i++){%>
<OPTION VALUE = '<%=arrTipoFile[i]%>'>
<%=pageLoader.tipoFileInt2String(arrTipoFile[i])%>
</OPTION>
<%}%>
</SELECT>
</TD>
</TR>
<TR>
<TD><P class = "normale"> Destinatario </P> </TD>
<TD><SELECT NAME= "cmbDestinatario">
<%for (int i = 0; i <olo.length;i++){
String sDescrOlo = olo[i];%>
<OPTION VALUE = '<%=sDescrOlo%>'> <%=sDescrOlo%> </OPTION>
<%}%>
</SELECT>
</TD>
</TR>
<!--
<TR><TD COLSPAN = "2" >&nbsp</TD></TR>
<TR>
<TD COLSPAN = "2" ><P class = "normale"> Modalit&agrave; Invio </P> </TD>
</TR>
<TR>
<TD COLSPAN = "2"><P class = "normale"><INPUT TYPE="radio" NAME="selectRadio" VALUE = "HTTPS"> HTTPS </P></TD>
</TR>
<TR>
<TD COLSPAN = "2"><P class = "normale"><INPUT TYPE="radio" NAME="selectRadio" VALUE = "FILE" checked> FILE</P></TD>
</TR>
-->
</TABLE>
<BR>
<!-- pulsanti -->
<BR><BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnGeneraFS" VALUE= " INVIA "></TD>
<INPUT TYPE="hidden" NAME="pageRecFS">
</TR>
</TABLE>
</FORM>
<!-- tabella x menu -->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,142 @@
<%@page import = "java.io.File"%>
<%@page import = "mnp.utility.ui.Res"%>
<%@page import = "mnp.objects.ui.ListaFileBean"%>
<jsp:useBean id="listaFileBean" scope="request" class="mnp.objects.ui.ListaFileBean"/>
<%
//inizio modifica x download zip
if(request.getParameter("btnDownloadFile")!=null) {
String fullPath = request.getParameter("fullPath");
String contentDisp = "attachment;filename="+fullPath.substring(fullPath.lastIndexOf(File.separator)+1);
response.setContentType("application/unknown");
response.setHeader("content-disposition", contentDisp);
out.clearBuffer();
byte[] buf = new byte[1024];
java.io.BufferedInputStream f2Send = new java.io.BufferedInputStream(new java.io.FileInputStream(fullPath));
int byteRead = -1;
java.io.OutputStream myOut = pageContext.getResponse().getOutputStream();
while((byteRead = f2Send.read(buf,0,1024)) >= 0) {
myOut.write(buf, 0, byteRead);
}
out.flush();
out.close();
return;
}
//fine modifica
else {
%>
<HTML>
<TITLE> Mnp </TITLE>
<BODY class = "normal">
<%
//Mi serve x mettere il titolo es.: Lista File Inviati
//La Stringa sDirScelta contiene : Inviati/Rinviati
String sDirScelta = listaFileBean.getNomeDir()==null?"":listaFileBean.getNomeDir();
String sEsitoOper = listaFileBean.getEsitoOperazione()== null?"pippo":listaFileBean.getEsitoOperazione();
String sNomeFileZip = listaFileBean.getNomeFileZip()==null?"pippo":listaFileBean.getNomeFileZip();
%>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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">LISTA FILE <%=sDirScelta%></P></i></b>
<%if(!sNomeFileZip.equals("pippo")){
String sPathRelativo = listaFileBean.getPathRelativoZip();
String sfullPath= listaFileBean.getPathAssolutoZip();
%>
<FORM NAME= "frmDownload" METHOD="POST" ACTION = "<%=Res.ApplContext%>/FileUploadServlet">
<TABLE width = "100%" BORDER= "1" class = "border">
<TR>
<TD><P class = "normale"><%=sNomeFileZip%></P></TD>
</TR>
</TABLE>
<BR><BR><HR class = "riga">
<!-- Bottone DOWNLOAD-->
<TABLE width = "100%" border = "0">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnDownloadFile" VALUE= "DOWNLOAD"></TD>
</TR>
</TABLE>
<input type='hidden' name='fullPath' value='<%=sfullPath%>'>
</FORM>
<%}else{%>
<!-- Se l'esito operazio NON è valorizzato posso inserire nella tabella
l'array dei file -->
<%if(sEsitoOper.equals("pippo")){%>
<!-- TABELLA FILE -->
<FORM NAME= "frmListaFile" METHOD="POST" ACTION = "<%=Res.ApplContext%>/FileUploadServlet" onSubmit = "return checkListaFile()">
<TABLE width = "100%" BORDER= "1" class = "border">
<%for(int i = 0;i<listaFileBean.getPathAssoluto().length;i++){
String sNomeFile = listaFileBean.getNomeFileSenzaUtente()==null?"":listaFileBean.getNomeFileSenzaUtente()[i];
String sPath = listaFileBean.getPathAssoluto()==null?"":listaFileBean.getPathAssoluto()[i];
%>
<TR>
<TD><P class = "normale"><%=sNomeFile%></P></TD>
<TD ALIGN="center" width="5%">
<INPUT TYPE="checkbox" NAME="chkFile" VALUE = "<%=sPath%>">
</TD>
</TR>
<%}%>
</TABLE>
<BR><BR><HR class = "riga">
<!-- Bottone DOWNLOAD-->
<TABLE width = "100%" border = "0">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnDownload" VALUE= " DOWNLOAD "></TD>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnDeleteFile" VALUE= "ELIMINA FILE SELEZIONATI"></TD>
</TR>
</TABLE>
</FORM>
<!-- FINE TABELLA FILE -->
<%}else{%>
<!-- Visualizzo una tabella che contiene solo il campo esito operazione-->
<TABLE width = "100%" BORDER= "1" class = "border">
<TR>
<TD><FONT class = "fontAlert">
Esito Operazione : <%=sEsitoOper%> </FONT></TD>
</TR>
</TABLE>
<BR><BR><HR class = "riga">
<TABLE width = "100%" border = "0">
<TR>
<TD ALIGN= "CENTER"><P class = "normale">
<A class = "linkPage" HREF="<%=Res.ApplContext%>/MainDispatcher?nomePagina=Dir"> << Back </A></P></TD>
</TR>
</TABLE>
<%}%>
<%}%>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>
<%
}// fine else "download"
%>

View File

@@ -0,0 +1,130 @@
<%@page errorPage="ErrorPage.jsp" %>
<%@page import = "java.util.*, mnp.exception.*, mnp.objects.ui.*,mnp.utility.ui.Res,mnp.servlets.util.SessionManager"%>
<html>
<head>
<title>Pagina di Log-In</title>
<%
// Ripulisco eventualmente la sessione
System.out.println("isNew :"+request.getSession(false).isNew());
Enumeration e = session.getAttributeNames();
while(e.hasMoreElements()) {
session.removeAttribute((String)e.nextElement());
}
%>
<jsp:useBean id="LoginBean" scope="session" class="mnp.objects.ui.LoginBean" />
<jsp:setProperty name="LoginBean" property="*" />
</head>
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/normal.css" >
<BODY class = "normal">
<%
Res.ApplContext = request.getContextPath();
Res.ReqURL = "https://" + request.getServerName()+":"+
request.getServerPort()+
request.getContextPath();
//Res.ResAbsPath = pageContext.getServletContext().getInitParameter("applPath");
//if(true) throw new Exception("pippo");
System.out.println("Res.ApplContext :"+Res.ApplContext);
System.out.println("Res.ReqURL : "+Res.ReqURL);
System.out.println("Res.ResAbsPath : "+Res.ResAbsPath);
if(request.getParameter("Send")!=null) {
String IP = request.getRemoteAddr();
int retCode = LoginBean.checkUser();
/* * 1: login ok
* 0: errore interno
* -1: utente sconosciuto
* -2: utente già loggato
* -3: password errata
*/
//Se la sessione è vecchia NON mi interessa se l _utente è
//già Loggato...vado avanti....!
/*
System.out.println(" E' una sessione nuova : "+session.isNew());
System.out.println(" codice : "+retCode);
if( (!session.isNew()) && (retCode == -2) ){
retCode = 1;
}
*/
if(retCode!=1){
switch(retCode) {
case -3: throw new BadPasswordException();
case -2: throw new userLoggedException();
case -1: throw new userUnknownException();
case 0 :
default: throw new Exception("Errore interno");
}
}
session.setAttribute("sessionManager", new SessionManager(LoginBean.getUserID()));
%>
<jsp:forward page="/MainDispatcher"/>
<%}%>
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</td><TR>
</table>
<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%">
<BR>
<i><b><FONT face = "Times New Roman" color = "#455598" size = 4 weight = "700">MNP-CANALE ALTERNATIVO</Font></b></i>
<form method="post" action="<%=Res.ApplContext%>/jsp/Login.jsp" name="">
<TABLE border = 0 align = "center" width = "100%">
<BR>
<TR>
<TD align = "center" colspan = "3"><FONT face = "Arial" color = "#455598" size = 4><b><u>MNP</u></b></font></TD>
</TR>
<TR><TD colspan = "3" >&nbsp</TD></TR>
<TR><TD colspan = "3" >&nbsp</TD></TR>
<TR>
<TD align = "center" colspan = "3" ><FONT face = "Arial" color = "#455598" size = 2><b><u>UserID :</u></b></FONT></TD>
</TR>
<TD align = "center" colspan = "3" ><input type="text" name="userID"></TD>
</TR>
<TR>
<TD align = "center" colspan = "3" ><FONT face = "Arial" color = "#455598" size = 2><b><u>Password :</u></b></FONT></TD>
</TR>
<TR>
<TD align = "center" colspan = "3" ><input type="password" name="password"></TD>
</TR>
<TR><TD colspan = "3">&nbsp</TD></TR>
<TR>
<TD align = "center" colspan = "3" ><input type="submit" name="Send" value=" Log-In "></TD>
</TR>
<TR><TD colspan = "3">&nbsp</TD></TR>
<tr><td>&nbsp</td></tr>
<tr><td>&nbsp</td></tr>
<tr><td>&nbsp</td></tr>
<tr><td>&nbsp</td></tr>
<tr><td>&nbsp</td></tr>
<tr><td>&nbsp</td></tr>
<tr><td>&nbsp</td></tr>
<tr><td>&nbsp</td></tr>
</TABLE>
<!-- </td></tr></table> -->
</form>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
<!-- <hr class = "riga"> -->
<!-- tabella x menu -->
</body>
</html>

View File

@@ -0,0 +1,30 @@
<HTML>
<head>
<TITLE>
Mnp
</TITLE>
<%@page import = "mnp.objects.*, mnp.utility.ui.Res"%>
<BODY>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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">BENVENUTI NEL SISTEMA ASSURANCE DI MNP</P></i></b>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,30 @@
<HTML>
<head>
<TITLE>
Mnp
</TITLE>
<%@page import = "mnp.objects.*, mnp.utility.ui.Res"%>
<BODY>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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">MNP - CANALE ALTERNATIVO</P></i></b>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,30 @@
<HTML>
<head>
<TITLE>
Mnp
</TITLE>
<%@page import = "mnp.objects.*, mnp.utility.ui.Res"%>
<BODY>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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><P class = "titolo">MNP - FORZATURA PREVALIDAZIONI</P></i></b>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,83 @@
<%@page import = "java.io.*"%>
<%@page import = "mnp.utility.ui.Res,mnp.utility.ui.Global"%>
<jsp:useBean id="reinviaBean" scope="request" class="mnp.objects.ui.ReinviaBean" />
<!--jsp:setProperty name="reinviaBean" property="*" /-->
<!--
Reinvia.jsp
@Autore: Alessia Streglio
@Data : 14/02/2003
-->
<HTML>
<TITLE>
Mnp
</TITLE>
<BODY>
<!-- intestazione -->
<%
String sEsito = reinviaBean.getEsito()==null?"":reinviaBean.getEsito();
String sNomeFile = reinviaBean.getNomeFile()==null?"":reinviaBean.getNomeFile();
%>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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">RINVIA FILE</P></i></b>
<FORM NAME= "frmSpedisci" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" onSubmit = "return checkPageReinvia(this)">
<!-- dati -->
<TABLE width = "100%" BORDER= "1" class = "border">
<TR>
<TD><P class = "normale">Immetti nome File </P></TD>
<TD><INPUT TYPE="text" NAME="txtFile" SIZE ="30" VALUE = "<%=sNomeFile%>"></TD>
</TR>
<TR><TD COLSPAN = "2" >&nbsp</TD></TR>
<TR>
<TD COLSPAN = "2" ><P class = "normale"> Modalit&agrave; Rinvio</P></TD>
</TR>
<TR>
<TD COLSPAN = "2"><P class = "normale"><INPUT TYPE="radio" NAME="selectRadio" VALUE = "<%=Global.HTTPS%>"> HTTPS</P></TD>
</TR>
<TR>
<TD COLSPAN = "2"><P class = "normale"><INPUT TYPE="radio" NAME="selectRadio" VALUE = "<%=Global.FILE%>" checked> FILE</P></TD>
</TR>
</TABLE>
<BR>
<INPUT TYPE="hidden" NAME="pageReinvia" VALUE = "reinvia">
<!-- pulsanti -->
<BR><BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnGenera" VALUE= " RINVIA "></TD>
</TR>
</TABLE>
</FORM>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,159 @@
<%@page import="java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
<%@page import="java.awt.print.*"%>
<%@page import="mnp.database.*,mnp.utility.ui.PageLoader, mnp.objects.ui.RicezioneAttCessGispBean,mnp.objects.ui.RicezioneEsitiGISPBean"%>
<%@page import="mnp.objects.*, mnp.utility.ui.Res"%>
<%@page import="java.text.DateFormat, java.text.SimpleDateFormat"%>
<HTML>
<TITLE>Mnp</TITLE>
<BODY>
<jsp:useBean id="ricezioneAttCessBean" scope="request" class="mnp.objects.ui.RicezioneAttCessGispBean"/>
<%
PageLoader pageLoader = new PageLoader();
RicezioneEsitiGISPBean richiesta = new RicezioneEsitiGISPBean ();
if (session.getAttribute("ricezioneEsitiGISPBean")!=null)
richiesta = (RicezioneEsitiGISPBean)session.getAttribute("ricezioneEsitiGISPBean");
String idRichiesta = richiesta.getIdRichiesta()!=null?richiesta.getIdRichiesta():"";
String codTipoProcesso = richiesta.getProcesso()!=null?richiesta.getProcesso():"";
String nomeRichiesta=new String();
if(codTipoProcesso.equals("DONORMVNO") || codTipoProcesso.equals("MVNO2MVNOE"))
nomeRichiesta="DBC_DISATMNPG";
else
nomeRichiesta="DBC_ATTIVGSM";
RicezioneAttCessGispBean gispBean = pageLoader.getAttCessBean(idRichiesta, nomeRichiesta);
String esitoCas=gispBean.getEsitoCas()!=null?gispBean.getEsitoCas():"";
String dettaglioEsito=gispBean.getDettaglioEsito()!=null?gispBean.getDettaglioEsito():"";
String descrizioneEsito=gispBean.getDescrizioneEsito()!=null?gispBean.getDescrizioneEsito():"";
java.util.Date dataEspl=gispBean.getDataEspletamento()!=null?gispBean.getDataEspletamento():null;
String codiceRiproposizione=gispBean.getCodiceRiproposizione()!=null?gispBean.getCodiceRiproposizione():"";
if(esitoCas.equals("")){
esitoCas="001";
descrizioneEsito="ESPLETATA CORRETTAMENTE";
codiceRiproposizione=idRichiesta;
}
DateFormat df = new SimpleDateFormat("dd/MM/yyyy");
String txtDate = dataEspl!=null?df.format(dataEspl):"";
%>
<script>
function doAnnulla(){
document.getElementById('frmDataEspl').value='<%=txtDate%>';
document.getElementById('cmbEsitoCas').value='<%=esitoCas%>';
document.getElementById('cmbDettaglioEsito').value='<%=dettaglioEsito%>';
}
function modificaDescrEsito(){
var esitoCas = document.getElementById('cmbEsitoCas').value;
if (esitoCas == '001') {
document.getElementById('frmDescrizioneEsito').value='ESPLETATA CORRETTAMENTE';
document.getElementById('frmDescrizioneEsitoHidden').value='ESPLETATA CORRETTAMENTE';
} else if (esitoCas == '002') {
document.getElementById('frmDescrizioneEsito').value='ESPLETATA PARZIALMENTE';
document.getElementById('frmDescrizioneEsitoHidden').value='ESPLETATA PARZIALMENTE';
} else if (esitoCas == '003') {
document.getElementById('frmDescrizioneEsito').value='ESPLETATA PARZIALMENTE NON RIPROPONIBILE';
document.getElementById('frmDescrizioneEsitoHidden').value='ESPLETATA PARZIALMENTE NON RIPROPONIBILE';
}
}
function myShowCalendar(){
var f = document.getElementById('frmDataEspl');
format="dd/mm/yyyy";
popUpCalendar(f, f, format);
}
</script>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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">FORZATURA GISP - RISPOSTA ATTIVAZIONE/CESSAZIONE</P></i></b>
<FORM NAME= "frmRicezioneAttCessGisp" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" id="frmAttCessGisp">
<!-- per riconoscere che pagina è -->
<INPUT TYPE= "hidden" NAME= "pageRicezioneAttCessGisp"></INPUT>
<INPUT TYPE= "hidden" NAME= "frmNomeRichiestaHidden" value='<%=nomeRichiesta%>'></INPUT>
<INPUT TYPE= "hidden" NAME= "frmDescrizioneEsitoHidden" value='<%=descrizioneEsito%>'></INPUT>
<INPUT TYPE= "hidden" NAME= "frmCodiceRiproposizioneHidden" value='<%=codiceRiproposizione%>'></INPUT>
<!-- dati -->
<TABLE width = "100%" BORDER= "1" class ="border">
<TR>
<TD><P class = "normale">Nome Richiesta</P></TD>
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "frmNomeRichiesta" value="<%=nomeRichiesta%>" disabled="false"></INPUT></P></TD>
<TD><P class = "normale"> Esito Cas </P> </TD>
<TD><SELECT NAME= "cmbEsitoCas" onchange="javascript:modificaDescrEsito()">
<OPTION VALUE = '001' <%if (esitoCas.equals("001")){%>selected<%}%> >001 - OK</OPTION>
<OPTION VALUE = '002' <%if (esitoCas.equals("002")){%>selected<%}%> >002 - KO Ritenta</OPTION>
<OPTION VALUE = '003' <%if (esitoCas.equals("003")){%>selected<%}%> >003 - KO</OPTION>
</SELECT>
</TD>
<TD nowrap><P class = "normale">Dettaglio Esito</P></TD>
<TD><SELECT NAME= "cmbDettaglioEsito">
<OPTION VALUE = '' ></OPTION>
<OPTION VALUE = 'WR' <%if (dettaglioEsito.equals("WR")){%>selected<%}%> >WR</OPTION>
<OPTION VALUE = 'NR' <%if (dettaglioEsito.equals("NR")){%>selected<%}%> >NR</OPTION>
</SELECT>
</TD>
</TR>
<TR><TD colspan="6">&nbsp;</TD></TR>
<TR>
<TD width="15%"><P class = "normale">Descrizione Esito</P></TD>
<TD nowrap width="30%"><P class = "normale"><INPUT TYPE= "text" NAME= "frmDescrizioneEsito" value="<%=descrizioneEsito%>" length="40" disabled="true" id="ifrmDescrizioneEsito"></INPUT></P></TD>
<TD nowrap width="15%"><P class = "normale">Data Espletamento</P></TD>
<TD nowrap width="15%" >
<P class = "normale"><INPUT TYPE= "text" NAME= "frmDataEspl" value="<%=txtDate%>" length="20" maxlength="10" id="ifrmDataEspl" onBlur ='checkData(this,this.value)'></INPUT>
<a style="text-decoration=none" href="javascript:myShowCalendar()">
<img border=0 src="/mnp/images/cal/cal.gif" class="calendar" alt="cal"/>
</a>
</P>
</TD>
<TD width="15%"><P class = "normale">Codice Riproposizione</P></TD>
<TD width="10%"><P class = "normale"><INPUT TYPE= "text" NAME= "frmCodiceRiproposizione" value="<%=codiceRiproposizione%>" disabled="false" length="23" ></INPUT></P></TD>
</TR>
<TR><TD colspan="6">&nbsp;</TD></TR>
</TABLE>
<BR>
<!-- pulsanti -->
<BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "button" NAME= "btnAnnulla" VALUE= " ANNULLA " onClick="doAnnulla();"></TD>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnRicezioneAttCessGisp" VALUE= " ACQUISISCI "></TD>
</TR>
</TABLE>
</FORM>
<!-- tabella x menu -->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,125 @@
<%@page import = "java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
<%@page import = "java.awt.print.*"%>
<%@page import = "mnp.database.*,mnp.utility.ui.PageLoader"%>
<%@page import = "mnp.objects.*, mnp.utility.ui.Res,mnp.objects.ui.RicezioneEsitiGISPBean"%>
<jsp:include page="/jsp/VerificheScript.txt" flush = "true"/>
<HTML>
<TITLE>Mnp</TITLE>
<BODY>
<jsp:useBean id="ricezioneEsitiGISPBean" scope="request" class="mnp.objects.ui.RicezioneEsitiGISPBean"/>
<%
String[][] tipoProcesso = TipoProcesso.getValoreCombo();
//--------------------------------------------------------------------/
// sTipoProcesso è il valore della combo box cmbTipoProcesso
// che viene passato al file degli script VerificheScript.txt
// che a sua volta(dopo aver fatto il submit)lo ritorna x caricare
// la combo dei tipi file congruenti al tipo processo selezionato.
//--------------------------------------------------------------------/
RicezioneEsitiGISPBean richiesta = new RicezioneEsitiGISPBean ();
if (session.getAttribute("ricezioneEsitiGISPBean")!=null)
richiesta = (RicezioneEsitiGISPBean)session.getAttribute("ricezioneEsitiGISPBean");
String sInputFile = richiesta.getIdRichiesta()!=null?richiesta.getIdRichiesta():"";
String sDescrizione = richiesta.getProcesso()!=null?richiesta.getProcesso():"";
RicezioneEsitiGISPBean richiestaVuota = new RicezioneEsitiGISPBean();
session.setAttribute("ricezioneEsitiGISPBean",richiestaVuota);
System.out.println("-- -- -->sInputFile: " + sInputFile);
String codiceErrore = "";
String errore = "";
if (session.getAttribute("tipologiaErrore")!=null&&!session.getAttribute("tipologiaErrore").equals("")) {
codiceErrore = (String)session.getAttribute("tipologiaErrore");
if (codiceErrore.equals("1")) {
errore = "Richiesta non trovata sul database";
session.setAttribute("tipologiaErrore", "");
} else if (codiceErrore.equals("2")) {
errore = "Stato della richiesta non congruente";
session.setAttribute("tipologiaErrore", "");
} else if (codiceErrore.equals("3")) {
errore = "Simulazione effettuata con successo";
session.setAttribute("tipologiaErrore", "");
} else if (codiceErrore.equals("4")) {
errore = "Simulazione non effettuata";
session.setAttribute("tipologiaErrore", "");
}
}
%>
<!-- COPY -->
<!-- tabella che include il menu verticale -->
<!-- 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>
<!--fine tabella x menu -->
<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 RICEZIONE ESITI GISP</P></i></b>
<FORM NAME= "frmRicezione" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" onSubmit = "return checkPageSimulEsitoGisp(this)">
<!-- dati -->
<TABLE width = "100%" BORDER= "1" class ="border">
<TR>
<TD><P class = "alert"> <%=errore%> </P></TD>
</TR>
<TR>
<TD><P class = "normale"> Id Richiesta </P></TD>
<TD><INPUT TYPE="text" NAME="inputFileGISP" SIZE ="23" width="40" VALUE = "<%=sInputFile%>"></TD>
</TR>
<TR>
<TD><P class = "normale"> Processo </P> </TD>
<TD><SELECT NAME= "cmbTipoProcessoGISP">
<%for (int i = 0; i <tipoProcesso[0].length;i++){
String valore = tipoProcesso[0][i];
String descrizione = tipoProcesso[1][i];
if (valore.equals(sDescrizione)) {%>
<OPTION VALUE = '<%=valore%>' selected> <%=descrizione%> </OPTION>
<%} else {%>
<OPTION VALUE = '<%=valore%>'> <%=descrizione%> </OPTION>
<%}%>
<%}%>
</SELECT>
</TD>
</TR>
</TABLE>
<BR>
<!-- pulsanti -->
<BR><BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnRicezioneGISP" VALUE= "INVIA"></TD>
<INPUT TYPE="hidden" NAME="pageRGISP">
</TR>
</TABLE>
</FORM>
<!-- tabella x menu -->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,91 @@
<%@page import="java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
<%@page import="java.awt.print.*"%>
<%@page import="mnp.database.*,mnp.utility.ui.PageLoader, mnp.objects.ui.RicezioneAttCessGispBean,mnp.objects.ui.RicezioneEsitiGISPBean"%>
<%@page import="mnp.objects.*, mnp.utility.ui.Res"%>
<%@page import="java.text.DateFormat, java.text.SimpleDateFormat"%>
<HTML>
<TITLE>Mnp</TITLE>
<BODY>
<jsp:useBean id="ricezioneNotificaGispBean" scope="session" class="mnp.objects.ui.RicezioneNotificaGispBean"/>
<%
String txtDate = ricezioneNotificaGispBean.getDataOdierna();
%>
<script>
function doAnnulla(){
document.getElementById('frmMsisdn').value='<%=ricezioneNotificaGispBean.getMsisdn()%>';
}
function myShowCalendar(){
var f = document.getElementById('frmDataEspl');
format="dd/mm/yyyy";
popUpCalendar(f, f, format);
}
</script>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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">FORZATURA GISP - NOTIFICA ATTIVAZIONE/CESSAZIONE</P></i></b>
<FORM NAME= "frmRicezioneAttCessGisp" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" id="frmNotificaGisp">
<!-- per riconoscere che pagina è -->
<INPUT TYPE= "hidden" NAME= "pageNotificaGisp"></INPUT>
<INPUT TYPE= "hidden" NAME= "frmSysDateHidden" value='<%=txtDate%>'></INPUT>
<INPUT TYPE= "hidden" NAME= "frmTipoEvento" value='<%=ricezioneNotificaGispBean.getTipoEvento()%>'></INPUT>
<INPUT TYPE= "hidden" NAME= "frmIdRichiestaHidden" value='<%=ricezioneNotificaGispBean.getIdRichiesta()%>'></INPUT>
<INPUT TYPE= "hidden" NAME= "frmMsisdn" value='<%=ricezioneNotificaGispBean.getMsisdn()%>'></INPUT>
<!-- dati -->
<TABLE width = "100%" BORDER= "1" class ="border">
<TR>
<TD><P class = "normale">Data Invio Notifica</P></TD>
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "frmSysDate" value="<%=txtDate%>" disabled="false"></INPUT></P></TD>
</TR>
<TR>
<TD><P class = "normale">Msisdn</P></TD>
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "frmMsisdn" value="<%=ricezioneNotificaGispBean.getMsisdn()%>" length="15" maxlength="15" disabled="false"></INPUT></P></TD>
</TR>
<TR>
<TD><P class = "normale">Tipo Evento</P></TD>
<TD nowrap><P class = "normale"><INPUT TYPE= "text" NAME= "frmTipoEvento" value="<%=ricezioneNotificaGispBean.getTipoEvento()%>" disabled="false"></INPUT></P></TD>
<TR><TD colspan="6">&nbsp;</TD>
</TR>
</TABLE>
<BR>
<!-- pulsanti -->
<BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "button" NAME= "btnAnnulla" VALUE= " ANNULLA " onClick="doAnnulla();"></TD>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnNotificaGisp" VALUE= " ACQUISISCI "></TD>
</TR>
</TABLE>
</FORM>
<!-- tabella x menu -->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,93 @@
<%@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.utility.ui.Res,mnp.utility.ui.PageLoader"%>
<%@page import = "mnp.utility.ui.Res"%>
<%@page import = "mnp.database.hb.types.CausaleCod"%>
<jsp:useBean id="vtRichiesteNonPrevalidate" scope="request" class="java.util.Vector" />
<jsp:useBean id="nomeFile" scope="request" class="java.lang.String" />
<!--
Pagina di ritorno della ForzaturaPrevalidazione.jsp
E' una pagina riepilogativa delle richieste per cui non è stato possibile settare la prevalidazione
@Autore : Barbara Cavacchioli
-->
<HTML>
<TITLE>
Mnp
</TITLE>
<BODY>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</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><P class = "titolo">ESITO ELABORAZIONE RICHIESTE</P></i></b>
<FORM NAME= "frmEsitoRichieste" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" >
<!-- dati -->
<TABLE width = "100%" BORDER= "1" class = "border">
<TR>
<TD COLSPAN="4"><P class = "normale">Richieste non elaborate per il File Acquisito: <%=nomeFile%></P></TD>
</TR>
<TR>
<TD><P class = "normale"> Id Richiesta</P> </TD>
<TD><P class = "normale"> Prevalidazione</P></TD>
<TD><P class = "normale"> Codici Prevalidazione</P></TD>
</TR>
<% for (int i = 0; i < vtRichiesteNonPrevalidate.size(); i++) {
PrevalidazioneBean prevBean = (PrevalidazioneBean)vtRichiesteNonPrevalidate.get(i);
String idRichiesta = prevBean.getIdRichiesta()==null?"": prevBean.getIdRichiesta();
String esitoLavorazione =prevBean.getEsitoPrevalidazione()==null?"": prevBean.getEsitoPrevalidazione();
%>
</TR>
<TD> <INPUT TYPE = "text" readOnly SIZE= "35" VALUE = "<%=idRichiesta%>"></TD>
<TD> <INPUT TYPE = "text" readOnly VALUE = "<%=esitoLavorazione %>" ></TD>
<TD>
<% if (prevBean.getPrevalidazione()==null) { %>
<INPUT TYPE = "text" readOnly SIZE= "35" VALUE = ""></TD>
<% } else { %>
<INPUT TYPE = "text" readOnly SIZE= "35" VALUE = "<%=prevBean.getPrevalidazione()%>"></TD>
<% } %>
</TR>
<% } %>
</TABLE>
<!-- pulsanti -->
<BR><BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><A class = "linkPage" HREF="<%=Res.ApplContext%>/MainDispatcher?nomePagina=ForzaturaPrevalidazione"> << Back </A></TD>
</TR>
</TABLE>
</FORM>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,55 @@
<%@page import = "java.io.*,java.io.File,mnp.utility.Resources,mnp.utility.ui.Res"%>
<%@page import = "mnp.servlets.util.FileUpload, mnp.objects.ui.ListaFileBean"%>
<HTML>
<BODY>
<!-- tabella che include il menu verticale -->
<table width = "100%">
<TR><td width = "100%" bgcolor = "#D61414">&nbsp</td><TR>
</table>
<table width = "100%" >
<tr>
<td width = "10%">
<jsp:include page="/jsp/Banner.jsp" flush = "true"/>
</td>
<td valign = "top" width = "90%">
<!--fine tabella x menu -->
<br><br>
<table align = "right">
<tr>
<td align = "right">
<b><i><P class = "titolo">LISTA FILE</P></i></b>
</td>
</table>
<FORM NAME= "frmScegliDir" METHOD="POST" ACTION = "<%=Res.ApplContext%>/FileUploadServlet" >
<br>
<br>
<br>
<br>
<TABLE>
<TR>
<TD><P class = "titolo">Visualizza i files Inviati</P></TD>
<TD><P class = "titolo"><INPUT TYPE="radio" NAME="selectDir" checked VALUE = "Inviati"></P></TD>
</TR>
<TR>
<TD><P class = "titolo">Visualizza i files Rinviati</P></TD>
<TD><P class = "titolo"><INPUT TYPE="radio" NAME="selectDir" VALUE = "Rinviati"></P></TD>
</TR>
</TABLE>
<BR><BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnCreaLista" VALUE= "CREA LISTA"></TD>
</TR>
</TABLE>
</FORM>
<!-- tabella x menu verticale-->
</td>
</tr>
</table>
<!-- tabella x menu -->
</BODY>
</HTML>

View File

@@ -0,0 +1,178 @@
<%@page import = "java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
<%@page import = "java.awt.print.*"%>
<%@page import = "mnp.database.*,mnp.utility.ui.PageLoader,mnp.database.hb.dto.MnpTaskPic,mnp.database.hb.dto.MnpTaskPicId"%>
<%@page import = "mnp.objects.*, mnp.utility.ui.Res,mnp.objects.ui.TaskPicBean,mnp.utility.DateUtils,java.text.*"%>
<jsp:include page="/jsp/VerificheScript.txt" flush = "true"/>
<HTML>
<TITLE>Mnp</TITLE>
<BODY>
<jsp:useBean id="taskPicBean" scope="request" class="mnp.objects.ui.TaskPicBean"/>
<!-- COPY -->
<!-- tabella che include il menu verticale -->
<!-- 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>
<!--fine tabella x menu -->
<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'>TASK PIC</P></i></b>
<FORM NAME= "frmTaskPic" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet">
<!-- per riconoscere che pagina è -->
<INPUT TYPE= "hidden" NAME= "pageTaskPic"></INPUT>
<!-- dati -->
<TABLE width = "100%" BORDER= "1" class ="border">
<%
int toRecovery=0;
PageLoader pageLoader = new PageLoader();
TaskPicBean tBean = new TaskPicBean ();
String errore="";
if (session.getAttribute("taskPicBean")!=null) {
tBean = (TaskPicBean)session.getAttribute("taskPicBean");
session.removeAttribute("taskPicBean");
}
else {
tBean = pageLoader.getTaskPicBean();
}
if (tBean==null || tBean.getTaskPic()== null || tBean.getTaskPic().length==0){
errore="Non esistono Task Pic da recuperare!";
}
else {
MnpTaskPic[] tPic = tBean.getTaskPic();
errore=tBean.getEsitoOperazione();
toRecovery=tPic.length;
String dataTask="";
String opDon="";
String opRec="";
String totPic="";
String totOf="";
String totWl="";
%>
<TR>
<TH><P class = "normale"> Data Task </P></TH>
<TH ><P class = "normale">Op. Donating </P></TH>
<TH ><P class = "normale">Op. Recipient</P></TH>
<TH ><P class = "normale">Tot. Accettate</P></TH>
<TH ><P class = "normale">Tot. Waiting List</P></TH>
<TH ><P class = "normale">Tot. Overflow</P></TH>
<TH ><P class = "normale">Restart</P></TH>
</tr>
<%
for(int i=0;i< tPic.length ;i++){
MnpTaskPic task= tPic[i];
opDon=task.getId().getIdOperatoreDon();
opRec=task.getId().getIdOperatoreRec();
SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
dataTask=sdf.format(task.getId().getDataTask());
totPic=""+task.getTotRichAccettate().intValue();
totOf=""+task.getTotRichOf().intValue();
totWl=""+task.getTotRichWaitinglist().intValue();
%>
<INPUT TYPE="hidden" NAME="frmDataTask" VALUE = "<%=dataTask%>" >
<INPUT TYPE="hidden" NAME="frmOpDonating" VALUE = "<%=opDon%>" >
<INPUT TYPE="hidden" NAME="frmOpRecipient" VALUE = "<%=opRec%>" >
<INPUT TYPE="hidden" NAME="frmTotPic" VALUE = "<%=totPic%>" >
<INPUT TYPE="hidden" NAME="frmTotWl" VALUE = "<%=totWl%>" >
<INPUT TYPE="hidden" NAME="frmTotOf" VALUE = "<%=totOf%>" >
<TR>
<TD align="center" valign="center"><P class = "normale"><%=dataTask%></P>
</TD>
<TD align="center" valign="center"><P class = "normale"><%=opDon%></P>
</TD>
<TD align="center" valign="center"><P class = "normale"><%=opRec%></P>
</TD>
<TD align="center" valign="center"><P class = "normale"><%=totPic%></P>
</TD>
<TD align="center" valign="center"><P class = "normale"><%=totWl%></P>
</TD>
<TD align="center" valign="center"><P class = "normale"><%=totOf%></P>
</TD>
<TD align="center" valign="center"><P class = "normale"></P>
<input type="radio" name="frmRadio" value="<%=i %>" >
</TD>
</tr>
<% }
}%>
<% if(errore!=null && errore.length()>0) {%>
<TR>
<TD colspan="7"><P class = "alert"> <%=errore%> </P></TD>
</TR>
<% }%>
</TABLE>
<BR>
<!-- pulsanti -->
<BR><BR><HR class = "riga">
<TABLE width = "100%">
<TR>
<TD ALIGN= "CENTER">
<%if(toRecovery==0) {%>
<INPUT TYPE= "button" NAME= "btnTaskPic" VALUE= "AVVIA TASK" disabled="disabled">
<%} else {%>
<INPUT TYPE= "button" NAME= "btnTaskPic" VALUE= "AVVIA TASK" onclick="javascript:setSelectedFields();">
<%} %>
</TD>
</TR>
</TABLE>
<INPUT TYPE="hidden" NAME="pageTaskPic">
<INPUT TYPE="hidden" NAME="selectedDataTask" VALUE = "" >
<INPUT TYPE="hidden" NAME="selectedDonating" VALUE = "" >
<INPUT TYPE="hidden" NAME="selectedRecipient" VALUE = "" >
</FORM>
<!-- tabella x menu -->
</td>
</tr>
</table>
<SCRIPT>
function setSelectedFields(){
var bottone = document.forms[0].frmRadio;
if( undefined != bottone.length) {
for(var i=0; i<bottone.length; i++) {
if(bottone[i].checked) {
document.forms[0].selectedDataTask.value= document.forms[0].frmDataTask[i].value;
document.forms[0].selectedDonating.value= document.forms[0].frmOpDonating[i].value;
document.forms[0].selectedRecipient.value= document.forms[0].frmOpRecipient[i].value;
document.forms[0].submit();
return true;
}
}
}
else {
if(bottone.checked){
document.forms[0].selectedDataTask.value= document.forms[0].frmDataTask.value;
document.forms[0].selectedDonating.value= document.forms[0].frmOpDonating.value;
document.forms[0].selectedRecipient.value= document.forms[0].frmOpRecipient.value;
document.forms[0].submit();
return true;
}
}
alert("Selezionare un task per la rischedulazione");
return false;
}
</SCRIPT>
<!-- tabella x menu -->
</BODY>
</HTML>

Some files were not shown because too many files have changed in this diff Show More