update con Emanuele
iniziato a creare 2 report (Q/S) di stampa da sistemare by Gian
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>--%>
|
||||
<div class="row" style="min-height: 3.3em;">
|
||||
<div class="row" style="min-height: 3.3em; font-size:0.8em;">
|
||||
<div class="col-sm-12">
|
||||
<uc4:mod_range ID="mod_range1" runat="server" minVal="0" maxVal="5000" />
|
||||
</div>
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace C2P.WebUserControls
|
||||
periodo.fine = DateTime.Now.Date.AddDays(1);
|
||||
periodo.inizio = periodo.fine.AddDays(-8);
|
||||
mod_selPeriodo1.intervalloAnalisi = periodo;
|
||||
mod_range1.RangeLabel = traduci("RangeBatch");
|
||||
}
|
||||
setBtnVisib();
|
||||
mod_selPeriodo1.eh_doUpdate += mod_selPeriodo1_eh_doUpdate;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("NumDiesExaust") %>' valore='<%# Eval("NumDiesExaust", "{0:N0}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("DiesPrice") %>' valore='<%# Eval("DiesPrice", "{0:C3}") %>' />
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("DiesPrice") %>' valore='<%# Eval("DiesPrice", "{0:C0}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<uc1:mod_display ID="mod_display10" runat="server" etichetta='<%# traduci("CodItemGroup") %>' valore='<%# Bind("CodItemGroup") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("UnitWeight") %>' valore='<%# Bind("UnitWeight") %>' />
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("UnitWeight") %>' valore='<%# Bind("UnitWeight","{0:N0}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("Customer") %>' toolTipVal='<%# Bind("CodClient") %>' valore='<%# Bind("ClientName") %>' />
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<uc1:mod_display ID="mod_display10" runat="server" etichetta='<%# traduci("CodItemGroup") %>' valore='<%# Bind("CodItemGroup") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("UnitWeight") %>' valore='<%# Bind("UnitWeight") %>' />
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("UnitWeight") %>' valore='<%# Bind("UnitWeight","{0:N0}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("Customer") %>' toolTipVal='<%# Bind("CodClient") %>' valore='<%# Bind("ClientName") %>' />
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_range.ascx.cs" Inherits="C2P.WebUserControls.mod_range" %>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-5 text-left">
|
||||
<div class="col-xs-4 text-left">
|
||||
<div class="input-group input-group-sm">
|
||||
<span class="input-group-addon">
|
||||
<asp:Label runat="server" ID="lblMin"><%: traduci("Min") %></asp:Label>
|
||||
</span>
|
||||
<asp:Label runat="server" ID="valMin" Visible="false" />
|
||||
<asp:TextBox runat="server" ID="txtMin" Width="5em" AutoPostBack="true" CssClass="searchinput form-control" />
|
||||
<asp:TextBox runat="server" ID="txtMin" Width="5em" Font-Size="0.9em" AutoPostBack="true" CssClass="searchinput form-control" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-2 text-center">
|
||||
<%: traduci("Range") %>
|
||||
<div class="col-xs-4 text-center">
|
||||
<asp:Label runat="server" ForeColor="#999999" ID="lblRange"></asp:Label>
|
||||
</div>
|
||||
<div class="col-xs-5 text-right">
|
||||
<div class="col-xs-4 text-right">
|
||||
<div class="input-group input-group-sm">
|
||||
<span class="input-group-addon">
|
||||
<asp:Label runat="server" ID="lblMax"><%: traduci("Max") %></asp:Label>
|
||||
</span>
|
||||
<asp:Label runat="server" ID="valMax" Visible="false" />
|
||||
<asp:TextBox runat="server" ID="txtMax" Width="5em" AutoPostBack="true" CssClass="searchinput form-control" />
|
||||
<asp:TextBox runat="server" ID="txtMax" Width="5em" Font-Size="0.9em" AutoPostBack="true" CssClass="searchinput form-control" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -105,5 +105,19 @@ namespace C2P.WebUserControls
|
||||
txtMax.Text = value.ToString();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// valore range
|
||||
/// </summary>
|
||||
public string RangeLabel
|
||||
{
|
||||
get
|
||||
{
|
||||
return lblRange.Text.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
lblRange.Text = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
-4
@@ -13,13 +13,13 @@ namespace C2P.WebUserControls {
|
||||
public partial class mod_range {
|
||||
|
||||
/// <summary>
|
||||
/// lblField control.
|
||||
/// lblMin control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblField;
|
||||
protected global::System.Web.UI.WebControls.Label lblMin;
|
||||
|
||||
/// <summary>
|
||||
/// valMin control.
|
||||
@@ -40,13 +40,22 @@ namespace C2P.WebUserControls {
|
||||
protected global::System.Web.UI.WebControls.TextBox txtMin;
|
||||
|
||||
/// <summary>
|
||||
/// Label1 control.
|
||||
/// lblRange control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label1;
|
||||
protected global::System.Web.UI.WebControls.Label lblRange;
|
||||
|
||||
/// <summary>
|
||||
/// lblMax control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblMax;
|
||||
|
||||
/// <summary>
|
||||
/// valMax control.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -56,6 +56,16 @@ namespace C2P_Report
|
||||
|
||||
// 1) impostazione file report
|
||||
localReport.ReportPath = @".\Reports\ReportOffers.rdlc";
|
||||
// switch in base al tipo di report: Q (standard) o S (sim)
|
||||
switch(Request.QueryString["QuoteType"].ToString())
|
||||
{
|
||||
case "Q":
|
||||
localReport.ReportPath = @".\Reports\ReportOffers_Q.rdlc";
|
||||
break;
|
||||
case "S":
|
||||
localReport.ReportPath = @".\Reports\ReportOffers_S.rdlc";
|
||||
break;
|
||||
}
|
||||
|
||||
// 2) caricamento tab dati
|
||||
DataTable tabVoc = new DataTable();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.8.113.246")]
|
||||
[assembly: AssemblyFileVersion("0.8.113.246")]
|
||||
[assembly: AssemblyVersion("0.8.114.250")]
|
||||
[assembly: AssemblyFileVersion("0.8.114.250")]
|
||||
[assembly: AssemblyCopyright("Proxima & Steamware © 2013-2014")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.8.113.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("0.8.113.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("0.8.114.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("0.8.114.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Proxima & Steamware © 2013-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Reference in New Issue
Block a user