testati casi vari:
- creazione nuova Q/S - clonazione Q - clonazione Q -> S - conversione Q->S ...tutto ok, metto in prod ...
This commit is contained in:
@@ -246,10 +246,12 @@ namespace C2P.WebUserControls
|
||||
mod_Q_ExtrPar1.Visible = false;
|
||||
mod_Q_Header1.Visible = true;
|
||||
mod_Q_PackPar1.Visible = false;
|
||||
lbConvQ2S.Visible = false;
|
||||
}
|
||||
else
|
||||
// altrimenti gestione ordinaria di editing
|
||||
{
|
||||
lbConvQ2S.Visible = true;
|
||||
switch (req)
|
||||
{
|
||||
case "Costs":
|
||||
@@ -397,14 +399,12 @@ namespace C2P.WebUserControls
|
||||
protected void lbConvQ2S_Click(object sender, EventArgs e)
|
||||
{
|
||||
// update da Q ad S del tipo offerta
|
||||
|
||||
// redirect a simulazione
|
||||
#if false
|
||||
// cambio stato offerta da draft!
|
||||
DtProxy.man.taQFQ.updateQState(QuoteType, Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev), 1);
|
||||
// aggiorno!
|
||||
updateBaseData();
|
||||
#endif
|
||||
DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.makeSim(Convert.ToInt32(CodQuote), Convert.ToInt32(QuoteRev));
|
||||
if (tab.Rows.Count > 0)
|
||||
{
|
||||
// seleziona l'offerta duplicata!
|
||||
Response.Redirect(string.Format("Quote?QuoteType={0}&CodQuote={1}&QuoteRev={2}", tab[0].QuoteType, tab[0].CodQuote, tab[0].QuoteRev));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
</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="Q" />
|
||||
<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" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.7.78.172")]
|
||||
[assembly: AssemblyFileVersion("0.7.78.172")]
|
||||
[assembly: AssemblyVersion("0.7.79.172")]
|
||||
[assembly: AssemblyFileVersion("0.7.79.172")]
|
||||
[assembly: AssemblyCopyright("Proxima & Steamware © 2013-2014")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.7.78.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("0.7.78.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("0.7.79.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("0.7.79.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Proxima & Steamware © 2013-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Reference in New Issue
Block a user