2025-04-15 12:10:19 +02:00

466 lines
26 KiB
Plaintext
Raw Blame History

<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeFile="archivioDocumentiNucleo.aspx.cs"
Inherits="archivioDocumentiNucleo" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Archivio Documenti Nucleo</title>
<link href="CSS/tv.css" type="text/css" rel="stylesheet" />
<link href="CSS/Pagina.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet" href="CSS/webtoolkit.contextmenu.css" />
<script type="text/javascript" src="CSS/webtoolkit.contextmenu.js"></script>
<script language="javascript" type="text/javascript">
function updateTop() {
if (parent.frames['TOP'] != null && parent.frames['TOP'].document != null && parent.frames['TOP'].document.getElementById('lblNavPath') != null)
parent.frames['TOP'].document.getElementById('lblNavPath').innerHTML = "Gestione stampe > Documenti Nuclei";
}
function showPdf(idPdf) {
var url = "showPDF.aspx?pdfId=" + idPdf;
window.open(url, "tip", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=800,height=600");
}
</script>
<style type="text/css">
.style1
{
width: 171px;
}
.style2
{
width: 107px;
}
.style3
{
width: 15px;
}
</style>
</head>
<body bgcolor="white" link="#31657B" alink="#31657B" onload="updateTop()">
<form id="Form1" method="post" runat="server">
<table id="tbDocumenti" runat="server" border="1" style="width: 690px">
<tr>
<td style="width: 13px">
<asp:Label ID="lblTitle" Style="z-index: 100; left: 32px; top: 6px" runat="server"
Height="16px" Width="695px" ForeColor="White" Font-Bold="True" CssClass="stateTitle">Archivio Documenti Nucleo</asp:Label>
</td>
</tr>
<tr>
<td style="width: 13px">
<asp:Label ID="lbl_Message" Style="z-index: 101; left: 0px; top: 35px" runat="server"
Height="18px" Width="695px" Font-Bold="True" CssClass="lblMessage" Font-Underline="False"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 13px">
<table style="width: 100%" nowrap>
<tr>
<td style="height: 28px">
<asp:Label ID="Label9" runat="server" CssClass="lblSchede" Text="Codice Rete" Width="70px"></asp:Label>
</td>
<td style="height: 28px">
<asp:TextBox ID="txb_Rete" runat="server" CssClass="lblSchede"></asp:TextBox>
</td>
<td style="width: 40px; height: 28px">
<asp:Label ID="Label10" runat="server" CssClass="lblSchede" Text="Codice PB" Width="60px"></asp:Label>
</td>
<td style="height: 28px">
<asp:TextBox ID="txb_CodicePB" runat="server" CssClass="lblSchede"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width: 13px; height: 75px;">
<table style="width: 100%">
<tr>
<td>
<asp:Label ID="Label12" runat="server" CssClass="lblSchede" Font-Bold="True" Height="20px" Width="100px">Nome nucleo</asp:Label>
</td>
<td class="style1">
<asp:TextBox ID="txt_nomenucleo" runat="server" CssClass="lblSchede" Height="20px" MaxLength="16" TabIndex="1" Width="200px"></asp:TextBox>
</td>
<td>
<asp:Label ID="Label5" runat="server" CssClass="lblSchede" Font-Bold="True" Height="20px" Width="150px">Cod. fiscale/P.IVA cliente</asp:Label>
</td>
<td class="style1">
<asp:TextBox ID="txb_ClienteCF" runat="server" CssClass="lblSchede" Height="20px" MaxLength="16" TabIndex="1" Width="200px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label3" runat="server" CssClass="lblSchede" Font-Bold="True" Height="20px" Width="100px">Cognome/Mandato</asp:Label>
</td>
<td>
<asp:TextBox ID="txb_ClienteCognome" runat="server" CssClass="lblSchede" Height="17px" MaxLength="50" TabIndex="1" Width="200px"></asp:TextBox>
</td>
<td>
<asp:Label ID="Label4" runat="server" CssClass="lblSchede" Font-Bold="True" Height="20px" Width="150px">Nome Cliente</asp:Label>
</td>
<td>
<asp:TextBox ID="txb_ClienteNome" runat="server" CssClass="lblSchede" Height="17px" MaxLength="50" TabIndex="1" Width="200px"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width: 13px">
<table>
<tr>
<td>
<asp:Label ID="Label7" runat="server" CssClass="lblSchede" Font-Bold="True" Height="20px" Width="30px">Dal</asp:Label>
</td>
<td>
<asp:TextBox ID="txb_da" runat="server" CssClass="lblSchede" Height="17px" MaxLength="12"
TabIndex="1" Width="82px"></asp:TextBox>
</td>
<td style="width:110px">
<asp:ImageButton ID="imgCalendar_Da" runat="server" BorderWidth="1px" Height="24px"
ImageUrl="~/Images/dlcalendar_2.gif" OnClick="imgCalendar_Da_Click" Width="24px" />
<asp:Calendar ID="cldSF_da" runat="server" BorderColor="#FFBB33" BorderStyle="Groove"
BorderWidth="2px" FirstDayOfWeek="Monday" Font-Names="Tahoma" Font-Size="XX-Small"
ForeColor="Black" Height="5px" NextPrevFormat="FullMonth" OnSelectionChanged="cldSF_da_SelectionChanged"
ShowGridLines="true" Visible="False" Width="1px">
<SelectedDayStyle BackColor="Azure" ForeColor="Navy" />
<SelectorStyle BorderStyle="Solid" />
<DayStyle BackColor="White" />
<DayHeaderStyle BackColor="LightGray" BorderColor="#404040" BorderStyle="Solid" />
<TitleStyle BackColor="WhiteSmoke" BorderStyle="Solid" ForeColor="Black" />
</asp:Calendar>
</td>
<td>
<asp:Label ID="Label8" runat="server" CssClass="lblSchede" Font-Bold="True" Height="20px"
Width="30px">Al</asp:Label>
</td>
<td>
<asp:TextBox ID="txb_a" runat="server" CssClass="lblSchede" Height="17px" MaxLength="12"
TabIndex="1" Width="82px"></asp:TextBox>
</td>
<td style="width:110px">
<asp:ImageButton ID="imgCalendar_a" runat="server" BorderWidth="1px" Height="24px"
ImageUrl="~/Images/dlcalendar_2.gif" OnClick="imgCalendar_a_Click" Width="24px" />
<asp:Calendar ID="cldSF_a" runat="server" BackColor="DarkSeaGreen" BorderColor="#FFBB33"
BorderStyle="Groove" BorderWidth="2px" FirstDayOfWeek="Monday" Font-Names="Tahoma"
Font-Size="XX-Small" ForeColor="Black" Height="5px" NextPrevFormat="FullMonth"
OnSelectionChanged="cldSF_a_SelectionChanged" ShowGridLines="true" Visible="False"
Width="1px">
<SelectedDayStyle BackColor="Azure" ForeColor="Navy" />
<SelectorStyle BorderStyle="Solid" />
<DayStyle BackColor="White" />
<DayHeaderStyle BackColor="LightGray" BorderColor="#404040" BorderStyle="Solid" />
</asp:Calendar>
</td>
<td>
<asp:CheckBox ID="chk_RicercaStampedaRichiedere" runat="server" CssClass="lblSchedeIndent"
TabIndex="3" Text="includi stampe da richiedere" Width="190px"
AutoPostBack="True" />
</td>
<td>
<asp:Image ID="Image3" runat="server" BorderColor="Navy" BorderStyle="Solid" BorderWidth="1px"
EnableTheming="False" Height="24px" ImageUrl="~/Images/icon-Richiesta_scalata.jpg"
Width="24px" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width: 13px">
<table>
<tr>
<td>
<asp:Button ID="btn_Azzera" runat="server" Font-Names="Tahoma" Font-Size="10pt" Height="24px"
Text="Azzera" Width="133px" OnClick="btn_Azzera_Click" ToolTip="Click per resettare i campi di ricerca" />
</td>
<td>
<asp:Button ID="btn_Ricerca" runat="server" Font-Names="Tahoma" Font-Size="10pt"
Height="24px" Text="Ricerca" Width="133px" OnClick="btn_Ricerca_Click" ToolTip="Click per ricercare un documento con i criteri di ricerca" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div class="container">
<asp:DataGrid ID="dg" TabIndex="7" runat="server" BackColor="#EEEEEE" AutoGenerateColumns="False"
AllowPaging="True" AllowSorting="True" BorderColor="#EEEEEE" Height="8px" Width="695px"
PageSize="30" OnPageIndexChanged="dg_PageIndex" BorderStyle="Groove" BorderWidth="1px"
CssClass="lblSchede" Font-Size="10pt">
<FooterStyle BorderWidth="2px" CssClass="stateTitle" Font-Size="9pt"></FooterStyle>
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" BorderStyle="None" CssClass="stateTitle"
Font-Size="9pt" ForeColor="White"></HeaderStyle>
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<asp:CheckBox ID="chk" runat="server" Visible="true" Checked="false"></asp:CheckBox>
</ItemTemplate>
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:TemplateColumn>
<asp:BoundColumn HeaderText="CodicePB" SortExpression="CodicePB" DataField="CodicePB">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" VerticalAlign="Middle" />
<HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" />
</asp:BoundColumn>
<asp:BoundColumn HeaderText="Nucleo" SortExpression="NomeNucleo" DataField="NomeNucleo">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" VerticalAlign="Middle" />
<HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" />
</asp:BoundColumn>
<asp:BoundColumn HeaderText="Data" SortExpression="DtCreazione" DataField="dtCreazione"
DataFormatString="{0:d}">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:BoundColumn>
<asp:BoundColumn HeaderText="Ora" DataField="dtCreazione" DataFormatString="{0:HH:mm:ss}">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="Stato">
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>
<img id="imageStato" runat="server" width='18' height='24' visible="false"/>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Note">
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>
<asp:LinkButton id="anchorNote" runat="server" OnClick="imageNote_Click" Visible="false">
<img id="imageNote" runat="server" width='19' height='23' border='0' src="Images/text.gif" />
</asp:LinkButton>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Log">
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>
<asp:LinkButton id="anchorLog" runat="server" OnClick="imageLog_Click">
<img id="imageLog" runat="server" width='21' height='25' border='0' src="Images/log.png" />
</asp:LinkButton>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Pdf">
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>
<a id="anchorPdf" runat="server" >
<img id="imagePdf" border="0" width="20" height="24" runat="server" />
</a>
<asp:LinkButton id="anchorRichiedi" runat="server" OnClick="imageRichiedi_Click">
<img id="imageRichiedi" runat="server" width='21' height='25' border='0' src="Images/log.png" />
</asp:LinkButton>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle Position="TopAndBottom" PageButtonCount="35" CssClass="stateTitle" Font-Size="9pt">
</PagerStyle>
<AlternatingItemStyle BackColor="WhiteSmoke" BorderStyle="None" />
</asp:DataGrid>
</div>
</td>
</tr>
<tr>
<td align="right">
<asp:Button ID="btn_EliminaSelezionati" runat="server" Font-Names="Tahoma" Font-Size="10pt"
Height="24px" OnClick="btn_EliminaSelezionati_Click" Text="Elimina selezionati"
Width="147px" OnClientClick="return confirm('Sei sicuro di volere eliminare definitivamente i documenti selezionati?');" />
</td>
</tr>
</table>
<table id="tbLog" runat="server" border="1" style="width: 690px">
<tr>
<td style="width: 13px">
<asp:Label ID="Label1" Style="z-index: 100; left: 32px; top: 6px" runat="server"
Height="16px" Width="695px" ForeColor="White" Font-Bold="True" CssClass="stateTitle">Log Report</asp:Label>
</td>
</tr>
<tr><td>
<asp:GridView ID="dgLog" runat="server" AutoGenerateColumns="False" Height="83px" Width="693px">
<Columns>
<asp:BoundField DataField="Evento" HeaderText="Evento">
<HeaderStyle Font-Bold="True" HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="dtstamp" DataFormatString="{0:d}" HtmlEncode="false" HeaderText="Data" >
<HeaderStyle Font-Bold="True" HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="dtstamp" DataFormatString="{0:HH:mm:ss}" HtmlEncode="false" HeaderText="Ora" >
<HeaderStyle Font-Bold="True" HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField HeaderText="Utente" DataField="utente">
<HeaderStyle Font-Bold="True" HorizontalAlign="Left" />
</asp:BoundField>
</Columns>
<RowStyle VerticalAlign="Middle" />
</asp:GridView>
</td></tr>
<tr>
<td align="right">
<asp:Button ID="ButLog" runat="server" Font-Names="Tahoma" Font-Size="10pt"
Height="24px" OnClick="btn_ButLog_Click" Text="Indietro"
Width="147px" />
</td>
</tr>
</table>
<table id="tbNote" runat="server" border="1" style="width: 690px;">
<tr>
<td style="width: 13px">
<asp:Label ID="Label2" Style="z-index: 100; left: 32px; top: 6px" runat="server"
Height="16px" Width="695px" ForeColor="White" Font-Bold="True" CssClass="stateTitle">Informazioni sulle stampe dei report</asp:Label>
</td>
</tr>
<tr><td style="height:500px">
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<asp:Label ID="lblCartaId" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
left: 56px; position: absolute; top: 50px" Text="Il Report <20> stato inserito in archivio con i seguenti dati:"
Width="591px"></asp:Label>
&nbsp;
<asp:Label ID="Label6" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
left: 177px; position: absolute; top: 134px" Text="Nome Nucleo:" Width="82px"></asp:Label>
<asp:Label ID="Label11" runat="server" CssClass="lblSchede" Font-Size="11pt" Height="21px"
Style="z-index: 110; left: 228px; position: absolute; top: 279px" Text="NOTE"
Width="82px"></asp:Label>
<asp:Label ID="LabelCliente" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
left: 381px; position: absolute; top: 134px" Width="150px"></asp:Label>
<asp:Label ID="LabelReport" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
left: 381px; position: absolute; top: 161px" Text="NUCLEO" Width="115px"></asp:Label>
<asp:Label ID="lblData" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
left: 381px; position: absolute; top: 189px" Text="12/07/2008" Width="82px"></asp:Label>
<asp:Label ID="lblOra" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
left: 381px; position: absolute; top: 219px" Text="17:30:45" Width="82px"></asp:Label>
<asp:Label ID="Label13" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
left: 177px; position: absolute; top: 161px" Text="Tipologia di Report:" Width="115px"></asp:Label>
&nbsp;
<asp:Label ID="Label14" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
left: 178px; position: absolute; top: 190px" Text="Data:" Width="82px"></asp:Label>
<asp:Label ID="label15" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
left: 177px; position: absolute; top: 219px" Text="Ora:" Width="82px"></asp:Label>
&nbsp;
<div id="notePanel" style="z-index: 1; left: 218px; text-align: justify; overflow-y: AUTO;
width: 160px; position: absolute; top: 306px; height: 209px">
<asp:Label ID="lbNote" runat="server"></asp:Label>
</div>
<img height="254px" src="Images/Paper.png" style="z-index: -1; left: 213px;
position: absolute; top: 268px" width="176px" />
&nbsp; &nbsp;
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
</td></tr>
<tr> <td align="right">
<asp:Button ID="ButNote" runat="server" Font-Names="Tahoma" Font-Size="10pt"
Height="24px" OnClick="btn_ButNote_Click" Text="Indietro"
Width="147px" />
</td></tr>
</table>
<table id="tbRichiedi" runat="server" border="1" style="width: 690px;">
<tr >
<td style="border-style: none; border-color: inherit; border-width: 0;"
colspan="2">
<asp:Label ID="Label16" Style="z-index: 100; left: 32px; top: 6px" runat="server"
Height="16px" Width="695px" ForeColor="White" Font-Bold="True" CssClass="stateTitle">Richiesta Report Nuclei</asp:Label>
</td>
</tr>
<tr>
<td style="width: 13px" colspan="2">
<asp:Label ID="lbl_MessageRichiesta" Style="z-index: 101; left: 0px; top: 35px" runat="server"
Height="18px" Width="695px" Font-Bold="True" CssClass="lblMessage" Font-Underline="False"></asp:Label>
</td>
</tr>
<tr style="height:100px">
<td colspan="2">
<asp:Label ID="txRichiedi" runat="server" CssClass="lblSchede"> </asp:Label>
</td>
</tr>
<tr>
<td >
<asp:Label ID="Label18" runat="server" CssClass="lblSchede"> Desidera portare a termine la richiesta? </asp:Label>
</td>
<td>
<table>
<tr>
<td>
<asp:Button ID="ButRichiediSi" runat="server" Text="SI" Width="50px" OnClick="btn_ButRichiediSi_Click" />
</td>
<td>
<asp:Button ID="ButRichiediNo" Text="Indietro" OnClick="btn_ButRichiediNo_Click" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<iframe id="ReinvioASelecta" src="blank.aspx" scrolling="no" frameborder="0" style="display: none"
noresize></iframe>
</form>
</body>
</html>