Fix link x report cliente
This commit is contained in:
@@ -284,7 +284,7 @@
|
||||
<Content Include="Images\bullet.png" />
|
||||
<Content Include="Images\heroAccent.png" />
|
||||
<Content Include="Images\loader.gif" />
|
||||
<Content Include="Images\LogoCms.jpg" />
|
||||
<Content Include="Images\LogoCMS.png" />
|
||||
<Content Include="Images\LogoHomeDx.png" />
|
||||
<Content Include="Images\LogoSteamware.png" />
|
||||
<Content Include="Images\orderedList0.png" />
|
||||
|
||||
+19
-19
@@ -17,11 +17,11 @@
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0, #e8e8e8 100%);
|
||||
}
|
||||
|
||||
.fontSmall{
|
||||
.fontSmall {
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
.textStrike{
|
||||
.textStrike {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
@@ -1205,25 +1205,25 @@ a {
|
||||
background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
|
||||
}
|
||||
|
||||
.GridPager a, .GridPager span {
|
||||
display: block;
|
||||
height: 2em;
|
||||
width: 2em;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
padding: .1rem;
|
||||
}
|
||||
.GridPager a, .GridPager span {
|
||||
display: block;
|
||||
height: 2em;
|
||||
width: 2em;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
padding: .1rem;
|
||||
}
|
||||
|
||||
.GridPager a {
|
||||
background-color: #f5f5f5;
|
||||
color: #969696;
|
||||
}
|
||||
.GridPager a {
|
||||
background-color: #f5f5f5;
|
||||
color: #969696;
|
||||
}
|
||||
|
||||
.GridPager span {
|
||||
background-color: #A1DCF2;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.GridPager span {
|
||||
background-color: #A1DCF2;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hiddenBtn {
|
||||
height: 0;
|
||||
|
||||
@@ -43,10 +43,10 @@
|
||||
<asp:HyperLink runat="server" Target="_blank" ID="hlShowReportFull" CssClass="btn btn-block btn-outline-primary" Text=''><b>F</b> | <%: traduci("btnShowReportFull") %> <i class="d-none d-xl-inline fa fa-file-pdf-o"></i></asp:HyperLink>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<asp:HyperLink runat="server" Target="_blank" ID="hlShowReportComp" CssClass="btn btn-block btn-outline-secondary" Visible="false"><b>C</b> | <%: traduci("btnShowReportComp") %> <i class="d-none d-xl-inline fa fa-file-pdf-o"></i></asp:HyperLink>
|
||||
<asp:HyperLink runat="server" Target="_blank" ID="hlShowReportComp" CssClass="btn btn-block btn-outline-secondary" Visible="false"><b>S</b> | <%: traduci("btnShowReportComp") %> <i class="d-none d-xl-inline fa fa-file-pdf-o"></i></asp:HyperLink>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<asp:HyperLink runat="server" Target="_blank" ID="hlShowReportCli" CssClass="btn btn-block btn-outline-info"><b>S</b> | <%: traduci("btnShowReportCli") %> <i class="d-none d-xl-inline fa fa-file-pdf-o"></i></asp:HyperLink>
|
||||
<asp:HyperLink runat="server" Target="_blank" ID="hlShowReportCli" CssClass="btn btn-block btn-outline-info"><b>C</b> | <%: traduci("btnShowReportCli") %> <i class="d-none d-xl-inline fa fa-file-pdf-o"></i></asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
|
||||
<div class="row" style="margin-top: -10px;">
|
||||
<div class="col-6" style="color: #ee8800; padding: 10px 30px; text-align: left;">
|
||||
<img src="Images/LogoCms.jpg" alt="CMS" class="img-fluid" height="120" width="480" />
|
||||
<img src="Images/LogoCms.png" alt="CMS" class="img-fluid" height="120" width="480" />
|
||||
</div>
|
||||
<div class="col-6" style="color: #ee8800; padding: 10px 30px;">
|
||||
<img src="Images/LogoHomeDx.png" alt="" class="img-fluid pull-right" height="120" width="480" />
|
||||
|
||||
@@ -12,15 +12,27 @@
|
||||
<div class="card m-0">
|
||||
<div class="card-header p-3">
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<div class="col-3">
|
||||
<h3 class="card-title text-uppercase"><%: traduci("ReportCliente") %></h3>
|
||||
<asp:HiddenField runat="server" ID="hfIdxDossier" />
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="col-3">
|
||||
<b>Fase</b>
|
||||
<asp:DropDownList runat="server" ID="ddlFase" DataSourceID="odsFase" CssClass="form-control form-control-sm" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlFase_SelectedIndexChanged"></asp:DropDownList>
|
||||
<asp:ObjectDataSource runat="server" ID="odsFase" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selFasiTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="col-3">
|
||||
<b>Rev</b>
|
||||
<asp:DropDownList runat="server" ID="ddlRev" DataSourceID="odsRev" DataTextField="label" CssClass="form-control form-control-sm" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlRev_SelectedIndexChanged">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsRev" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByDF" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selRevTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfIdxDossier" Name="IdxDossier" PropertyName="Value" Type="Int32" />
|
||||
<asp:ControlParameter ControlID="ddlFase" Name="Fase" PropertyName="SelectedValue" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<b>Lingua</b>
|
||||
<asp:DropDownList runat="server" ID="ddlLingue" DataSourceID="odsLingue" CssClass="form-control form-control-sm" DataTextField="label" DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlLingue_SelectedIndexChanged"></asp:DropDownList>
|
||||
<asp:ObjectDataSource runat="server" ID="odsLingue" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="CMS_SC_Data.DS_UtilityTableAdapters.v_selLingueTableAdapter"></asp:ObjectDataSource>
|
||||
|
||||
@@ -4,46 +4,72 @@ using System.Web.UI;
|
||||
|
||||
namespace CMS_SC
|
||||
{
|
||||
public partial class ReportCliente : System.Web.UI.Page
|
||||
public partial class ReportCliente : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
mod_reportCompleto.Fase = ddlFase.SelectedValue;
|
||||
mod_reportCompleto.Lingua = ddlLingue.SelectedValue;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// wrapper traduzione
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(string lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
/// <summary>
|
||||
/// cambio fase
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlFase_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
mod_reportCompleto.Fase = ddlFase.SelectedValue;
|
||||
mod_reportCompleto.Lingua = ddlLingue.SelectedValue;
|
||||
mod_reportCompleto.fixReport();
|
||||
}
|
||||
/// <summary>
|
||||
/// cambio lingua
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlLingue_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
mod_reportCompleto.Fase = ddlFase.SelectedValue;
|
||||
mod_reportCompleto.Lingua = ddlLingue.SelectedValue;
|
||||
mod_reportCompleto.fixReport();
|
||||
}
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
ddlFase.DataBind();
|
||||
ddlRev.DataBind();
|
||||
ddlLingue.DataBind();
|
||||
hfIdxDossier.Value = memLayer.ML.QSS("IdxDossier");
|
||||
// se c'è seleziono fase...
|
||||
ddlFase.SelectedValue = memLayer.ML.QSS("Fase");
|
||||
//mod_reportCompleto.Fase = ddlFase.SelectedValue;
|
||||
//mod_reportCompleto.Lingua = ddlLingue.SelectedValue;
|
||||
fixSelReport();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// wrapper traduzione
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(string lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
/// <summary>
|
||||
/// cambio fase
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlFase_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
fixSelReport();
|
||||
}
|
||||
/// <summary>
|
||||
/// cambio lingua
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlLingue_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
fixSelReport();
|
||||
}
|
||||
/// <summary>
|
||||
/// Cambio revisione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlRev_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
fixSelReport();
|
||||
}
|
||||
/// <summary>
|
||||
/// Sistemazione report con parametri
|
||||
/// </summary>
|
||||
private void fixSelReport()
|
||||
{
|
||||
// recupero num revisione
|
||||
int rev = 0;
|
||||
int.TryParse(ddlRev.SelectedValue, out rev);
|
||||
// imposto!
|
||||
mod_reportCompleto.Fase = ddlFase.SelectedValue;
|
||||
mod_reportCompleto.Rev = rev;
|
||||
mod_reportCompleto.Lingua = ddlLingue.SelectedValue;
|
||||
mod_reportCompleto.fixReport();
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+27
@@ -12,6 +12,15 @@ namespace CMS_SC {
|
||||
|
||||
public partial class ReportCliente {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfIdxDossier.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfIdxDossier;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlFase.
|
||||
/// </summary>
|
||||
@@ -30,6 +39,24 @@ namespace CMS_SC {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsFase;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlRev.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlRev;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsRev.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsRev;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlLingue.
|
||||
/// </summary>
|
||||
|
||||
+259
-737
File diff suppressed because it is too large
Load Diff
+319
-535
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user