184 lines
6.5 KiB
Plaintext
184 lines
6.5 KiB
Plaintext
<html>
|
|
<head>
|
|
<title>
|
|
ShowRichiesteDaAnnullare
|
|
</title>
|
|
</head>
|
|
<%@page import = "mnp.utility.ui.Res"%>
|
|
<%@page import = "mnp.objects.dao.*, mnp.objects.filter.*, mnp.objects.*"%>
|
|
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
|
|
|
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.AnnullamentoRichiesteResult" />
|
|
|
|
<body>
|
|
<!-- tabella che include il menu verticale -->
|
|
<table width = "100%" border = 0>
|
|
<tr>
|
|
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width = "100%" >
|
|
<tr>
|
|
<td width = "10%">
|
|
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
|
</td>
|
|
<td align = "right" valign = "top" width = "90%">
|
|
<!--fine tabella x menu -->
|
|
<br>
|
|
<br>
|
|
<b><i><P class = "titolo">ANNULLAMENTO FORZATO RICHIESTE DBC</P></i></b>
|
|
|
|
|
|
<!-- titolo della tabella --->
|
|
<form name = 'annullaForm' method= 'post' action = '<%=CommandsDef.ANNULLA_RICHIESTE_DO%>' onSubmit = 'return checkCampi(this);'>
|
|
|
|
<br>
|
|
<p align = 'left'><font class = 'normaleTab'>Elenco delle richieste da Annullare: </font></p>
|
|
|
|
<table width = '100%' border='1'>
|
|
<tr>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>MSISDN</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP DONOR</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>OP RECIPIENT</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>WARNING</font></td>
|
|
</tr>
|
|
|
|
<%
|
|
InfoAnnullamentoRichieste[] rics = resultBean.getRichieste();
|
|
for (int i = 0; i < rics.length; i++) {
|
|
String warnColor = null;
|
|
String sProcesso = "";
|
|
String sMsisdn_specifico = "";
|
|
|
|
if(rics[i].getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_CESS_PORTING)){
|
|
sProcesso = ProcessMapper.proc_CESS_PORTING_Name;
|
|
sMsisdn_specifico = "msisdnCP";
|
|
}else if(rics[i].getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_RECIPIENT)){
|
|
sProcesso = ProcessMapper.proc_RECIPIENT_Name;
|
|
sMsisdn_specifico = "msisdnR";
|
|
}else if(rics[i].getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_DONOR)){
|
|
sProcesso = ProcessMapper.proc_DONOR_Name;
|
|
sMsisdn_specifico = "msisdnD";
|
|
}
|
|
|
|
String stato = rics[i].getStato_da_descr()==null?" ":rics[i].getStato_da_descr();
|
|
String msisdn = rics[i].getMsisdn()==null?" ":rics[i].getMsisdn();
|
|
String id = rics[i].getId_richiesta()==null?" ":rics[i].getId_richiesta();
|
|
String donor = rics[i].getCodiceOperatoreDonor()==null?"-":rics[i].getCodiceOperatoreDonor();
|
|
String recipient = rics[i].getCodiceOperatoreRecipient()==null?" ":rics[i].getCodiceOperatoreRecipient();
|
|
|
|
|
|
if((rics[i].getWarning().equalsIgnoreCase(GUIMapper.NO_ANNULL)) || (rics[i].getWarning().equalsIgnoreCase(GUIMapper.ID_RICH_NOT_EXISTS)) ) warnColor = "tdRosso";
|
|
else
|
|
if(rics[i].getWarning().equalsIgnoreCase(GUIMapper.NO_WARN)) warnColor = "tdVerde";
|
|
else
|
|
warnColor = "tdGiallo";
|
|
%>
|
|
<tr>
|
|
<%if((rics[i].getWarning().equalsIgnoreCase(GUIMapper.ID_RICH_NOT_EXISTS)) || (rics[i].getWarning().equalsIgnoreCase(GUIMapper.NO_ANNULL)) ){%>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=id%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=msisdn%></font></td>
|
|
<%}else{%>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=id%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=msisdn%></font></td>
|
|
<%}%>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=stato%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=donor%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=recipient%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=rics[i].getWarning()%></font></td>
|
|
</tr>
|
|
<%}%>
|
|
|
|
</table>
|
|
|
|
<%
|
|
|
|
try{
|
|
String processo = "";
|
|
if(rics[0].getTipo_processo() != null){
|
|
processo = rics[0].getTipo_processo();
|
|
}else{
|
|
processo = "";
|
|
}
|
|
%>
|
|
<br>
|
|
<table width = '50%' border='1' align = 'center' >
|
|
<tr colspan='2'>
|
|
<td align = 'left' class = 'tdCeleste' ><font class = 'normaleTab'>NOTA</font></td>
|
|
<%if ((processo.equalsIgnoreCase(ProcessMapper.proc_DONOR)) ||
|
|
(processo.equalsIgnoreCase(ProcessMapper.proc_RECIPIENT))) {%>
|
|
<td align = 'left' class = 'tdCeleste' ><font class = 'normaleTab'>TT</font></td>
|
|
<% } %>
|
|
</tr>
|
|
<tr>
|
|
<td align = 'left' class = 'tdGiallo' ><input type='text' name='nota'></td>
|
|
<%if ((processo.equalsIgnoreCase(ProcessMapper.proc_DONOR)) ||
|
|
(processo.equalsIgnoreCase(ProcessMapper.proc_RECIPIENT))) {%>
|
|
<td align = 'left' class = 'tdGiallo' ><input type='text' name='TT' value = ''></td>
|
|
<% } %>
|
|
</tr>
|
|
|
|
|
|
<!-- Non devo notificare a nessuno-->
|
|
|
|
<%
|
|
if(processo.equalsIgnoreCase(ProcessMapper.proc_RECIPIENT) || processo.equalsIgnoreCase(ProcessMapper.proc_DONOR)){%>
|
|
<tr>
|
|
<td colspan="2">
|
|
<p> </td>
|
|
</tr>
|
|
<tr>
|
|
<td align = 'left' class = 'tdCeleste' colspan="2">
|
|
<p align="center"><font class = 'normaleTab'>NOTIFICHE AI SISTEMI INTERNI</font></p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align = 'right' class = 'tdGiallo' >
|
|
<p align="center"><input type = 'checkbox' name ='notificaCirce' value = '0'></p>
|
|
</td>
|
|
<td align = 'left' class = 'tdGiallo' >
|
|
<p align="center"><font class = 'normaleTab'>CIRCE</font></p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align = 'right' class = 'tdGiallo' >
|
|
<p align="center"><input type = 'checkbox' name ='notificaBit' value = '0'></p>
|
|
</td>
|
|
<td align = 'left' class = 'tdGiallo' >
|
|
<p align="center"><font class = 'normaleTab'>BIT</font></p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align = 'right' class = 'tdGiallo' >
|
|
<p align="center"><input type = 'checkbox' name ='notificaCCrm' value = '0'></p>
|
|
</td>
|
|
<td align = 'left' class = 'tdGiallo' >
|
|
<p align="center"><font class = 'normaleTab'>CCRM</font></p>
|
|
</td>
|
|
</tr>
|
|
<%}
|
|
}catch(Exception e ){
|
|
System.out.println("Non ci sono richieste da annullare");
|
|
//e.printStackTrace();
|
|
}%>
|
|
</table>
|
|
|
|
<!-- pulsanti -->
|
|
<BR><BR><HR class = "riga">
|
|
<TABLE width = "100%">
|
|
<TR>
|
|
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "CONFERMA" VALUE= " CONFERMA " ></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<!-- tabella x menu -->
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- tabella x menu -->
|
|
</BODY>
|
|
</HTML>
|