141 lines
5.2 KiB
Plaintext
141 lines
5.2 KiB
Plaintext
<html>
|
|
<head>
|
|
<title>
|
|
ShowRichiesteDaSimulareMSS
|
|
</title>
|
|
|
|
</head>
|
|
<%@page import = "mnp.utility.ui.Res"%>
|
|
<%@page import = "mnp.objects.dao.*, mnp.objects.filter.*, mnp.objects.*"%>
|
|
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
|
|
|
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.SimulazioneMSSRichiesteResult" />
|
|
|
|
<!-- tabella che include il menu verticale -->
|
|
<table width = "100%" class = "tableBannerRosso" border = 0>
|
|
<tr>
|
|
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width = "100%" >
|
|
<tr>
|
|
<td width = "10%">
|
|
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
|
</td>
|
|
<td align = "right" valign = "top" width = "90%">
|
|
<!--fine tabella x menu -->
|
|
<br>
|
|
<br>
|
|
<b><i><P class = "titolo">SIMULAZIONE FORZATA EVENTI DA MSS</P></i></b>
|
|
<%
|
|
String processo = resultBean.getTipoProcesso();
|
|
if(processo==null)
|
|
throw new Exception("Processo MNP npn selezionato");
|
|
String descrProcesso = "";
|
|
if(processo.equalsIgnoreCase(ProcessMapper.proc_DONOR))
|
|
descrProcesso = ProcessMapper.proc_DONOR_Name;
|
|
else if(processo.equalsIgnoreCase(ProcessMapper.proc_RECIPIENT))
|
|
descrProcesso = ProcessMapper.proc_RECIPIENT_Name;
|
|
else if(processo.equalsIgnoreCase(ProcessMapper.proc_CESS))
|
|
descrProcesso = ProcessMapper.proc_CESS_Name;
|
|
|
|
%>
|
|
|
|
|
|
<!-- titolo della tabella --->
|
|
<form name = 'annullaForm' method= 'post' action = '<%=CommandsDef.SIMULA_MSS_DO%>'>
|
|
<br>
|
|
<p align = 'left'><font class = 'normaleTab'>Elenco delle richieste da simulare: </font></p>
|
|
|
|
<table width = '100%' border='1'>
|
|
<tr>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>NUMERAZIONE</font></td>
|
|
<% if (descrProcesso.equals(ProcessMapper.proc_DONOR_Name)) { %>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ADDIZIONALE</font></td>
|
|
<% } %>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP DONOR</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP RECIPIENT</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA EVENTO</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>WARNING</font></td>
|
|
</tr>
|
|
|
|
<%
|
|
InfoSimulazioneRichieste[] rics = resultBean.getRichieste();
|
|
|
|
|
|
for (int i = 0; i < rics.length; i++) {
|
|
if (rics[i]!=null) {
|
|
String warnColor = "tdGiallo";
|
|
String codOpDon = rics[i].getCodiceOperatoreDonor()==null?"-":rics[i].getCodiceOperatoreDonor();
|
|
if(rics[i].getWarning().equalsIgnoreCase(GUIMapper.ID_RICH_NOT_EXISTS)){
|
|
warnColor = "tdRosso";
|
|
%>
|
|
<tr>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getId_richiesta()%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'> </td>
|
|
<td class= '<%=warnColor%>' align='center'> </td>
|
|
<td class= '<%=warnColor%>' align='center'> </td>
|
|
<td class= '<%=warnColor%>' align='center'> </td>
|
|
<td class= '<%=warnColor%>' align='center'> </td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getWarning()%></font></td>
|
|
</tr>
|
|
<%
|
|
}else{
|
|
%>
|
|
<tr>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getId_richiesta()%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getMsisdn()%></font></td>
|
|
<% if (descrProcesso.equals(ProcessMapper.proc_DONOR_Name)) {
|
|
if (rics[i].getAddizionale()==1){ %>
|
|
<td class= '<%=warnColor%>' align='center'> <input name="html" type="checkbox" name="addizionale" disabled="disabled"//>
|
|
<% } else { %>
|
|
<td class= '<%=warnColor%>' align='center'> <input name="html" type="checkbox" name="addizionale" checked="checked" disabled="disabled"//>
|
|
<% }%>
|
|
<% }%>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getStato_da()%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=codOpDon%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getCodiceOperatoreRecipient()%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getData_evento()%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getWarning()%></font></td>
|
|
</tr>
|
|
<%}
|
|
}
|
|
}
|
|
|
|
%>
|
|
</table>
|
|
|
|
<br>
|
|
<table width = '100%' border='1' >
|
|
<tr>
|
|
<td align = 'left' class = 'tdCeleste'><font class = 'normaleTab'>NOTA:</font></td>
|
|
</tr>
|
|
<tr>
|
|
<td align = 'left' class = 'tdGiallo'><input type='text' name='nota' maxlength=80></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<input type='hidden' name='processo' value='<%=processo%>'>
|
|
<!-- pulsanti -->
|
|
<BR><BR><HR class = "riga">
|
|
<TABLE width = "100%">
|
|
<TR>
|
|
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "CONFERMA" VALUE= " CONFERMA " ></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<!-- tabella x menu -->
|
|
</form>
|
|
|
|
<!-- tabella x menu -->
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- tabella x menu -->
|
|
</BODY>
|
|
</HTML>
|
|
|
|
|