First Commit - Source Code from Reply
This commit is contained in:
@@ -0,0 +1,120 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ShowEsitoAnnullamentoRichieste
|
||||
</title>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<%@page import = "mnp.objects.dao.*, mnp.objects.filter.*, mnp.objects.*"%>
|
||||
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.AnnullamentoRichiesteResult" />
|
||||
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
<br><br>
|
||||
<b><i><P class = "titolo">ESITI ANNULLAMENTO FORZATO RICHIESTE DBC</P></i></b>
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'annullaForm' method= 'post' action = '/mnp/jsp/Presentazione.jsp'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Esito annullamento delle richieste: </font></p>
|
||||
|
||||
<table width = '100%' border='1'>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP DONOR</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP RECIPIENT</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>TT</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA ANNULLAMENTO</font></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
InfoAnnullamentoRichieste[] rics = resultBean.getRichieste();
|
||||
for (int i = 0; i < rics.length; i++) {
|
||||
|
||||
String warnColor = null;
|
||||
String stato = rics[i].getStato_da_descr()==null?" ":rics[i].getStato_da_descr();
|
||||
String msisdn = rics[i].getMsisdn()==null?" ":rics[i].getMsisdn();
|
||||
String id = rics[i].getId_richiesta()==null?" ":rics[i].getId_richiesta();
|
||||
String donor = rics[i].getCodiceOperatoreDonor()==null?" ":rics[i].getCodiceOperatoreDonor();
|
||||
String recipient = rics[i].getCodiceOperatoreRecipient()==null?" ":rics[i].getCodiceOperatoreRecipient();
|
||||
String data = rics[i].getData_annullamento()==null?" ":""+DateUtils.toStringHour(rics[i].getData_annullamento());
|
||||
String tt = rics[i].getTt()==null?" ":rics[i].getTt();
|
||||
String sProcesso = "";
|
||||
String sMsisdn_specifico = "";
|
||||
|
||||
if(rics[i].getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_CESS_PORTING)){
|
||||
sProcesso = ProcessMapper.proc_CESS_PORTING_Name;
|
||||
sMsisdn_specifico = "msisdnCP";
|
||||
}else if(rics[i].getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_RECIPIENT)){
|
||||
sProcesso = ProcessMapper.proc_RECIPIENT_Name;
|
||||
sMsisdn_specifico = "msisdnR";
|
||||
}
|
||||
|
||||
|
||||
if(rics[i].getEsito().equalsIgnoreCase(GUIMapper.ANNULL_ESITO_OK)) warnColor = "tdVerde";
|
||||
else
|
||||
warnColor = "tdRosso";
|
||||
%>
|
||||
<tr>
|
||||
<%if((rics[i].getWarning().equalsIgnoreCase(GUIMapper.ID_RICH_NOT_EXISTS)) || (rics[i].getWarning().equalsIgnoreCase(GUIMapper.NO_ANNULL)) ){%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=id%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=msisdn%></font></td>
|
||||
<%}else{%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=id%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=msisdn%></font></td>
|
||||
<%}%>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=stato%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=donor%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=recipient%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=tt%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getEsito()%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=data%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<P class="alert" align = "left">
|
||||
Attenzione: le richieste annullate saranno visualizzate nello stato ANNULLATA_FORZATA solo dopo il prossimo refresh dei dati.
|
||||
</P>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><input type="submit" name="OK" value=" OK "></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user