Merge branch 'develop'
This commit is contained in:
@@ -293,10 +293,12 @@
|
||||
<Content Include="Images\WorkInProgress.jpg" />
|
||||
<Content Include="Import.aspx" />
|
||||
<Content Include="jumper.aspx" />
|
||||
<Content Include="listValues.aspx" />
|
||||
<Content Include="login.aspx" />
|
||||
<Content Include="MakeSim.aspx" />
|
||||
<Content Include="MarginReport.aspx" />
|
||||
<Content Include="NewProductOffer.aspx" />
|
||||
<Content Include="OfferReport.aspx" />
|
||||
<Content Include="OffersArchive.aspx" />
|
||||
<Content Include="packages.config" />
|
||||
<Content Include="NLog.config">
|
||||
@@ -323,6 +325,7 @@
|
||||
<Content Include="fonts\fontawesome-webfont.eot" />
|
||||
<Content Include="fonts\FontAwesome.otf" />
|
||||
<None Include="Properties\PublishProfiles\demo.pubxml" />
|
||||
<Content Include="Reports\OfferReport.xlsx" />
|
||||
<None Include="Scripts\jquery-2.1.1.intellisense.js" />
|
||||
<Content Include="Scripts\jquery-2.1.1.js" />
|
||||
<Content Include="Scripts\jquery-2.1.1.min.js" />
|
||||
@@ -370,11 +373,13 @@
|
||||
<Content Include="WebUserControls\mod_fileUploader.ascx" />
|
||||
<Content Include="WebUserControls\mod_imgPreview.ascx" />
|
||||
<Content Include="WebUserControls\mod_lemmiVocab.ascx" />
|
||||
<Content Include="WebUserControls\mod_listValues.ascx" />
|
||||
<Content Include="WebUserControls\mod_login.ascx" />
|
||||
<Content Include="WebUserControls\mod_MaRepActData.ascx" />
|
||||
<Content Include="WebUserControls\mod_MaRepNewData.ascx" />
|
||||
<Content Include="WebUserControls\mod_marginReport.ascx" />
|
||||
<Content Include="WebUserControls\mod_newProduct.ascx" />
|
||||
<Content Include="WebUserControls\mod_OfferReport.ascx" />
|
||||
<Content Include="WebUserControls\mod_OffersArchive.ascx" />
|
||||
<Content Include="WebUserControls\mod_Q_Costs.ascx" />
|
||||
<Content Include="WebUserControls\mod_Q_ExtrPar.ascx" />
|
||||
@@ -546,6 +551,13 @@
|
||||
<Compile Include="jumper.aspx.designer.cs">
|
||||
<DependentUpon>jumper.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="listValues.aspx.cs">
|
||||
<DependentUpon>listValues.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="listValues.aspx.designer.cs">
|
||||
<DependentUpon>listValues.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="login.aspx.cs">
|
||||
<DependentUpon>login.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -574,6 +586,13 @@
|
||||
<Compile Include="NewProductOffer.aspx.designer.cs">
|
||||
<DependentUpon>NewProductOffer.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OfferReport.aspx.cs">
|
||||
<DependentUpon>OfferReport.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OfferReport.aspx.designer.cs">
|
||||
<DependentUpon>OfferReport.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OffersArchive.aspx.cs">
|
||||
<DependentUpon>OffersArchive.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -759,6 +778,13 @@
|
||||
<Compile Include="WebUserControls\mod_lemmiVocab.ascx.designer.cs">
|
||||
<DependentUpon>mod_lemmiVocab.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_listValues.ascx.cs">
|
||||
<DependentUpon>mod_listValues.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_listValues.ascx.designer.cs">
|
||||
<DependentUpon>mod_listValues.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_login.ascx.cs">
|
||||
<DependentUpon>mod_login.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -801,6 +827,13 @@
|
||||
<Compile Include="WebUserControls\mod_newQuote.ascx.designer.cs">
|
||||
<DependentUpon>mod_newQuote.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_OfferReport.ascx.cs">
|
||||
<DependentUpon>mod_OfferReport.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_OfferReport.ascx.designer.cs">
|
||||
<DependentUpon>mod_OfferReport.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_OffersArchive.ascx.cs">
|
||||
<DependentUpon>mod_OffersArchive.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
<NameOfLastUsedPublishProfile>costimateZip</NameOfLastUsedPublishProfile>
|
||||
<NameOfLastUsedPublishProfile>WinLab</NameOfLastUsedPublishProfile>
|
||||
</PropertyGroup>
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="OfferReport.aspx.cs" Inherits="C2P.OfferReport" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_OfferReport.ascx" TagPrefix="uc1" TagName="mod_OfferReport" %>
|
||||
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="container marketing">
|
||||
<br />
|
||||
<uc1:mod_OfferReport runat="server" id="mod_OfferReport" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace C2P
|
||||
{
|
||||
public partial class OfferReport : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace C2P {
|
||||
|
||||
|
||||
public partial class OfferReport {
|
||||
|
||||
/// <summary>
|
||||
/// mod_OfferReport control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::C2P.WebUserControls.mod_OfferReport mod_OfferReport;
|
||||
}
|
||||
}
|
||||
+1
-37
@@ -18,43 +18,7 @@ namespace C2P
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
// imposto iframe! con tutti i possibili valori di URL
|
||||
repView.Src = string.Format(@"{0}/ReportViewer.aspx?ticket={1}&lingua={2}&QuoteType={3}&CodQuote={4}&QuoteRev={5}", memLayer.ML.confReadString("reportsUrl"), Request.QueryString["ticket"], user_std.UtSn.lingua, Request.QueryString["QuoteType"], Request.QueryString["CodQuote"], Request.QueryString["QuoteRev"]);
|
||||
#if false
|
||||
if (memLayer.ML.confReadBool("ReportRemoteRender"))
|
||||
{
|
||||
ReportOffers.ProcessingMode = ProcessingMode.Remote;
|
||||
ReportOffers.ServerReport.ReportServerUrl = new Uri(@"http://10.74.82.217/ReportServer_SQL2008R2");
|
||||
ReportOffers.ServerReport.ReportPath = @"/Test/ReportOffers";
|
||||
ReportOffers.ServerReport.DisplayName = "Offers";
|
||||
}
|
||||
else
|
||||
{
|
||||
ReportOffers.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Local;
|
||||
LocalReport localReport = ReportOffers.LocalReport;
|
||||
|
||||
// 0) recupero la richiesta di stampa: numero ticket!
|
||||
int ticket = 0;
|
||||
try
|
||||
{
|
||||
ticket = Convert.ToInt32(Request.QueryString["ticket"]);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
|
||||
// 1) impostazione file report
|
||||
localReport.ReportPath = @".\Reports\ReportOffers.rdlc";
|
||||
|
||||
// 2) caricamento tab dati
|
||||
DataTable tabVoc = new DataTable();
|
||||
DataTable tabQuote = new DataTable();
|
||||
tabVoc = (DataTable)SteamWare.selDataVoc.mgr.getVocabolarioByLemma(SteamWare.user_std.UtSn.lingua, "C2P_prt1"); // HARD CODED lemma x report!!!
|
||||
tabQuote = (DataTable)DtProxy.man.taQFQ.repOffersByTicket(ticket);
|
||||
|
||||
// 3) inserimento dataset nel report
|
||||
localReport.DataSources.Add(new ReportDataSource("dsVocabolario", tabVoc));
|
||||
localReport.DataSources.Add(new ReportDataSource("dsQuoteFull_Q_Data", tabQuote));
|
||||
}
|
||||
#endif
|
||||
repView.Src = string.Format(@"{0}/ReportViewer.aspx?ticket={1}&lingua={2}&QuoteType={3}&CodQuote={4}&QuoteRev={5}&TypeDoc={6}", memLayer.ML.confReadString("reportsUrl"), Request.QueryString["ticket"], user_std.UtSn.lingua, Request.QueryString["QuoteType"], Request.QueryString["CodQuote"], Request.QueryString["QuoteRev"], Request.QueryString["TypeDoc"]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_OfferReport.ascx.cs" Inherits="C2P.WebUserControls.mod_OfferReport" %>
|
||||
<div class="row">
|
||||
<!--style="min-height: 282px;">-->
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-4 col-xs-offset-4">
|
||||
<div runat="server" id="divHelp">
|
||||
<h3 style="text-align: center; margin: auto;"><%: traduci("HOffRepTitle") %></h3>
|
||||
<div style="font-size: 1.2em; text-align: center; margin: auto;">
|
||||
<%: traduci("HOffRepBody") %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body" style="min-height: 213px;">
|
||||
<div class="row">
|
||||
<div class="col-xs-offset-3 col-xs-6">
|
||||
<div runat="server" id="divAnalisys">
|
||||
<%--<h3><%: traduci("HMaRepStepC") %></h3>--%>
|
||||
<div class="panel panel-info" style="min-height: 180px;">
|
||||
<div class="panel-heading">
|
||||
<h4 style="margin-top: -4px; margin-bottom: -4px;"><%--<%: traduci("HMaRepProcData") %>--%> </h4>
|
||||
</div>
|
||||
<div class="panel-body bg-info" style="padding-top: 20px; padding-bottom: 20px;">
|
||||
<div class="col-xs-12 text-center">
|
||||
<asp:HyperLink runat="server" ID="HyperLink2" class="btn btn-success btn-lg" NavigateUrl="~/Reports/OfferReport.xlsx">
|
||||
|
||||
<i class="fa fa-file-excel-o fa-3x"></i>
|
||||
<div style="margin-top:0.5em;">
|
||||
<%: traduci("OfferReportFile") %>
|
||||
</div>
|
||||
</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using C2P_Data;
|
||||
|
||||
namespace C2P.WebUserControls
|
||||
{
|
||||
public partial class mod_OfferReport : SteamWare.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace C2P.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_OfferReport {
|
||||
|
||||
/// <summary>
|
||||
/// divHelp control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divHelp;
|
||||
|
||||
/// <summary>
|
||||
/// divAnalisys control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAnalisys;
|
||||
|
||||
/// <summary>
|
||||
/// HyperLink2 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.HyperLink HyperLink2;
|
||||
}
|
||||
}
|
||||
@@ -96,7 +96,7 @@
|
||||
</div>
|
||||
<div class="col-sm-8">
|
||||
<div class="row" style="min-height: 3.1em;">
|
||||
<div class="col-sm-3 col-sm-offset-1" style="padding: 0px 4px;">
|
||||
<div class="col-sm-3" style="padding: 0px 4px;">
|
||||
<asp:LinkButton runat="server" Width="100%" ID="lbOpen" CssClass="btn btn-success" OnClick="lbOpen_Click"><i class="fa fa-search"></i> <%:traduci("Open") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-sm-2" style="padding: 0px 4px;">
|
||||
@@ -111,6 +111,10 @@
|
||||
<div class="col-sm-2 col-sm-offset-1" style="padding: 0px 4px;">
|
||||
<asp:LinkButton runat="server" Width="100%" ID="lbPrint" CssClass="btn btn-info" OnClick="lbPrint_Click"><i class="fa fa-print"></i> <%:traduci("Print") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-sm-1" style="padding: 0px 4px;">
|
||||
<asp:DropDownList runat="server" ID="ddlTypeDoc" CssClass="btn btn-default dropdown-toggle" Font-Size="X-Small" DataSourceID="odsTipoDoc" DataTextField="label" datal="value" DataValueField="value">
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
@@ -124,7 +128,7 @@
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="">
|
||||
<ItemTemplate>
|
||||
<uc1:mod_imgPreview runat="server" id="mod_imgPreview" imgSize="32" CodItem='<%# Eval("CodItem") %>' showLinkProfili="false" />
|
||||
<uc1:mod_imgPreview runat="server" ID="mod_imgPreview" imgSize="32" CodItem='<%# Eval("CodItem") %>' showLinkProfili="false" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Offer #" SortExpression="CodQuote">
|
||||
@@ -136,6 +140,8 @@
|
||||
<asp:TemplateField HeaderText="QS" SortExpression="idxQState">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# traduci("ST" + Eval("idxQState")) %>'></asp:Label>
|
||||
/
|
||||
<asp:Label ID="lblRes" runat="server" Text='<%# Bind("OfferResult") %>' Font-Bold="true" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="ClientName" HeaderText="Customer" SortExpression="ClientName" ReadOnly="true" />
|
||||
@@ -198,7 +204,7 @@
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</div>
|
||||
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getBySearch" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" OnSelecting="odsQuotes_Selecting">
|
||||
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getBySearch" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" OnSelecting="odsQuotes_Selecting">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="acClient" PropertyName="valore" Name="CodClient" DefaultValue="" Type="String" />
|
||||
<asp:ControlParameter ControlID="acItem" PropertyName="valore" Name="CodItem" DefaultValue="" Type="String" />
|
||||
@@ -212,6 +218,12 @@
|
||||
<asp:SessionParameter SessionField="searchVal" Name="search" Type="String" DefaultValue="*" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsTipoDoc" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="*" Name="TableName" Type="String" />
|
||||
<asp:Parameter DefaultValue="TipoDoc" Name="FieldName" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
</div>
|
||||
<div runat="server" id="numRes" class="row">
|
||||
|
||||
@@ -489,7 +489,7 @@ namespace C2P.WebUserControls
|
||||
}
|
||||
}
|
||||
// rimando a pagina di stampa reports...
|
||||
Response.Redirect(string.Format("RepOffers?ticket={0}&QuoteType={1}&CodQuote=0&QuoteRev=0", ticket, QuoteType));
|
||||
Response.Redirect(string.Format("RepOffers?ticket={0}&QuoteType={1}&CodQuote=0&QuoteRev=0&TypeDoc={2}", ticket, QuoteType, ddlTypeDoc.SelectedValue));
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
@@ -156,6 +156,15 @@ namespace C2P.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbPrint;
|
||||
|
||||
/// <summary>
|
||||
/// ddlTypeDoc 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.DropDownList ddlTypeDoc;
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
@@ -174,6 +183,15 @@ namespace C2P.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsQuotes;
|
||||
|
||||
/// <summary>
|
||||
/// odsTipoDoc 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.ObjectDataSource odsTipoDoc;
|
||||
|
||||
/// <summary>
|
||||
/// numRes control.
|
||||
/// </summary>
|
||||
|
||||
@@ -45,9 +45,18 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="col-xs-9">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("Note") %>' valore='<%# Bind("Note") %>' />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("OfferResult") %>' valore='<%# Bind("OfferResult") %>' />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("KoReason") %>' valore='<%# Bind("KoReason") %>' />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display15" runat="server" etichetta='<%# traduci("Agente") %>' valore='<%# Bind("Agente") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
@@ -100,10 +109,22 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="col-xs-9">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("Note") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox1" runat="server" Text='<%# Bind("Note") %>' TextMode="MultiLine" Width="100%" Height="4em" />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("OfferResult") %>' />
|
||||
<asp:DropDownList ID="DropDownList4" runat="server" DataSourceID="odsOfferResult" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("OfferResult") %>' CssClass="text-right" Width="97.5%" Font-Size="0.8em" />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("KoReason") %>' />
|
||||
<asp:DropDownList ID="DropDownList5" runat="server" DataSourceID="odsKoReason" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("KoReason") %>' CssClass="text-right" Width="97.5%" Font-Size="0.8em" />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display15" runat="server" etichetta='<%# traduci("Agente") %>' />
|
||||
<asp:DropDownList ID="DropDownList6" runat="server" DataSourceID="odsAgente" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Agente") %>' CssClass="text-right" Width="97.5%" Font-Size="0.8em" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-xs-offset-3">
|
||||
@@ -143,7 +164,7 @@
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("Base6060") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="txtRawMatCost" runat="server" Text='<%# Bind("RawMatCost","{0:N3}") %>' />
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage='<%# traduci("ErrRawMatCost") %>' CssClass="text-danger" ControlToValidate="txtRawMatCost" Display="Dynamic"/>
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage='<%# traduci("ErrRawMatCost") %>' CssClass="text-danger" ControlToValidate="txtRawMatCost" Display="Dynamic" />
|
||||
<%--<asp:RegularExpressionValidator ID="RegularExpressionValidator1" CssClass="txt-danger" runat="server" ErrorMessage="00.000 !!!" ControlToValidate="txtRawMatCost" ValidationExpression="/\d+\.?\d*/" Display="Dynamic" />--%>
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
@@ -191,7 +212,7 @@
|
||||
</div>
|
||||
</InsertItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" UpdateMethod="updateHeaders" OnUpdated="odsQuotes_Updated" InsertMethod="insertNew" OnInserting="odsQuotes_Inserting">
|
||||
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" UpdateMethod="updateHeaders" OnUpdated="odsQuotes_Updated" InsertMethod="insertNew" OnInserting="odsQuotes_Inserting" OnUpdating="odsQuotes_Updating">
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="QuoteType" Type="String" DefaultValue="Q" />
|
||||
<asp:Parameter Name="CodClient" Type="String" />
|
||||
@@ -221,12 +242,37 @@
|
||||
<asp:Parameter Name="BatchQty" Type="Int32" />
|
||||
<asp:Parameter Name="CodInco" Type="String" />
|
||||
<asp:Parameter Name="Note" Type="String" />
|
||||
<asp:Parameter Name="OfferResult" Type="String" />
|
||||
<asp:Parameter Name="KoReason" Type="String" />
|
||||
<asp:Parameter Name="Agente" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsProducts" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selItemsTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsCustomers" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selClientTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsRawMat" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selRawMatTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsIncoterms" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selIncotermsTableAdapter"></asp:ObjectDataSource>
|
||||
|
||||
<asp:ObjectDataSource ID="odsOfferResult" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="QuoteList" Name="TableName" Type="String" />
|
||||
<asp:Parameter DefaultValue="OfferResult" Name="FieldName" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsKoReason" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="QuoteList" Name="TableName" Type="String" />
|
||||
<asp:Parameter DefaultValue="KoReason" Name="FieldName" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsAgente" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="QuoteList" Name="TableName" Type="String" />
|
||||
<asp:Parameter DefaultValue="Agente" Name="FieldName" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label runat="server" ID="Label1" CssClass="text-danger" Visible="false" />
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<asp:Label runat="server" ID="lblError" CssClass="text-danger" Visible="false" />
|
||||
|
||||
@@ -208,5 +208,14 @@ namespace C2P.WebUserControls
|
||||
TextBox txtRMEC = (TextBox)frmView.FindControl("txtRawMatExtraCost");
|
||||
txtRMEC.Text = DtProxy.man.taRMD.getByKey(((DropDownList)sender).SelectedValue)[0].ExtraMatCost.ToString();
|
||||
}
|
||||
|
||||
protected void odsQuotes_Updating(object sender, ObjectDataSourceMethodEventArgs e)
|
||||
{
|
||||
// intercetto: se esito offerta è OK allora fausa KO è NA...
|
||||
if (e.InputParameters["OfferResult"].ToString() == "OK")
|
||||
{
|
||||
e.InputParameters["KoReason"] = "NA";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+36
@@ -84,6 +84,42 @@ namespace C2P.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsIncoterms;
|
||||
|
||||
/// <summary>
|
||||
/// odsOfferResult 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.ObjectDataSource odsOfferResult;
|
||||
|
||||
/// <summary>
|
||||
/// odsKoReason 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.ObjectDataSource odsKoReason;
|
||||
|
||||
/// <summary>
|
||||
/// odsAgente 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.ObjectDataSource odsAgente;
|
||||
|
||||
/// <summary>
|
||||
/// Label1 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;
|
||||
|
||||
/// <summary>
|
||||
/// lblError control.
|
||||
/// </summary>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblStatus" /></b>
|
||||
<asp:Label runat="server" ID="lblIdxQState" Visible="false" />
|
||||
<asp:Label runat="server" ID="lblOffRes" Visible="false" />
|
||||
|
|
||||
<asp:HyperLink runat="server" ID="hlGetPdf" Target="_blank">
|
||||
<asp:Image runat="server" ID="btnGetPdf" ImageUrl="~/Images/pdfExport.png" Height="24px" ToolTip="print" />
|
||||
@@ -26,7 +27,12 @@
|
||||
<asp:HyperLink runat="server" ID="hlRevHist" Target="_blank">
|
||||
<asp:Label runat="server" ID="lblQuoteType" />
|
||||
<asp:Label runat="server" ID="lblCodQuote" /><span style="color: #dedede; font-size: 0.8em;">.<asp:Label runat="server" ID="lblQuoteRev" /></span>
|
||||
</asp:HyperLink></div></div></div></div><div class="container">
|
||||
</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<!--style="min-height: 282px;">-->
|
||||
<div class="col-xs-10">
|
||||
@@ -34,10 +40,19 @@
|
||||
<%--<div class="panel-heading">--%>
|
||||
<div class="btn-group btn-group-justified">
|
||||
<div class="btn-group">
|
||||
<asp:LinkButton runat="server" ID="lbHeader" class="btn btn-default" OnClick="lbt_Click" CommandArgument="Header"><i class="fa fa-tasks"></i> <%: traduci("HEADER") %></asp:LinkButton></div><div class="btn-group">
|
||||
<asp:LinkButton runat="server" ID="lbCosts" class="btn btn-default" OnClick="lbt_Click" CommandArgument="Costs"><i class="fa fa-tasks"></i> <%: traduci("COSTS") %></asp:LinkButton></div><div class="btn-group">
|
||||
<asp:LinkButton runat="server" ID="lbExtrPar" class="btn btn-default" OnClick="lbt_Click" CommandArgument="ExtrPar"><i class="fa fa-tasks"></i> <%: traduci("EXTRUS-PARAM") %></asp:LinkButton></div><div class="btn-group">
|
||||
<asp:LinkButton runat="server" ID="lbPackPar" class="btn btn-default" OnClick="lbt_Click" CommandArgument="PackPar"><i class="fa fa-tasks"></i> <%: traduci("PACK-PARAM") %></asp:LinkButton></div></div><%--</div>--%><div class="panel-body">
|
||||
<asp:LinkButton runat="server" ID="lbHeader" class="btn btn-default" OnClick="lbt_Click" CommandArgument="Header"><i class="fa fa-tasks"></i> <%: traduci("HEADER") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<asp:LinkButton runat="server" ID="lbCosts" class="btn btn-default" OnClick="lbt_Click" CommandArgument="Costs"><i class="fa fa-tasks"></i> <%: traduci("COSTS") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<asp:LinkButton runat="server" ID="lbExtrPar" class="btn btn-default" OnClick="lbt_Click" CommandArgument="ExtrPar"><i class="fa fa-tasks"></i> <%: traduci("EXTRUS-PARAM") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<asp:LinkButton runat="server" ID="lbPackPar" class="btn btn-default" OnClick="lbt_Click" CommandArgument="PackPar"><i class="fa fa-tasks"></i> <%: traduci("PACK-PARAM") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<%--</div>--%><div class="panel-body">
|
||||
<uc1:mod_Q_Costs ID="mod_Q_Costs1" runat="server" />
|
||||
<uc2:mod_Q_ExtrPar ID="mod_Q_ExtrPar1" runat="server" />
|
||||
<uc3:mod_Q_Header ID="mod_Q_Header1" runat="server" />
|
||||
@@ -54,7 +69,10 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="btn-group btn-group-justified">
|
||||
<div class="btn-group">
|
||||
<asp:LinkButton runat="server" ID="lbQuotation" class="btn btn-default" OnClick="lbt_Click" CommandArgument="Quote"><i class="fa fa-tasks"></i> <%: traduci("QUOTATION") %></asp:LinkButton></div></div><div class="panel-body">
|
||||
<asp:LinkButton runat="server" ID="lbQuotation" class="btn btn-default" OnClick="lbt_Click" CommandArgument="Quote"><i class="fa fa-tasks"></i> <%: traduci("QUOTATION") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<uc5:mod_Q_Quot ID="mod_Q_Quot1" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -64,12 +82,30 @@
|
||||
<div class="col-xs-10">
|
||||
<div id="divStato0" runat="server" class="row">
|
||||
<div class="col-xs-4 col-xs-offset-2">
|
||||
<asp:LinkButton runat="server" ID="lbCreateOffer" class="btn btn-success" Width="100%" OnClick="lnkCreateOffer_Click"><i class="fa fa-check"></i> <%: traduci("nextIdxQState-01") %></asp:LinkButton></div><div class="col-xs-4">
|
||||
<asp:LinkButton runat="server" ID="lbConvQ2S" class="btn btn-danger" Width="100%" OnClick="lbConvQ2S_Click"><i class="fa fa-flask"></i> <%: traduci("ConvQ2S") %></asp:LinkButton></div></div><div id="divStato1" runat="server" class="row">
|
||||
<asp:LinkButton runat="server" ID="lbCreateOffer" class="btn btn-success" Width="100%" OnClick="lnkCreateOffer_Click"><i class="fa fa-check"></i> <%: traduci("nextIdxQState-01") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:LinkButton runat="server" ID="lbConvQ2S" class="btn btn-danger" Width="100%" OnClick="lbConvQ2S_Click"><i class="fa fa-flask"></i> <%: traduci("ConvQ2S") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div id="divStato1" runat="server" class="row">
|
||||
<div class="col-xs-4 col-xs-offset-2">
|
||||
<asp:LinkButton runat="server" ID="lbReject" class="btn btn-danger" Width="100%" OnClick="lbReject_Click"><i class="fa fa-thumbs-o-down"></i> <%: traduci("nextIdxQState-00") %></asp:LinkButton></div><div class="col-xs-4">
|
||||
<asp:LinkButton runat="server" ID="lbApprove" class="btn btn-success" Width="100%" OnClick="lbApprove_Click"><i class="fa fa-thumbs-o-up"></i> <%: traduci("nextIdxQState-02") %></asp:LinkButton></div></div><div id="divStato2" runat="server" class="row">
|
||||
<asp:LinkButton runat="server" ID="lbReject" class="btn btn-danger" Width="100%" OnClick="lbReject_Click"><i class="fa fa-thumbs-o-down"></i> <%: traduci("nextIdxQState-00") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:LinkButton runat="server" ID="lbApprove" class="btn btn-success" Width="100%" OnClick="lbApprove_Click"><i class="fa fa-thumbs-o-up"></i> <%: traduci("nextIdxQState-02") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div id="divStato2" runat="server" class="row">
|
||||
<div class="col-xs-4 col-xs-offset-4">
|
||||
<asp:LinkButton runat="server" ID="lbRelease" class="btn btn-success" Width="100%" OnClick="lbRelease_Click"><i class="fa fa-upload"></i> <%: traduci("nextIdxQState-03") %></asp:LinkButton></div></div><div id="divStato3" runat="server" class="row">
|
||||
<asp:LinkButton runat="server" ID="lbRelease" class="btn btn-success" Width="100%" OnClick="lbRelease_Click"><i class="fa fa-upload"></i> <%: traduci("nextIdxQState-03") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div id="divStato3" runat="server" class="row">
|
||||
<div class="col-xs-4 col-xs-offset-4">
|
||||
<asp:LinkButton runat="server" ID="lbNewRev" class="btn btn-success" Width="100%" OnClick="lbNewRev_Click"><i class="fa fa-upload"></i> <%: traduci("createNewRev") %></asp:LinkButton></div></div></div></div></div>
|
||||
<asp:LinkButton runat="server" ID="lbNewRev" class="btn btn-success" Width="100%" OnClick="lbNewRev_Click"><i class="fa fa-upload"></i> <%: traduci("createNewRev") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -92,6 +92,20 @@ namespace C2P.WebUserControls
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// RISULTATO OFFERTA x la scheda corrente (hidden)
|
||||
/// </summary>
|
||||
protected string OfferResult
|
||||
{
|
||||
get
|
||||
{
|
||||
return lblOffRes.Text;
|
||||
}
|
||||
set
|
||||
{
|
||||
lblOffRes.Text = value;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// precedente valore richiesto...
|
||||
/// </summary>
|
||||
protected string prevReq
|
||||
@@ -169,6 +183,7 @@ namespace C2P.WebUserControls
|
||||
{
|
||||
IdxQS = DtProxy.man.taQFQ.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), "N")[0].IdxQState;
|
||||
CodItem = DtProxy.man.taQFQ.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), "N")[0].CodItem;
|
||||
OfferResult = DtProxy.man.taQFQ.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), "N")[0].OfferResult;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
@@ -347,7 +362,9 @@ namespace C2P.WebUserControls
|
||||
divStato0.Visible = false;
|
||||
divStato1.Visible = false;
|
||||
divStato2.Visible = false;
|
||||
divStato3.Visible = true;
|
||||
// 2015.02.26 SOLO SE è in result = TBD
|
||||
//divStato3.Visible = true;
|
||||
divStato3.Visible = OfferResult == "TBD"; // hard coded !!!
|
||||
btnGetPdf.Visible = true;
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -48,6 +48,15 @@ namespace C2P.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblIdxQState;
|
||||
|
||||
/// <summary>
|
||||
/// lblOffRes 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 lblOffRes;
|
||||
|
||||
/// <summary>
|
||||
/// hlGetPdf control.
|
||||
/// </summary>
|
||||
|
||||
@@ -6,219 +6,261 @@
|
||||
<%} %>
|
||||
<%@ Register Src="~/WebUserControls/mod_display.ascx" TagName="mod_display" TagPrefix="uc1" %>
|
||||
|
||||
<asp:FormView ID="frmView" runat="server" DataKeyNames="QuoteType,CodQuote,QuoteRev" DataSourceID="odsQuotes" Width="100%" OnModeChanged="frmView_ModeChanged">
|
||||
<ItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display1" runat="server" etichetta='<%# traduci("ProductCode") %>' valore='<%# Bind("CodItem") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<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","{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") %>' />
|
||||
</div>
|
||||
<asp:FormView ID="frmView" runat="server" DataKeyNames="QuoteType,CodQuote,QuoteRev" DataSourceID="odsQuotes" Width="100%" OnModeChanged="frmView_ModeChanged">
|
||||
<ItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display1" runat="server" etichetta='<%# traduci("ProductCode") %>' valore='<%# Bind("CodItem") %>' />
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("Alloy") %>' valore='<%# Bind("RawMat") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("Base6060") %>' valore='<%# Bind("RawMatCost","{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("ExtraAlloy") %>' valore='<%# Bind("RawMatExtraCost","{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display4" runat="server" etichetta='<%# traduci("OrderBatch") %>' valore='<%# Bind("BatchQty") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display10" runat="server" etichetta='<%# traduci("CodItemGroup") %>' valore='<%# Bind("CodItemGroup") %>' />
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("Incoterms") %>' valore='<%# Bind("CodInco") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("Agency") %>' valore='<%# Bind("ProvvCost","{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("UnitWeight") %>' valore='<%# Bind("UnitWeight","{0:N0}") %>' />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("Note") %>' valore='<%# Bind("Note") %>' />
|
||||
</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") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("Alloy") %>' valore='<%# Bind("RawMat") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("Base6060") %>' valore='<%# Bind("RawMatCost","{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("ExtraAlloy") %>' valore='<%# Bind("RawMatExtraCost","{0:C3}") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display4" runat="server" etichetta='<%# traduci("OrderBatch") %>' valore='<%# Bind("BatchQty") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("Incoterms") %>' valore='<%# Bind("CodInco") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("Agency") %>' valore='<%# Bind("ProvvCost","{0:C3}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-9">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("Note") %>' valore='<%# Bind("Note") %>' />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("OfferResult") %>' valore='<%# Bind("OfferResult") %>' />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("KoReason") %>' valore='<%# Bind("KoReason") %>' />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display15" runat="server" etichetta='<%# traduci("Agente") %>' valore='<%# Bind("Agente") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display12" runat="server" etichetta='<%# traduci("ProductCode") %>' />
|
||||
<asp:DropDownList ID="ddlCodItem" runat="server" DataSourceID="odsProducts" DataValueField="value" DataTextField="value" SelectedValue='<%# Bind("CodItem") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display10" runat="server" etichetta='<%# traduci("CodItemGroup") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox2" runat="server" Text='<%# Bind("CodItemGroup") %>' Width="10em" />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("UnitWeight") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox3" runat="server" Text='<%# Bind("UnitWeight","{0:N3}") %>' Width="10em" />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display12" runat="server" etichetta='<%# traduci("ProductCode") %>' />
|
||||
<asp:DropDownList ID="ddlCodItem" runat="server" DataSourceID="odsProducts" DataValueField="value" DataTextField="value" SelectedValue='<%# Bind("CodItem") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display10" runat="server" etichetta='<%# traduci("CodItemGroup") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox2" runat="server" Text='<%# Bind("CodItemGroup") %>' Width="10em" />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display11" runat="server" etichetta='<%# traduci("UnitWeight") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox3" runat="server" Text='<%# Bind("UnitWeight","{0:N3}") %>' Width="10em" />
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("Customer") %>' />
|
||||
<asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="odsCustomers" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("CodClient") %>' CssClass="text-right" />
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("Customer") %>' />
|
||||
<asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="odsCustomers" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("CodClient") %>' CssClass="text-right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("Alloy") %>' />
|
||||
<asp:DropDownList ID="ddlRawMat" runat="server" DataSourceID="odsRawMat" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("RawMat") %>' OnSelectedIndexChanged="ddlRawMat_SelectedIndexChanged" AutoPostBack="true" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox3" runat="server" Text='<%# Bind("RawMat") %>' />--%>
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("Base6060") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox5" runat="server" Text='<%# Bind("RawMatCost","{0:N3}") %>' Width="10em" />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("ExtraAlloy") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="txtRawMatExtraCost" runat="server" Text='<%# Bind("RawMatExtraCost","{0:N3}") %>' Width="10em" />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display4" runat="server" etichetta='<%# traduci("OrderBatch") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox4" runat="server" Text='<%# Bind("BatchQty") %>' CssClass="text-right" Width="10em" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("Incoterms") %>' />
|
||||
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="odsIncoterms" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("CodInco") %>' CssClass="text-right" Width="97.5%" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox6" runat="server" Text='<%# Bind("CodInco") %>' CssClass="text-right" />--%>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("Agency") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="txtProvvCost" runat="server" Text='<%# Bind("ProvvCost","{0:N3}") %>' CssClass="text-right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-9">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("Note") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox1" runat="server" Text='<%# Bind("Note") %>' TextMode="MultiLine" Width="100%" Height="4em" />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display13" runat="server" etichetta='<%# traduci("OfferResult") %>' />
|
||||
<asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="odsOfferResult" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("OfferResult") %>' CssClass="text-right" Width="97.5%" Font-Size="0.8em" />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display14" runat="server" etichetta='<%# traduci("KoReason") %>' />
|
||||
<asp:DropDownList ID="DropDownList4" runat="server" DataSourceID="odsKoReason" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("KoReason") %>' CssClass="text-right" Width="97.5%" Font-Size="0.8em" />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<uc1:mod_display ID="mod_display15" runat="server" etichetta='<%# traduci("Agente") %>' />
|
||||
<asp:DropDownList ID="DropDownList5" runat="server" DataSourceID="odsAgente" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("Agente") %>' CssClass="text-right" Width="97.5%" Font-Size="0.8em" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-xs-offset-3">
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton1" class="btn btn-success" Width="100%" CausesValidation="true" CommandName="Update"><i class="fa fa-check"></i> <%: traduci("Update") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton2" class="btn btn-danger" Width="100%" CausesValidation="false" CommandName="Cancel"><i class="fa fa-undo"></i> <%: traduci("Cancel") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("Alloy") %>' />
|
||||
<asp:DropDownList ID="ddlRawMat" runat="server" DataSourceID="odsRawMat" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("RawMat") %>' OnSelectedIndexChanged="ddlRawMat_SelectedIndexChanged" AutoPostBack="true"/>
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox3" runat="server" Text='<%# Bind("RawMat") %>' />--%>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
<InsertItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display1" runat="server" etichetta='<%# traduci("ProductCode") %>' />
|
||||
<asp:DropDownList ID="ddlProducts" runat="server" DataSourceID="odsProducts" DataValueField="value" DataTextField="value" SelectedValue='<%# Bind("CodItem") %>' OnDataBound="ddlProducts_DataBound" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox1" runat="server" Text='<%# Bind("CodItem") %>' />--%>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("Customer") %>' />
|
||||
<asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="odsCustomers" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("CodClient") %>' CssClass="text-right" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox2" runat="server" Text='<%# Bind("CodClient") %>' CssClass="text-right" />--%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("Alloy") %>' />
|
||||
<asp:DropDownList ID="ddlRawMat" runat="server" DataSourceID="odsRawMat" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("RawMat") %>' OnDataBound="ddlRawMat_DataBound" OnSelectedIndexChanged="ddlRawMat_SelectedIndexChanged" AutoPostBack="true" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox3" runat="server" Text='<%# Bind("RawMat") %>' />--%>
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("Base6060") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="txtRawMatCost" runat="server" Text='<%# Bind("RawMatCost","{0:N3}") %>' Width="10em" />
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage='<%# traduci("ErrRawMatCost") %>' CssClass="text-danger" ControlToValidate="txtRawMatCost" Display="Dynamic" />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("ExtraAlloy") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="txtRawMatExtraCost" runat="server" Text='<%# Bind("RawMatExtraCost","{0:N3}") %>' OnDataBinding="txtRawMatExtraCost_DataBinding" Width="10em" />
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage='<%# traduci("ErrExtraAlloy") %>' CssClass="text-danger" ControlToValidate="txtRawMatExtraCost" Display="Dynamic" />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display4" runat="server" etichetta='<%# traduci("OrderBatch") %>' Width="10em" />
|
||||
<asp:TextBox Font-Bold="true" ID="txtBatchQty" runat="server" Text='<%# Bind("BatchQty") %>' CssClass="text-right" />
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage='<%# traduci("ErrBatchQty") %>' CssClass="text-danger" ControlToValidate="txtBatchQty" Display="Dynamic" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("Incoterms") %>' />
|
||||
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="odsIncoterms" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("CodInco") %>' CssClass="text-right" Width="97.5%" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox6" runat="server" Text='<%# Bind("CodInco") %>' CssClass="text-right" />--%>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("Agency") %>' />
|
||||
<asp:Label Font-Bold="true" ID="lblProvvCost" runat="server" Text='<%# Bind("ProvvCost","{0:N3}") %>' CssClass="text-right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("Note") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox1" runat="server" Text='<%# Bind("Note") %>' TextMode="MultiLine" Width="100%" Height="4em" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-xs-offset-3">
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton1" class="btn btn-success" Width="100%" CausesValidation="true" CommandName="Insert"><i class="fa fa-plus-square"></i> <%: traduci("Insert") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("Base6060") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox5" runat="server" Text='<%# Bind("RawMatCost","{0:N3}") %>' Width="10em" />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("ExtraAlloy") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="txtRawMatExtraCost" runat="server" Text='<%# Bind("RawMatExtraCost","{0:N3}") %>' Width="10em" />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display4" runat="server" etichetta='<%# traduci("OrderBatch") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox4" runat="server" Text='<%# Bind("BatchQty") %>' CssClass="text-right" Width="10em" />
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton2" class="btn btn-danger" Width="100%" CausesValidation="false" CommandName="Cancel"><i class="fa fa-undo"></i> <%: traduci("Cancel") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("Incoterms") %>' />
|
||||
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="odsIncoterms" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("CodInco") %>' CssClass="text-right" Width="97.5%" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox6" runat="server" Text='<%# Bind("CodInco") %>' CssClass="text-right" />--%>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("Agency") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="txtProvvCost" runat="server" Text='<%# Bind("ProvvCost","{0:N3}") %>' CssClass="text-right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("Note") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox1" runat="server" Text='<%# Bind("Note") %>' TextMode="MultiLine" Width="100%" Height="4em" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-xs-offset-3">
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton1" class="btn btn-success" Width="100%" CausesValidation="true" CommandName="Update"><i class="fa fa-check"></i> <%: traduci("Update") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton2" class="btn btn-danger" Width="100%" CausesValidation="false" CommandName="Cancel"><i class="fa fa-undo"></i> <%: traduci("Cancel") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
<InsertItemTemplate>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display1" runat="server" etichetta='<%# traduci("ProductCode") %>' />
|
||||
<asp:DropDownList ID="ddlProducts" runat="server" DataSourceID="odsProducts" DataValueField="value" DataTextField="value" SelectedValue='<%# Bind("CodItem") %>' OnDataBound="ddlProducts_DataBound" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox1" runat="server" Text='<%# Bind("CodItem") %>' />--%>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display2" runat="server" etichetta='<%# traduci("Customer") %>' />
|
||||
<asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="odsCustomers" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("CodClient") %>' CssClass="text-right" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox2" runat="server" Text='<%# Bind("CodClient") %>' CssClass="text-right" />--%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display3" runat="server" etichetta='<%# traduci("Alloy") %>' />
|
||||
<asp:DropDownList ID="ddlRawMat" runat="server" DataSourceID="odsRawMat" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("RawMat") %>' OnDataBound="ddlRawMat_DataBound" OnSelectedIndexChanged="ddlRawMat_SelectedIndexChanged" AutoPostBack="true" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox3" runat="server" Text='<%# Bind("RawMat") %>' />--%>
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display5" runat="server" etichetta='<%# traduci("Base6060") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="txtRawMatCost" runat="server" Text='<%# Bind("RawMatCost","{0:N3}") %>' Width="10em" />
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage='<%# traduci("ErrRawMatCost") %>' CssClass="text-danger" ControlToValidate="txtRawMatCost" Display="Dynamic" />
|
||||
</div>
|
||||
<div class="col-xs-2 text-left">
|
||||
<uc1:mod_display ID="mod_display7" runat="server" etichetta='<%# traduci("ExtraAlloy") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="txtRawMatExtraCost" runat="server" Text='<%# Bind("RawMatExtraCost","{0:N3}") %>' OnDataBinding="txtRawMatExtraCost_DataBinding" Width="10em" />
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage='<%# traduci("ErrExtraAlloy") %>' CssClass="text-danger" ControlToValidate="txtRawMatExtraCost" Display="Dynamic" />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display4" runat="server" etichetta='<%# traduci("OrderBatch") %>' Width="10em"/>
|
||||
<asp:TextBox Font-Bold="true" ID="txtBatchQty" runat="server" Text='<%# Bind("BatchQty") %>' CssClass="text-right" />
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage='<%# traduci("ErrBatchQty") %>' CssClass="text-danger" ControlToValidate="txtBatchQty" Display="Dynamic" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottomLine">
|
||||
<div class="col-xs-6 text-left">
|
||||
<uc1:mod_display ID="mod_display6" runat="server" etichetta='<%# traduci("Incoterms") %>' />
|
||||
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="odsIncoterms" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("CodInco") %>' CssClass="text-right" Width="97.5%" />
|
||||
<%--<asp:TextBox Font-Bold="true" ID="TextBox6" runat="server" Text='<%# Bind("CodInco") %>' CssClass="text-right" />--%>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<uc1:mod_display ID="mod_display8" runat="server" etichetta='<%# traduci("Agency") %>' />
|
||||
<asp:Label Font-Bold="true" ID="lblProvvCost" runat="server" Text='<%# Bind("ProvvCost","{0:N3}") %>' CssClass="text-right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<uc1:mod_display ID="mod_display9" runat="server" etichetta='<%# traduci("Note") %>' />
|
||||
<asp:TextBox Font-Bold="true" ID="TextBox1" runat="server" Text='<%# Bind("Note") %>' TextMode="MultiLine" Width="100%" Height="4em" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-xs-offset-3">
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton1" class="btn btn-success" Width="100%" CausesValidation="true" CommandName="Insert"><i class="fa fa-plus-square"></i> <%: traduci("Insert") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="LinkButton2" class="btn btn-danger" Width="100%" CausesValidation="false" CommandName="Cancel"><i class="fa fa-undo"></i> <%: traduci("Cancel") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</InsertItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" UpdateMethod="updateHeadSim" OnUpdated="odsQuotes_Updated" InsertMethod="insertNew" OnInserting="odsQuotes_Inserting">
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="QuoteType" Type="String" DefaultValue="S" />
|
||||
<asp:Parameter Name="CodClient" Type="String" />
|
||||
<asp:Parameter Name="CodItem" Type="String" />
|
||||
<asp:Parameter Name="RawMat" Type="String" />
|
||||
<asp:Parameter Name="RawMatCost" Type="Decimal" />
|
||||
<asp:Parameter Name="RawMatExtraCost" Type="Decimal" />
|
||||
<asp:Parameter Name="BatchQty" Type="Int32" />
|
||||
<asp:Parameter Name="CodInco" Type="String" />
|
||||
<asp:Parameter Name="Note" Type="String" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:QueryStringParameter Name="QuoteType" QueryStringField="QuoteType" Type="String" />
|
||||
<asp:QueryStringParameter Name="CodQuote" QueryStringField="CodQuote" Type="Int64" />
|
||||
<asp:QueryStringParameter Name="QuoteRev" QueryStringField="QuoteRev" Type="Int32" />
|
||||
<asp:Parameter DefaultValue="Y" Name="DoUpdate" Type="String" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_QuoteType" Type="String" />
|
||||
<asp:Parameter Name="Original_CodQuote" Type="Int64" />
|
||||
<asp:Parameter Name="Original_QuoteRev" Type="Int32" />
|
||||
<asp:Parameter Name="CodClient" Type="String" />
|
||||
<asp:Parameter Name="CodItem" Type="String" />
|
||||
<asp:Parameter Name="UnitWeight" Type="Decimal" />
|
||||
<asp:Parameter Name="CodItemGroup" Type="String" />
|
||||
<asp:Parameter Name="RawMat" Type="String" />
|
||||
<asp:Parameter Name="RawMatCost" Type="Decimal" />
|
||||
<asp:Parameter Name="RawMatExtraCost" Type="Decimal" />
|
||||
<asp:Parameter Name="BatchQty" Type="Int32" />
|
||||
<asp:Parameter Name="CodInco" Type="String" />
|
||||
<asp:Parameter Name="ProvvCost" Type="Decimal" />
|
||||
<asp:Parameter Name="Note" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsProducts" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selItemsTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsCustomers" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selClientTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsRawMat" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selRawMatTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsIncoterms" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selIncotermsTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:Label runat="server" ID="lblError" CssClass="text-danger" Visible="false" />
|
||||
</div>
|
||||
</InsertItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" UpdateMethod="updateHeadSim" OnUpdated="odsQuotes_Updated" InsertMethod="insertNew" OnInserting="odsQuotes_Inserting">
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="QuoteType" Type="String" DefaultValue="S" />
|
||||
<asp:Parameter Name="CodClient" Type="String" />
|
||||
<asp:Parameter Name="CodItem" Type="String" />
|
||||
<asp:Parameter Name="RawMat" Type="String" />
|
||||
<asp:Parameter Name="RawMatCost" Type="Decimal" />
|
||||
<asp:Parameter Name="RawMatExtraCost" Type="Decimal" />
|
||||
<asp:Parameter Name="BatchQty" Type="Int32" />
|
||||
<asp:Parameter Name="CodInco" Type="String" />
|
||||
<asp:Parameter Name="Note" Type="String" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:QueryStringParameter Name="QuoteType" QueryStringField="QuoteType" Type="String" />
|
||||
<asp:QueryStringParameter Name="CodQuote" QueryStringField="CodQuote" Type="Int64" />
|
||||
<asp:QueryStringParameter Name="QuoteRev" QueryStringField="QuoteRev" Type="Int32" />
|
||||
<asp:Parameter DefaultValue="Y" Name="DoUpdate" Type="String" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_QuoteType" Type="String" />
|
||||
<asp:Parameter Name="Original_CodQuote" Type="Int64" />
|
||||
<asp:Parameter Name="Original_QuoteRev" Type="Int32" />
|
||||
<asp:Parameter Name="CodClient" Type="String" />
|
||||
<asp:Parameter Name="CodItem" Type="String" />
|
||||
<asp:Parameter Name="UnitWeight" Type="Decimal" />
|
||||
<asp:Parameter Name="CodItemGroup" Type="String" />
|
||||
<asp:Parameter Name="RawMat" Type="String" />
|
||||
<asp:Parameter Name="RawMatCost" Type="Decimal" />
|
||||
<asp:Parameter Name="RawMatExtraCost" Type="Decimal" />
|
||||
<asp:Parameter Name="BatchQty" Type="Int32" />
|
||||
<asp:Parameter Name="CodInco" Type="String" />
|
||||
<asp:Parameter Name="ProvvCost" Type="Decimal" />
|
||||
<asp:Parameter Name="Note" Type="String" />
|
||||
<asp:Parameter Name="OfferResult" Type="String" />
|
||||
<asp:Parameter Name="KoReason" Type="String" />
|
||||
<asp:Parameter Name="Agente" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsProducts" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selItemsTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsCustomers" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selClientTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsRawMat" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selRawMatTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsIncoterms" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selIncotermsTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsOfferResult" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="QuoteList" Name="TableName" Type="String" />
|
||||
<asp:Parameter DefaultValue="OfferResult" Name="FieldName" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsKoReason" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="QuoteList" Name="TableName" Type="String" />
|
||||
<asp:Parameter DefaultValue="KoReason" Name="FieldName" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsAgente" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="C2P_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="QuoteList" Name="TableName" Type="String" />
|
||||
<asp:Parameter DefaultValue="Agente" Name="FieldName" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label runat="server" ID="lblError" CssClass="text-danger" Visible="false" />
|
||||
|
||||
|
||||
@@ -209,5 +209,14 @@ namespace C2P.WebUserControls
|
||||
TextBox txtRMEC = (TextBox)frmView.FindControl("txtRawMatExtraCost");
|
||||
txtRMEC.Text = DtProxy.man.taRMD.getByKey(((DropDownList)sender).SelectedValue)[0].ExtraMatCost.ToString();
|
||||
}
|
||||
|
||||
protected void odsQuotes_Updating(object sender, ObjectDataSourceMethodEventArgs e)
|
||||
{
|
||||
// intercetto: se esito offerta è OK allora fausa KO è NA...
|
||||
if (e.InputParameters["OfferResult"].ToString() == "OK")
|
||||
{
|
||||
e.InputParameters["KoReason"] = "NA";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+27
@@ -84,6 +84,33 @@ namespace C2P.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsIncoterms;
|
||||
|
||||
/// <summary>
|
||||
/// odsOfferResult 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.ObjectDataSource odsOfferResult;
|
||||
|
||||
/// <summary>
|
||||
/// odsKoReason 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.ObjectDataSource odsKoReason;
|
||||
|
||||
/// <summary>
|
||||
/// odsAgente 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.ObjectDataSource odsAgente;
|
||||
|
||||
/// <summary>
|
||||
/// lblError control.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,136 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_listValues.ascx.cs"
|
||||
Inherits="C2P.WebUserControls.mod_listValues" %>
|
||||
|
||||
|
||||
<div class="row" style="font-size: 8pt;">
|
||||
<div class="col-sm-2">
|
||||
<div class="input-group input-group-sm">
|
||||
<div class="input-group-btn">
|
||||
<asp:DropDownList ID="ddlTable" runat="server" AutoPostBack="True" CssClass="btn btn-default dropdown-toggle" Font-Size="X-Small" DataSourceID="odsTableName" DataTextField="TableName" DataValueField="TableName" AppendDataBoundItems="true" OnSelectedIndexChanged="ddlTable_SelectedIndexChanged">
|
||||
<asp:ListItem Value="" Selected="True">--- Select ---</asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<asp:LinkButton ID="lbShowNew" runat="server" OnClick="btnShowInsert" CssClass="btn btn-default">
|
||||
<i class="glyphicon glyphicon-plus"></i>
|
||||
<asp:Label ID="lblBtnShowNew" runat="server" Text="..." />
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-sm-8" style="height: 5em;">
|
||||
<div runat="server" id="divInsert">
|
||||
<div class="col-sm-3">
|
||||
<%: traduci("TableName") %>:
|
||||
<asp:TextBox runat="server" ID="txtTableName" />
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<%: traduci("FieldName") %>:
|
||||
<asp:TextBox runat="server" ID="txtFieldName" />
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<%: traduci("value") %>:
|
||||
<asp:TextBox runat="server" ID="txtvalue" />
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<asp:LinkButton ID="btnDoInsert" runat="server" CssClass="btn btn-default" OnClick="btnDoInsert_Click">
|
||||
<i class="glyphicon glyphicon-plus"></i>
|
||||
<%: traduci("insertNew") %>
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AllowPaging="True" AllowSorting="True"
|
||||
DataKeyNames="TableName,FieldName,value" AutoGenerateColumns="False" CssClass="table table-striped table-bordered"
|
||||
OnDataBound="grView_DataBound">
|
||||
<EmptyDataTemplate>
|
||||
<h3>
|
||||
<asp:Label runat="server" ID="lblNoRes" Text='<%# traduci("NoResultsFound") %>' />
|
||||
</h3>
|
||||
<asp:Label runat="server" ID="Label4" Text='<%# traduci("PleaseSelectFromList") %>' />
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbUpdate" CausesValidation="true" CommandName="Update"><i class="fa fa-check fa-2x"></i></asp:LinkButton><asp:LinkButton runat="server" ID="lbCancel" CausesValidation="false" CommandName="Cancel"><i class="fa fa-undo fa-2x"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbEdit" CausesValidation="false" CommandName="Edit"><i class="fa fa-edit fa-2x"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="TableName" HeaderText="TableName" ReadOnly="True" SortExpression="TableName" />
|
||||
<asp:BoundField DataField="FieldName" HeaderText="FieldName" ReadOnly="True" SortExpression="FieldName" />
|
||||
<asp:BoundField DataField="value" HeaderText="value" ReadOnly="True" SortExpression="value" />
|
||||
<asp:TemplateField HeaderText="label" SortExpression="label">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("label") %>' />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Bind("label") %>' />
|
||||
</ItemTemplate>
|
||||
<FooterTemplate>
|
||||
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("label") %>' Width="20em" />
|
||||
</FooterTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="ordinal" SortExpression="ordinal">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("ordinal") %>' Width="3em" />
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label3" runat="server" Text='<%# Bind("ordinal") %>' />
|
||||
</ItemTemplate>
|
||||
<FooterTemplate>
|
||||
<asp:TextBox ID="txtordinal" runat="server" Text='<%# Bind("ordinal") %>' Width="3em" />
|
||||
</FooterTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
|
||||
<HeaderTemplate>
|
||||
<%--<asp:LinkButton ID="lbtReset" runat="server" OnClick="btnShowFooter" CssClass="btn btn-default" Visible="true"><i class="glyphicon glyphicon-plus"></i> <%: traduci("btnNewListVal") %></asp:LinkButton>--%>
|
||||
</HeaderTemplate>
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbDelete" CausesValidation="false" CommandName="Delete" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaDel") %>'><i class="fa fa-trash-o fa-2x"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
<asp:ObjectDataSource ID="ods" runat="server" InsertMethod="insertQuery"
|
||||
OldValuesParameterFormatString="Original_{0}" SelectMethod="getByTable" FilterExpression=" (value like '%{0}%' OR label like '%{0}%' OR (CONVERT(ordinal, 'System.String') LIKE '%{0}%')) "
|
||||
TypeName="C2P_Data.DS_UtilityTableAdapters.ListValuesTableAdapter" DeleteMethod="deleteQuery" UpdateMethod="updateQuery">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddlTable" PropertyName="SelectedValue" Name="TableName"
|
||||
DefaultValue="" Type="String" />
|
||||
</SelectParameters>
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_TableName" Type="String" />
|
||||
<asp:Parameter Name="Original_FieldName" Type="String" />
|
||||
<asp:Parameter Name="Original_value" Type="String" />
|
||||
</DeleteParameters>
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter Type="String" Name="valore" SessionField="valoreCercato" />
|
||||
</FilterParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="TableName" Type="String" />
|
||||
<asp:Parameter Name="FieldName" Type="String" />
|
||||
<asp:Parameter Name="value" Type="String" />
|
||||
<asp:Parameter Name="label" Type="String" />
|
||||
<asp:Parameter Name="ordinal" Type="Int32" />
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="label" Type="String" />
|
||||
<asp:Parameter Name="ordinal" Type="Int32" />
|
||||
<asp:Parameter Name="Original_TableName" Type="String" />
|
||||
<asp:Parameter Name="Original_FieldName" Type="String" />
|
||||
<asp:Parameter Name="Original_value" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource ID="odsTableName" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="getDistTableName" TypeName="C2P_Data.DS_UtilityTableAdapters.ListValuesTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,146 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
|
||||
namespace C2P.WebUserControls
|
||||
{
|
||||
public partial class mod_listValues : System.Web.UI.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// caricamento pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
lbShowNew.Enabled = true;
|
||||
lblBtnShowNew.Text = traduci("btnNewListVal");
|
||||
divInsert.Visible = false;
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// dimensione pagina grid view
|
||||
/// </summary>
|
||||
public int pageSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return grView.PageSize;
|
||||
}
|
||||
set
|
||||
{
|
||||
grView.PageSize = value;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua traduzione del lemma
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(string lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
/// <summary>
|
||||
/// effettuo update
|
||||
/// </summary>
|
||||
private void doUpdate()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// reset selezione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
// deseleziono e nascondo pnl statistiche...
|
||||
grView.SelectedIndex = -1;
|
||||
}
|
||||
/// <summary>
|
||||
/// mostra footer
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnShowInsert(object sender, EventArgs e)
|
||||
{
|
||||
// SE HO SELEZIONATO UN VALORE!!!
|
||||
if (ddlTable.SelectedIndex > 0)
|
||||
{
|
||||
// inverto visibilità insert nuovi valori
|
||||
divInsert.Visible = !divInsert.Visible;
|
||||
if (divInsert.Visible)
|
||||
{
|
||||
lblBtnShowNew.Text = traduci("btnHideNewListVal");
|
||||
// precompilo valori tabella
|
||||
txtTableName.Text = ddlTable.SelectedValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
lblBtnShowNew.Text = traduci("btnNewListVal");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// evento post "aggancio" del grView x traduzione headers
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void grView_DataBound(object sender, EventArgs e)
|
||||
{
|
||||
if (grView.Rows.Count > 0)
|
||||
{
|
||||
LinkButton lb;
|
||||
// aggiorno gli headers
|
||||
foreach (TableCell cella in grView.HeaderRow.Cells)
|
||||
{
|
||||
try
|
||||
{
|
||||
lb = (LinkButton)cella.Controls[0];
|
||||
lb.Text = traduci(lb.Text);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
|
||||
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblNumRec.Text = "";
|
||||
}
|
||||
}
|
||||
|
||||
protected void ddlTable_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
// se seleziono valore "vuoto" resetto...
|
||||
if (ddlTable.SelectedIndex == 0)
|
||||
{
|
||||
lblBtnShowNew.Text = traduci("btnNewListVal");
|
||||
divInsert.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
txtTableName.Text = ddlTable.SelectedValue;
|
||||
}
|
||||
}
|
||||
|
||||
protected void btnDoInsert_Click(object sender, EventArgs e)
|
||||
{
|
||||
// effettua insert!
|
||||
C2P_Data.DtProxy.man.taListVal.insertQuery(txtTableName.Text.Trim(), txtFieldName.Text.Trim(), txtvalue.Text.Trim(), txtvalue.Text.Trim(), 999);
|
||||
// refresh dati!
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
+132
@@ -0,0 +1,132 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace C2P.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_listValues {
|
||||
|
||||
/// <summary>
|
||||
/// ddlTable 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.DropDownList ddlTable;
|
||||
|
||||
/// <summary>
|
||||
/// lbShowNew 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.LinkButton lbShowNew;
|
||||
|
||||
/// <summary>
|
||||
/// lblBtnShowNew 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 lblBtnShowNew;
|
||||
|
||||
/// <summary>
|
||||
/// divInsert control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divInsert;
|
||||
|
||||
/// <summary>
|
||||
/// txtTableName 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.TextBox txtTableName;
|
||||
|
||||
/// <summary>
|
||||
/// txtFieldName 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.TextBox txtFieldName;
|
||||
|
||||
/// <summary>
|
||||
/// txtvalue 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.TextBox txtvalue;
|
||||
|
||||
/// <summary>
|
||||
/// btnDoInsert 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.LinkButton btnDoInsert;
|
||||
|
||||
/// <summary>
|
||||
/// grView 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.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// lblNumRec 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 lblNumRec;
|
||||
|
||||
/// <summary>
|
||||
/// lblWarning 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 lblWarning;
|
||||
|
||||
/// <summary>
|
||||
/// ods 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.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// odsTableName 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.ObjectDataSource odsTableName;
|
||||
}
|
||||
}
|
||||
@@ -22,6 +22,7 @@
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblStatus" /></b>
|
||||
<asp:Label runat="server" ID="lblIdxQState" Visible="false" />
|
||||
<asp:Label runat="server" ID="lblOffRes" Visible="false" />
|
||||
|
|
||||
<asp:HyperLink runat="server" ID="hlGetPdf" Target="_blank">
|
||||
<asp:Image runat="server" ID="btnGetPdf" ImageUrl="~/Images/pdfExport.png" Height="24px" ToolTip="print" />
|
||||
|
||||
@@ -92,6 +92,20 @@ namespace C2P.WebUserControls
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// RISULTATO OFFERTA x la scheda corrente (hidden)
|
||||
/// </summary>
|
||||
protected string OfferResult
|
||||
{
|
||||
get
|
||||
{
|
||||
return lblOffRes.Text;
|
||||
}
|
||||
set
|
||||
{
|
||||
lblOffRes.Text = value;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// precedente valore richiesto...
|
||||
/// </summary>
|
||||
protected string prevReq
|
||||
@@ -247,6 +261,7 @@ namespace C2P.WebUserControls
|
||||
{
|
||||
IdxQS = DtProxy.man.taQFQ.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), "N")[0].IdxQState;
|
||||
CodItem = DtProxy.man.taQFQ.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), "N")[0].CodItem;
|
||||
OfferResult = DtProxy.man.taQFQ.getByKey(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), "N")[0].OfferResult;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
@@ -428,7 +443,9 @@ namespace C2P.WebUserControls
|
||||
divStato0.Visible = false;
|
||||
divStato1.Visible = false;
|
||||
divStato2.Visible = false;
|
||||
divStato3.Visible = true;
|
||||
// 2015.02.26 SOLO SE è in result = TBD
|
||||
//divStato3.Visible = true;
|
||||
divStato3.Visible = OfferResult == "TBD"; // hard coded !!!
|
||||
btnGetPdf.Visible = true;
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -48,6 +48,15 @@ namespace C2P.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblIdxQState;
|
||||
|
||||
/// <summary>
|
||||
/// lblOffRes 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 lblOffRes;
|
||||
|
||||
/// <summary>
|
||||
/// hlGetPdf control.
|
||||
/// </summary>
|
||||
|
||||
@@ -58,8 +58,7 @@
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="MarginReport"><%: traduci("MarginReport") %></a></li>
|
||||
<li><a href="StdCostList"><%: traduci("StdCostList") %></a></li>
|
||||
<%--<li><a href="http://jumpstartuidemo.com/themes/base/gallery.html">.......</a></li>
|
||||
<li><a href="http://jumpstartuidemo.com/themes/base/reports.html">.......</a></li>--%>
|
||||
<li><a href="OfferReport"><%: traduci("OfferReport") %></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@@ -87,6 +86,7 @@
|
||||
<%--<li><a href="Settings">Settings</a></li>
|
||||
<li class="divider"></li>--%>
|
||||
<li><a href="Vocabolario">Gestione Voc</a></li>
|
||||
<li runat="server" id="liListValues"><a href="ListValues"><%: traduci("ListValuesMgmt") %></a></li>
|
||||
<li runat="server" id="liImport"><a href="Import"><%: traduci("ImportData") %></a></li>
|
||||
<li runat="server" id="liUserAdmin"><a href="UserAdmin"><%: traduci("UserAdmin") %></a></li>
|
||||
<li class="divider"></li>
|
||||
|
||||
@@ -65,11 +65,11 @@ namespace C2P.WebUserControls
|
||||
{
|
||||
devicesAuthProxy.pagPrecedente = devicesAuthProxy.pagCorrente;
|
||||
}
|
||||
// salvo apgina corrente
|
||||
// salvo pagina corrente
|
||||
devicesAuthProxy.pagCorrente = titolo;
|
||||
// fix logo
|
||||
imgLogo.Visible = logoVisible;
|
||||
PagCorrente();
|
||||
//PagCorrente(); // tolto 2015.02.24
|
||||
memLayer.ML.emptySessionVal("searchVal");
|
||||
}
|
||||
// SOLO se la pagina NON E' "safe"...
|
||||
@@ -226,6 +226,8 @@ namespace C2P.WebUserControls
|
||||
//}
|
||||
return answ;
|
||||
}
|
||||
// tolto 2015.02.24
|
||||
#if false
|
||||
/// <summary>
|
||||
/// salva in variabile pagina il nome della pagina corrente
|
||||
/// </summary>
|
||||
@@ -237,8 +239,10 @@ namespace C2P.WebUserControls
|
||||
string[] finalUrl = MyUrl.LocalPath.ToString().Split(delimiter);
|
||||
int n = finalUrl.Length;
|
||||
user_std.pagCorrente = finalUrl[n - 1].ToString();
|
||||
//user_std.pagCorrente = titolo;
|
||||
user_std.pagPrecedente = Request.Url.ToString();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
/// <summary>
|
||||
/// wrapper traduzione
|
||||
/// </summary>
|
||||
|
||||
@@ -48,6 +48,15 @@ namespace C2P.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlImage imgLogo;
|
||||
|
||||
/// <summary>
|
||||
/// liListValues control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl liListValues;
|
||||
|
||||
/// <summary>
|
||||
/// liImport control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
<%@ Page Language="C#" MasterPageFile="~/FullPage.master" AutoEventWireup="true" CodeBehind="listValues.aspx.cs" Inherits="C2P.listValues" Title="List Values" %>
|
||||
|
||||
<%@ Register Src="WebUserControls/mod_listValues.ascx" TagName="mod_listValues" TagPrefix="uc1" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagName="mod_righePag" TagPrefix="uc3" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagPrefix="uc4" TagName="mod_ricercaGenerica" %>
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="FeaturedContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="container-fluid" style="background-color: #cdcdcd; padding-top: 2px; padding-bottom: 2px;">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-8 col-sm-offset-2 text-center">
|
||||
<uc4:mod_ricercaGenerica runat="server" ID="mod_ricercaGenerica" />
|
||||
</div>
|
||||
<div class="col-sm-2 text-right">
|
||||
<uc3:mod_righePag ID="mod_righePag1" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid" style="padding-top: 2px; padding-bottom: 2px;">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<uc1:mod_listValues ID="mod_listValues1" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace C2P
|
||||
{
|
||||
public partial class listValues : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
mod_righePag1.numRowPag = 20;
|
||||
mod_listValues1.pageSize = mod_righePag1.numRowPag;
|
||||
}
|
||||
mod_righePag1.eh_newNum += mod_righePag1_eh_newNum;
|
||||
}
|
||||
/// <summary>
|
||||
/// aggiornato numero righe datagrid... aggiorno visualizzazione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
void mod_righePag1_eh_newNum(object sender, EventArgs e)
|
||||
{
|
||||
mod_listValues1.pageSize = mod_righePag1.numRowPag;
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+42
@@ -0,0 +1,42 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace C2P {
|
||||
|
||||
|
||||
public partial class listValues {
|
||||
|
||||
/// <summary>
|
||||
/// mod_ricercaGenerica control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_ricercaGenerica mod_ricercaGenerica;
|
||||
|
||||
/// <summary>
|
||||
/// mod_righePag1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_righePag mod_righePag1;
|
||||
|
||||
/// <summary>
|
||||
/// mod_listValues1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::C2P.WebUserControls.mod_listValues mod_listValues1;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>YQ9vr3cTIRCbuYBLM1J1GjhHcz8=</dsig:DigestValue>
|
||||
<dsig:DigestValue>/8CnRa8M36s0uuUCV2DutzgJiTY=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
||||
@@ -84,19 +84,19 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>TY/JBFMXj/h++cvWRSn6pqOrt9s=</dsig:DigestValue>
|
||||
<dsig:DigestValue>NqCv6+D5rIg5eCMgSyYFkL/POB0=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="C2P_Data.dll" size="626688">
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="C2P_Data.dll" size="504320">
|
||||
<assemblyIdentity name="C2P_Data" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>cyyhEL70VPntDlHHF11UaZpnr6M=</dsig:DigestValue>
|
||||
<dsig:DigestValue>8J6d5YEBwnzh4JmQtXvgfJBThV8=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
@@ -252,7 +252,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>IbqIllvHdsuK5Fuf3OWZoQ1et3c=</dsig:DigestValue>
|
||||
<dsig:DigestValue>m5jbDwX83dBqXgAdzvq2D346tqk=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
@@ -262,7 +262,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||
<dsig:DigestValue>ilsSsFpBS9QjzlNiKOilhZqKO2Y=</dsig:DigestValue>
|
||||
<dsig:DigestValue>o848kqCM1mDhkqls6HqOullW4Kg=</dsig:DigestValue>
|
||||
</hash>
|
||||
</file>
|
||||
</asmv1:assembly>
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,8 +1,8 @@
|
||||
@ECHO OFF
|
||||
|
||||
@echo OFF
|
||||
SET BATPATH=%~dp0
|
||||
echo Installing WindowsService...
|
||||
echo ---------------------------------------------------
|
||||
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\InstallUtil /i C2P_CronJob.exe
|
||||
echo ---------------------------------------------------
|
||||
echo ----------------------------------
|
||||
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\InstallUtil /i %BATPATH%C2P_CronJob.exe
|
||||
echo ----------------------------------
|
||||
echo Done.
|
||||
pause
|
||||
Pause
|
||||
@@ -1,8 +1,8 @@
|
||||
@ECHO OFF
|
||||
|
||||
@echo OFF
|
||||
SET BATPATH=%~dp0
|
||||
echo Installing WindowsService...
|
||||
echo ---------------------------------------------------
|
||||
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\InstallUtil /u C2P_CronJob.exe
|
||||
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\InstallUtil /u %BATPATH%C2P_CronJob.exe
|
||||
echo ---------------------------------------------------
|
||||
echo Done.
|
||||
pause
|
||||
Generated
+695
-4131
File diff suppressed because it is too large
Load Diff
+171
-624
File diff suppressed because one or more lines are too long
+12
-8
@@ -4,16 +4,16 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="129" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="398" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:QuoteList" ZOrder="1" X="462" Y="129" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="256" />
|
||||
<Shape ID="DesignTable:QuoteList" ZOrder="2" X="462" Y="129" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteRM" ZOrder="13" X="122" Y="271" Height="324" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteWorkExt" ZOrder="14" X="102" Y="35" Height="210" Width="230" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:QuoteWorkInt" ZOrder="12" X="882" Y="11" Height="305" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteParam" ZOrder="10" X="486" Y="720" Height="210" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:QuoteOC" ZOrder="8" X="889" Y="418" Height="305" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteFull_Q" ZOrder="2" X="40" Y="606" Height="571" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteFull_S" ZOrder="5" X="854" Y="760" Height="230" Width="249" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:QuoteFull_Q" ZOrder="1" X="40" Y="606" Height="457" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:QuoteFull_S" ZOrder="5" X="854" Y="760" Height="305" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RawMatDet" ZOrder="4" X="496" Y="971" Height="267" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:StdCostList" ZOrder="3" X="920" Y="1091" Height="343" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
</Shapes>
|
||||
@@ -62,7 +62,7 @@
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>559</X>
|
||||
<Y>567</Y>
|
||||
<Y>510</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>559</X>
|
||||
@@ -73,12 +73,16 @@
|
||||
<Connector ID="DesignRelation:FK_QuoteExtra_QuoteList" ZOrder="7" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>762</X>
|
||||
<Y>430</Y>
|
||||
<X>745</X>
|
||||
<Y>510</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>745</X>
|
||||
<Y>518</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>889</X>
|
||||
<Y>430</Y>
|
||||
<Y>518</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
|
||||
Generated
+192
-4
@@ -12025,17 +12025,50 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT TableName, FieldName, value, label, ordinal FROM dbo.ListValues";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[1].Connection = this.Connection;
|
||||
this._commandCollection[1].CommandText = "dbo.stp_listValues_getByTable";
|
||||
this._commandCollection[1].CommandText = "dbo.stp_listValues_delete";
|
||||
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_value", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[2].Connection = this.Connection;
|
||||
this._commandCollection[2].CommandText = "dbo.stp_listValues_getByTable";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = "dbo.stp_listValues_getDistTable";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = "dbo.stp_listValues_insNew";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@label", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ordinal", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = "dbo.stp_listValues_update";
|
||||
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_value", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@label", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ordinal", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -12067,7 +12100,7 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Utility.ListValuesDataTable getByTable(string TableName) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
this.Adapter.SelectCommand = this.CommandCollection[2];
|
||||
if ((TableName == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -12079,6 +12112,17 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Utility.ListValuesDataTable getDistTableName() {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
DS_Utility.ListValuesDataTable dataTable = new DS_Utility.ListValuesDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
@@ -12306,6 +12350,150 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
|
||||
public virtual int Update(string label, global::System.Nullable<int> ordinal, string Original_TableName, string Original_FieldName, string Original_value, string Original_label, global::System.Nullable<int> Original_ordinal) {
|
||||
return this.Update(Original_TableName, Original_FieldName, Original_value, label, ordinal, Original_TableName, Original_FieldName, Original_value, Original_label, Original_ordinal);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int deleteQuery(string Original_TableName, string Original_FieldName, string Original_value) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
||||
if ((Original_TableName == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(Original_TableName));
|
||||
}
|
||||
if ((Original_FieldName == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(Original_FieldName));
|
||||
}
|
||||
if ((Original_value == null)) {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[3].Value = ((string)(Original_value));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int insertQuery(string TableName, string FieldName, string value, string label, global::System.Nullable<int> ordinal) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
||||
if ((TableName == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(TableName));
|
||||
}
|
||||
if ((FieldName == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(FieldName));
|
||||
}
|
||||
if ((value == null)) {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[3].Value = ((string)(value));
|
||||
}
|
||||
if ((label == null)) {
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[4].Value = ((string)(label));
|
||||
}
|
||||
if ((ordinal.HasValue == true)) {
|
||||
command.Parameters[5].Value = ((int)(ordinal.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int updateQuery(string Original_TableName, string Original_FieldName, string Original_value, string label, global::System.Nullable<int> ordinal) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
||||
if ((Original_TableName == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(Original_TableName));
|
||||
}
|
||||
if ((Original_FieldName == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(Original_FieldName));
|
||||
}
|
||||
if ((Original_value == null)) {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[3].Value = ((string)(Original_value));
|
||||
}
|
||||
if ((label == null)) {
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[4].Value = ((string)(label));
|
||||
}
|
||||
if ((ordinal.HasValue == true)) {
|
||||
command.Parameters[5].Value = ((int)(ordinal.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -561,6 +561,19 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
|
||||
<Mapping SourceColumn="ordinal" DataSetColumn="ordinal" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_listValues_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_listValues_delete</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_TableName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_FieldName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_value" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_listValues_getByTable" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByTable" GetMethodModifier="Public" GetMethodName="getByTable" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByTable" UserSourceName="getByTable">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
@@ -572,6 +585,46 @@ SELECT TableName, FieldName, value, label, ordinal FROM ListValues WHERE (FieldN
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_listValues_getDistTable" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getDistTableName" GetMethodModifier="Public" GetMethodName="getDistTableName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getDistTableName" UserSourceName="getDistTableName">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_listValues_getDistTable</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_listValues_insNew" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_listValues_insNew</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@TableName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@FieldName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@value" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@label" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ordinal" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="C2PConnectionString (Settings)" DbObjectName="C2P.dbo.stp_listValues_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_listValues_update</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_TableName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_FieldName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Original_value" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@label" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ordinal" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selListValTableAdapter" GeneratorDataComponentClassName="v_selListValTableAdapter" Name="v_selListVal" UserDataComponentName="v_selListValTableAdapter">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="48" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="365" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:v_selClient" ZOrder="19" X="356" Y="35" Height="134" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:v_selItems" ZOrder="18" X="506" Y="657" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
@@ -21,7 +21,7 @@
|
||||
<Shape ID="DesignTable:v_MarginReportStatsNewData" ZOrder="9" X="74" Y="956" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:v_selDateStdCost" ZOrder="7" X="557" Y="149" Height="115" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:StdCost2create" ZOrder="6" X="451" Y="1051" Height="154" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
|
||||
<Shape ID="DesignTable:ListValues" ZOrder="5" X="815" Y="1094" Height="191" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:ListValues" ZOrder="5" X="816" Y="1080" Height="271" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:v_selListVal" ZOrder="4" X="251" Y="1204" Height="134" Width="286" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Import_TicketList" ZOrder="1" X="10" Y="98" Height="305" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:Import_Log" ZOrder="3" X="276" Y="212" Height="229" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
|
||||
@@ -70,6 +70,7 @@ namespace C2P_Data
|
||||
taOH = new DS_UtilityTableAdapters.OrderHistTableAdapter();
|
||||
taSC2C = new DS_UtilityTableAdapters.StdCost2createTableAdapter();
|
||||
taImpTL = new DS_UtilityTableAdapters.Import_TicketListTableAdapter();
|
||||
taListVal = new DS_UtilityTableAdapters.ListValuesTableAdapter();
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config della singola applicazione
|
||||
@@ -91,6 +92,7 @@ namespace C2P_Data
|
||||
taOH.Connection.ConnectionString = connStr;
|
||||
taSC2C.Connection.ConnectionString = connStr;
|
||||
taImpTL.Connection.ConnectionString = connStr;
|
||||
taListVal.Connection.ConnectionString = connStr;
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -110,6 +112,7 @@ namespace C2P_Data
|
||||
public DS_UtilityTableAdapters.OrderHistTableAdapter taOH;
|
||||
public DS_UtilityTableAdapters.StdCost2createTableAdapter taSC2C;
|
||||
public DS_UtilityTableAdapters.Import_TicketListTableAdapter taImpTL;
|
||||
public DS_UtilityTableAdapters.ListValuesTableAdapter taListVal;
|
||||
|
||||
|
||||
public static DtProxy man = new DtProxy();
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -117,16 +117,20 @@
|
||||
<Content Include="Reports\IIS02\ReportOffers_S.rdl" />
|
||||
<Content Include="Reports\WinLab\ReportOffers_Q.rdl" />
|
||||
<Content Include="Reports\WinLab\ReportOffers_S.rdl" />
|
||||
<EmbeddedResource Include="Reports\deploy\OffertDOC.rdlc" />
|
||||
<EmbeddedResource Include="Reports\deploy\ReportOffers_Q.rdlc" />
|
||||
<EmbeddedResource Include="Reports\deploy\ReportOffers_S.rdlc" />
|
||||
<Content Include="Reports\deploy\StdCostList.rdlc">
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
<EmbeddedResource Include="Reports\IIS02\OffertDOC.rdlc" />
|
||||
<EmbeddedResource Include="Reports\IIS02\ReportOffers_Q.rdlc" />
|
||||
<EmbeddedResource Include="Reports\IIS02\ReportOffers_S.rdlc" />
|
||||
<Content Include="Reports\IIS02\StdCostList.rdlc">
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
<Content Include="Reports\OffertDOC.rdlc" />
|
||||
<EmbeddedResource Include="Reports\WinLab\OffertDOC.rdlc" />
|
||||
<EmbeddedResource Include="Reports\WinLab\ReportOffers_Q.rdlc" />
|
||||
<EmbeddedResource Include="Reports\WinLab\ReportOffers_S.rdlc" />
|
||||
<Content Include="Reports\IIS02\StdCostList.rdl" />
|
||||
@@ -134,6 +138,9 @@
|
||||
<Content Include="Reports\deploy\ReportOffers_Q.rdl" />
|
||||
<Content Include="Reports\deploy\ReportOffers_S.rdl" />
|
||||
<Content Include="Reports\deploy\StdCostList.rdl" />
|
||||
<Content Include="Reports\deploy\OffertDOC.rdl" />
|
||||
<Content Include="Reports\IIS02\OffertDOC.rdl" />
|
||||
<Content Include="Reports\WinLab\OffertDOC.rdl" />
|
||||
<None Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace C2P_Report
|
||||
int CodQuote = 0;
|
||||
int QuoteRev = 0;
|
||||
string chiave = "";
|
||||
string TypeDoc = "";
|
||||
try
|
||||
{
|
||||
ticket = Convert.ToInt32(Request.QueryString["ticket"]);
|
||||
@@ -70,8 +71,28 @@ namespace C2P_Report
|
||||
}
|
||||
if (lingua == "" || lingua == null) lingua = "EN";
|
||||
|
||||
// 1) impostazione file report
|
||||
localReport.ReportPath = string.Format(@".\Reports\ReportOffers_{0}.rdlc", QuoteType);
|
||||
try
|
||||
{
|
||||
TypeDoc = Request.QueryString["TypeDoc"];
|
||||
}
|
||||
catch
|
||||
{
|
||||
lingua = "ReportOff";
|
||||
}
|
||||
|
||||
// 1) impostazione file report da TypeDoc:
|
||||
if (TypeDoc == "ReportOff")
|
||||
{
|
||||
localReport.ReportPath = string.Format(@".\Reports\ReportOffers_{0}.rdlc", QuoteType);
|
||||
}
|
||||
else if (TypeDoc == "OffertDOC")
|
||||
{
|
||||
localReport.ReportPath = string.Format(@".\Reports\OffertDOC.rdlc");
|
||||
}
|
||||
else // fallback
|
||||
{
|
||||
localReport.ReportPath = string.Format(@".\Reports\ReportOffers_{0}.rdlc", QuoteType);
|
||||
}
|
||||
// 2) caricamento tab dati
|
||||
DataTable tabVoc = new DataTable();
|
||||
DataTable tabVocQState = 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
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
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3
-3
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("2.2.154.355")]
|
||||
[assembly: AssemblyFileVersion("2.2.154.355")]
|
||||
[assembly: AssemblyCopyright("Proxima & Steamware © 2013-2014")]
|
||||
[assembly: AssemblyVersion("2.3.164.463")]
|
||||
[assembly: AssemblyFileVersion("2.3.164.463")]
|
||||
[assembly: AssemblyCopyright("Proxima & Steamware © 2013-2015")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("2.2.154.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("2.2.154.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("2.3.164.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("2.3.164.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Proxima & Steamware © 2013-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Reference in New Issue
Block a user