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