107 lines
3.5 KiB
Plaintext
107 lines
3.5 KiB
Plaintext
<html>
|
|
<head>
|
|
<title>
|
|
ShowEsitoBloccaSblocca
|
|
</title>
|
|
|
|
</head>
|
|
<%@page import = "mnp.objects.dao.*, mnp.objects.result.*, mnp.objects.*"%>
|
|
<%@page import = "java.util.*, mnp.command.*, mnp.utility.*, mnp.database.*"%>
|
|
<%@page import = "mnp.utility.ui.Res"%>
|
|
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ModificaRichiesteResult" />
|
|
|
|
<%
|
|
ModificaRichiesteResult modRicRe = resultBean;
|
|
String warnColor = null;
|
|
if (modRicRe!= null){
|
|
warnColor = modRicRe.getEsito().equalsIgnoreCase("OK")?"tdVerde":"tdRosso";
|
|
String titolo = "ESITO BLOCCA / SBLOCCA RICHIESTA";
|
|
if (modRicRe.getTipo_processo().equalsIgnoreCase(ProcessMapper.proc_RECIPIENT))
|
|
titolo = titolo + " RECIPIENT";
|
|
else
|
|
titolo = titolo + " DONOR";
|
|
%>
|
|
|
|
<!-- tabella che include il menu verticale -->
|
|
<table width = "100%" class = "tableBannerRosso" border = 0>
|
|
<tr>
|
|
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width = "100%" >
|
|
<tr>
|
|
<td width = "10%">
|
|
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
|
</td>
|
|
<td align = "right" valign = "top" width = "90%">
|
|
<!--fine tabella x menu -->
|
|
<br><br>
|
|
<b><i><P class = "titolo"> <%=titolo%> </P></i></b>
|
|
|
|
<!-- titolo della tabella --->
|
|
<form name = 'annullaForm' method= 'post' action = '<%=CommandsDef.SHOW_CONSOLE_DO%>'>
|
|
<br>
|
|
<p align = 'left'><font class = 'normaleTab'>Esito blocca / sblocca richiesta: </font></p>
|
|
|
|
<table width = '100%' border='1'>
|
|
|
|
<tr>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>TT</font></td>
|
|
<%if(modRicRe.getStato().equalsIgnoreCase(StatoRichiesta.getStatoDescr(StatoRichiesta.BLOCCATA))){%>
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>DATA SBLOCCO</font></td>
|
|
<%}%>
|
|
|
|
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getId_richiesta()%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getStato()%></font></td>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getTT()%></font></td>
|
|
<%if(modRicRe.getStato().equalsIgnoreCase(StatoRichiesta.getStatoDescr(StatoRichiesta.BLOCCATA)))
|
|
{ String data_sblocco = modRicRe.getData_sblocco().equals("")?" ":modRicRe.getData_sblocco();
|
|
%>
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=data_sblocco%></font></td>
|
|
<%}%>
|
|
|
|
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getEsito()%></font></td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<%
|
|
if (modRicRe.getEsito().equalsIgnoreCase("OK")) {
|
|
String varTipo = "<b>sbloccata</b>";
|
|
if(modRicRe.getStato().equalsIgnoreCase(StatoRichiesta.getStatoDescr(StatoRichiesta.BLOCCATA))){
|
|
varTipo = "<b>bloccata</b>";
|
|
|
|
}%>
|
|
|
|
<P class="alert" align = "left">
|
|
Attenzione: la richiesta risulterà <%=varTipo%> solo dopo il prossimo refresh dei dati.
|
|
</P>
|
|
<%}%>
|
|
<%}//chiude _if iniziale%>
|
|
<!-- pulsanti -->
|
|
<BR><BR><HR class = "riga">
|
|
<TABLE width = "100%">
|
|
<TR>
|
|
<TD ALIGN= "CENTER"><input type="submit" name="OK" value=" OK "></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
</form>
|
|
|
|
<!-- tabella x menu -->
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- tabella x menu -->
|
|
</BODY>
|
|
</HTML>
|
|
|
|
|