fix codice + webconfig x fusi (qta default non presa da ultimo record)

This commit is contained in:
unknown
2013-02-11 14:56:16 +01:00
parent 69a2284660
commit 1c2a227708
6 changed files with 4051 additions and 4012 deletions
+2 -2
View File
@@ -61,7 +61,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.2" />
<add key="minRev" value="530" />
<add key="minRev" value="531" />
<add key="copyRight" value="SteamWare © 2010-2013" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
@@ -225,7 +225,7 @@
<add key="userCanDelUdc" value="true" />
<!--Setup installazione-->
<add key="passkey" value="pi=314" />
<add key="CodCS" value="SP" />
<add key="CodCS" value="TK" />
<add key="MinutiFinestraEditUDC" value="10" />
<add key="_adminEmail" value="giancarlo@steamware.net" />
<add key="_smtpCli" value="keyhammer.ath.cx" />
+3 -10
View File
@@ -108,7 +108,7 @@ namespace GMW.WebUserControls
lblNote.Text = traduci("lblNote");
lblCurrentPage.Text = traduci(PagCorrente);
//txtBox
txtQta.Text = memLayer.ML.confReadString("QtaImballoFusi");
qta = memLayer.ML.confReadInt("QtaImballoFusi");
// buttons
btnStampa.Text = traduci("btnStampa");
btnEmptyNote.Text = traduci("btnEmptyNote");
@@ -362,11 +362,11 @@ namespace GMW.WebUserControls
{ }
if (qtaPart > 0)
{
txtQta.Text = Convert.ToInt32(qtaPart).ToString();
qta = Convert.ToInt32(qtaPart);
}
else // rimette default
{
txtQta.Text = memLayer.ML.confReadString("QtaImballoFusi");
qta = memLayer.ML.confReadInt("QtaImballoFusi");
}
break;
case tipoCodiceBarcode.UDC:
@@ -436,14 +436,7 @@ namespace GMW.WebUserControls
if (postazione_printer != "n.d.")
{
string newUdcChild = "";
int qta = memLayer.ML.confReadInt("QtaImballoFusi");
string noteTrim = txtNote.Text.Trim();
try
{
qta = Convert.ToInt32(txtQta.Text);
}
catch
{ }
// effettuo controlli che cod_soggetto e cod particolare siano disponibili...
string codSogg = "";
string particolare = "";
BIN
View File
Binary file not shown.
Binary file not shown.
+2023 -2000
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff