191 lines
13 KiB
Plaintext
191 lines
13 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeFile="schedeDiLavoro.aspx.cs"
|
||
Inherits="schedeDiLavoro" %>
|
||
|
||
<!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 runat="server">
|
||
<title>Schede di lavoro</title>
|
||
<link href="CSS/SEIReport.css" type="text/css" rel="stylesheet" />
|
||
|
||
<script src="Comuni/Script/Utilita.js" type="text/javascript"></script>
|
||
|
||
<script language="javascript" type="text/javascript">
|
||
function stampaCartaIndentita() {
|
||
var privacy = !document.forms[0].RadioButton2.checked;
|
||
|
||
window.open("reportGenerator.aspx?action=createCartaIdentita&token=<%=token%>&codicePB=<%=codicePB%>&codiceFiscale=<%=codiceFiscale%>&codiceRete=<%=codiceRete%>&tipoCliente=<%=tipoCliente%>&chkPatrBF=<%=chk_PatrimonioBancaFideuram.Enabled%>&checkPrivacy=" + privacy);
|
||
}
|
||
function stampaMigrazione() {
|
||
var privacy = !document.forms[0].RadioButton2.checked;
|
||
|
||
window.open("reportGenerator.aspx?action=createMigrazione&codicePB=<%=codicePB%>&codiceFiscale=<%=codiceFiscale%>&codiceRete=<%=codiceRete%>&tipoCliente=<%=tipoCliente%>&token=<%=token%>&checkPrivacy=" + privacy);
|
||
}
|
||
function confrontoPiramidi() {
|
||
var privacy = !document.forms[0].RadioButton2.checked;
|
||
|
||
window.open("reportGenerator.aspx?action=createConfrontoPiramidi&codicePB=<%=codicePB%>&codiceFiscale=<%=codiceFiscale%>&codiceRete=<%=codiceRete%>&tipoCliente=<%=tipoCliente%>&token=<%=token%>&checkPrivacy=" + privacy);
|
||
}
|
||
function simulazionePiramide() {
|
||
var privacy = !document.forms[0].RadioButton2.checked;
|
||
|
||
window.open("reportGenerator.aspx?action=createSimulazionePiramide&codicePB=<%=codicePB%>&codiceFiscale=<%=codiceFiscale%>&codiceRete=<%=codiceRete%>&tipoCliente=<%=tipoCliente%>&token=<%=token%>&checkPrivacy=" + privacy);
|
||
}
|
||
function schedaProfilatura() {
|
||
var privacy = !document.forms[0].RadioButton2.checked;
|
||
|
||
window.open("reportGenerator.aspx?action=createSchedaProfilatura&codicePB=<%=codicePB%>&codiceFiscale=<%=codiceFiscale%>&codiceRete=<%=codiceRete%>&tipoCliente=<%=tipoCliente%>&token=<%=token%>&checkPrivacy=" + privacy);
|
||
}
|
||
function patrimonioCliente() {
|
||
var chk;
|
||
var dis_a = document.forms[0].chk_AnalisiRischio.disabled;
|
||
var dis_b = document.forms[0].chk_PatrimonioAltriIstituti.disabled;
|
||
var dis_c = document.forms[0].chk_PatrimonioBancaFideuram.disabled;
|
||
|
||
var tot_a;
|
||
var tot_b;
|
||
var tot_c;
|
||
|
||
chk = document.forms[0].chk_PatrimonioComplessivo.checked;
|
||
if (document.forms[0].chk_PatrimonioComplessivo.checked || document.forms[0].chk_AnalisiRischio.checked || document.forms[0].chk_PatrimonioAltriIstituti.checked || document.forms[0].chk_PatrimonioBancaFideuram.checked) {
|
||
//window.open("reportGenerator.aspx?action=createPatrimonioCliente&codicePB=<%=codicePB%>&codiceFiscale=<%=codiceFiscale%>&codiceRete=<%=codiceRete%>&chkPatrComp=<%=chk_PatrimonioComplessivo.Checked%>&chkAnRischio=<%=chk_AnalisiRischio.Checked&&chk_AnalisiRischio.Enabled%>&chkPatrAltri=<%=chk_PatrimonioAltriIstituti.Checked && chk_PatrimonioAltriIstituti.Enabled%>&chk_PAIEnabled=<%=chk_PatrimonioAltriIstituti.Enabled%>&chkVarAltri=<%=chk_PatrimonioAltriIstituti.Enabled%>&chkPatrBF=<%=chk_PatrimonioBancaFideuram.Checked&&chk_PatrimonioBancaFideuram.Enabled%>&tipoCliente=<%=tipoCliente%>&token=<%=token%>");
|
||
|
||
tot_a = document.forms[0].chk_AnalisiRischio.checked && !dis_a;
|
||
tot_b = document.forms[0].chk_PatrimonioAltriIstituti.checked && !dis_b;
|
||
tot_c = document.forms[0].chk_PatrimonioBancaFideuram.checked && !dis_c;
|
||
|
||
window.open("reportGenerator.aspx?action=createPatrimonioCliente&codicePB=<%=codicePB%>&codiceFiscale=<%=codiceFiscale%>&codiceRete=<%=codiceRete%>&checkPrivacy=" + !document.forms[0].RadioButton2.checked + "&chkPatrComp=" + document.forms[0].chk_PatrimonioComplessivo.checked + "&chkIndicatoriRischio=" + document.forms[0].chk_IndicatoriRischio.checked + "&chkAnRischio=" + tot_a + "&chkPatrAltri=" + tot_b + "&chkPatrBF=" + tot_c + "&chk_PAIEnabled=" + !dis_b + "&chkVarAltri=" + !dis_b + "&tipoCliente=<%=tipoCliente%>&token=<%=token%>");
|
||
}
|
||
else {
|
||
lbl_message.innerText = "Non <20> stato selezionato alcun contenuto della scheda <20>Patrimonio Cliente<74>: selezionare un contenuto e riprovare";
|
||
// parent.TOP.lblNavPath.innerText = "Non <20> stato selezionato alcun contenuto della scheda <20>Patrimonio Cliente<74>: selezionare un contenuto e riprovare";
|
||
}
|
||
}
|
||
function updateTop() {
|
||
//parent.TOP.lblNavPath.innerText = "Gestione stampe > Schede di lavoro";
|
||
parent.frames['TOP'].document.getElementById('lblNavPath').innerHTML = "Gestione stampe > Schede di lavoro";
|
||
}
|
||
|
||
function TracciaEventoAudit(boid) {
|
||
|
||
// var url = CalcolaPercorsoFileComuni() + "Infrastruttura/Audit.aspx?boid=" + boid;
|
||
// Naviga(self.frames('Audit'), url);
|
||
}
|
||
|
||
function Naviga(Finestra, Url) {
|
||
|
||
if (Finestra != null)
|
||
Finestra.navigate(Url);
|
||
|
||
}
|
||
</script>
|
||
|
||
</head>
|
||
<body bgcolor="white" onload="updateTop()">
|
||
<form id="Form1" method="post" runat="server">
|
||
<asp:Label ID="lblTitle" Style="position: absolute; left: 9px" runat="server" Width="690px"
|
||
CssClass="stateTitle" Height="16px">SCHEDE DI LAVORO</asp:Label>
|
||
<asp:Label ID="lblMigrazione" runat="server" CssClass="lblSchede" Style="z-index: 110;
|
||
left: 21px; position: absolute; top: 110px" Text="Migrazione Prodotti" Width="180px"></asp:Label>
|
||
<asp:Label ID="lblCartaId" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
|
||
left: 21px; position: absolute; top: 175px" Text="Carta d'identita' del Cliente"
|
||
Width="228px"></asp:Label>
|
||
<asp:Label ID="lblPatrimonio" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
|
||
left: 21px; position: absolute; top: 249px" Text="Patrimonio Cliente" Width="228px"></asp:Label>
|
||
<asp:Label ID="Label3" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
|
||
left: 21px; position: absolute; top: 431px" Text="Simulazione Piramide" Width="228px"></asp:Label>
|
||
<asp:Label ID="Label4" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
|
||
left: 21px; position: absolute; top: 493px" Text="Confronto Piramide Modello - Piramide Attuale"
|
||
Width="363px"></asp:Label>
|
||
<%--<asp:Label ID="lbl_2" runat="server" CssClass="lblSchede" Height="21px" Style="z-index: 110;
|
||
left: 21px; position: absolute; top: 558px" Text="Questionario di profilatura"
|
||
Width="371px"></asp:Label>--%>
|
||
<asp:Panel ID="Panel1" runat="server" BackColor="White" BorderColor="Black" BorderStyle="Solid"
|
||
BorderWidth="1px" Height="59px" Style="z-index: 1; left: 10px; position: absolute;
|
||
top: 103px" Width="690px">
|
||
<input id="stampa_MigrazioneProdotti" type="button" class="eventButton" runat="server"
|
||
value="Stampa" onclick="javascript:TracciaEventoAudit('2001');return stampaMigrazione()"
|
||
onmouseover="this.className='eventButtonOver';" onmouseout="this.className='eventButton';"
|
||
style="z-index: 1000; left: 583px; position: absolute; top: 18px" />
|
||
|
||
</asp:Panel>
|
||
<asp:Panel ID="Panel2" runat="server" BackColor="White" BorderColor="Black" BorderStyle="Solid"
|
||
BorderWidth="1px" Height="59px" Style="z-index: 1; left: 10px; position: absolute;
|
||
top: 167px" Width="690px">
|
||
|
||
<input id="stampa_CartaIdentita" type="button" class="eventButton" value="Stampa"
|
||
onclick="javascript:TracciaEventoAudit('2002');return stampaCartaIndentita()"
|
||
onmouseover="this.className='eventButtonOver';" onmouseout="this.className='eventButton';"
|
||
style="z-index: 1000; left: 582px; position: absolute; top: 19px" size="" />
|
||
</asp:Panel>
|
||
<asp:Panel ID="Panel3" runat="server" BackColor="White" BorderColor="Black" BorderStyle="Solid"
|
||
BorderWidth="1px" Height="186px" Style="z-index: 1; left: 11px; position: absolute;
|
||
top: 231px" Width="690px">
|
||
|
||
<asp:CheckBox ID="chk_PatrimonioComplessivo" Style="z-index: 134; left: 32px; position: absolute;
|
||
top: 43px" TabIndex="3" Text="Patrimonio Complessivo" Width="239px" runat="server"
|
||
CssClass="lblSchedeIndent" Checked="True"></asp:CheckBox>
|
||
<asp:CheckBox ID="chk_PatrimonioAltriIstituti" runat="server" Checked="True" CssClass="lblSchedeIndent"
|
||
Style="z-index: 134; left: 32px; position: absolute; top: 109px" TabIndex="5"
|
||
Text="Patrimonio presso altri istituti" Width="239px" />
|
||
<asp:CheckBox ID="chk_AnalisiRischio" runat="server" Checked="True" CssClass="lblSchedeIndent"
|
||
Style="z-index: 134; left: 32px; position: absolute; top: 131px" TabIndex="6"
|
||
Text="Analisi Rischio" Width="239px" />
|
||
<asp:CheckBox ID="chk_IndicatoriRischio" Style="z-index: 134; left: 49px; position: absolute;
|
||
top: 84px" TabIndex="4" Text="Indicatori di rischio" Width="239px" runat="server"
|
||
CssClass="lblSchedeIndent" Checked="True" ValidationGroup="PatrimonioBF" AutoPostBack="True"
|
||
OnCheckedChanged="chk_IndicatoriRischio_CheckedChanged"></asp:CheckBox>
|
||
<input id="stampa_PatrimonioCliente" type="button" runat="server" class="eventButton"
|
||
value="Stampa" onclick="javascript:TracciaEventoAudit('2003');return patrimonioCliente()"
|
||
onmouseover="this.className='eventButtonOver';" onmouseout="this.className='eventButton';"
|
||
style="z-index: 1000; left: 582px; position: absolute; top: 79px" size="" />
|
||
<asp:CheckBox ID="chk_PatrimonioBancaFideuram" runat="server" Checked="True" CssClass="lblSchedeIndent"
|
||
Style="z-index: 134; left: 32px; position: absolute; top: 65px" TabIndex="4"
|
||
Text="Patrimonio Fideuram" ValidationGroup="PatrimonioBF" Width="239px"
|
||
AutoPostBack="True" OnCheckedChanged="chk_PatrimonioBancaFideuram_CheckedChanged" />
|
||
</asp:Panel>
|
||
<asp:Panel ID="Panel4" runat="server" BackColor="White" BorderColor="Black" BorderStyle="Solid"
|
||
BorderWidth="1px" Height="59px" Style="z-index: 1; left: 11px; position: absolute;
|
||
top: 422px" Width="690px">
|
||
|
||
<input id="btnPiramide" type="button" class="eventButton" runat="server" value="Stampa"
|
||
onclick="javascript:TracciaEventoAudit('2004');return simulazionePiramide()"
|
||
onmouseover="this.className='eventButtonOver';" onmouseout="this.className='eventButton';"
|
||
style="z-index: 1000; left: 581px; position: absolute; top: 18px" />
|
||
</asp:Panel>
|
||
<asp:Panel ID="Panel5" runat="server" BackColor="White" BorderColor="Black" BorderStyle="Solid"
|
||
BorderWidth="1px" Height="59px" Style="z-index: 1; left: 11px; position: absolute;
|
||
top: 486px" Width="690px">
|
||
|
||
<input id="btnConfronto" type="button" class="eventButton" runat="server" value="Stampa"
|
||
onmouseover="this.className='eventButtonOver';" onclick="javascript:TracciaEventoAudit('2005');return confrontoPiramidi()"
|
||
onmouseout="this.className='eventButton';" style="z-index: 1000; left: 581px;
|
||
position: absolute; top: 18px" />
|
||
</asp:Panel>
|
||
<%-- <asp:Panel ID="Panel6" runat="server" BackColor="White" BorderColor="Black" BorderStyle="Solid"
|
||
BorderWidth="1px" Height="59px" Style="z-index: 1; left: 11px; position: absolute;
|
||
top: 550px" Width="690px">
|
||
|
||
<input id="btnProfilatura" type="button" class="eventButton" runat="server" value="Stampa"
|
||
onmouseover="this.className='eventButtonOver';" onclick="javascript:TracciaEventoAudit('2006');return schedaProfilatura()"
|
||
onmouseout="this.className='eventButton';" style="z-index: 1000; left: 581px;
|
||
position: absolute; top: 19px" />
|
||
</asp:Panel>--%>
|
||
<asp:Label ID="lbl_message" runat="server" CssClass="lblMessage" Height="16px" Style="left: 10px;
|
||
position: absolute; top: 27px" Width="690px" BackColor="#EEEEEE" Font-Bold="True"
|
||
Font-Names="Tahoma" Font-Size="9pt"></asp:Label>
|
||
<asp:RadioButton ID="RadioButton1" runat="server" Style="left: 10px; position: absolute;
|
||
top: 49px" GroupName="radioPrivacy" Text="Reportistica Nominativa" Font-Names="Tahoma"
|
||
Font-Size="7pt" />
|
||
<asp:RadioButton ID="RadioButton2" runat="server" Style="left: 11px; position: absolute;
|
||
top: 74px" GroupName="radioPrivacy" Text="Reportistica in forma anonima" Font-Names="Tahoma"
|
||
Font-Size="7pt" TabIndex="1" />
|
||
<asp:Label ID="lbl_Privacy" runat="server" Font-Bold="False" Font-Names="Tahoma"
|
||
Font-Size="7pt" Height="21px" Style="z-index: 110; left: 138px; position: absolute;
|
||
top: 56px" Text="Non <20> possibile stampare la reportistica nominativa in assenza del check di privacy presente nella sezione Dati personali <20> Anagrafica"
|
||
Visible="False" Width="551px"></asp:Label>
|
||
</form>
|
||
<%--<iframe id="Audit" src="Comuni/Infrastruttura/PaginaVuota.aspx" frameborder="0" scrolling="no"
|
||
style="display: none; z-index: 1"></iframe>--%>
|
||
</body>
|
||
</html>
|