From 9ebd07de58de170f343dabc00409782e436f57b2 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 4 Jul 2018 12:26:02 +0200 Subject: [PATCH] ancora update (non compelto) x scaricamento UDC --- GMW/WebUserControls/mod_consKitAnime.ascx.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/GMW/WebUserControls/mod_consKitAnime.ascx.cs b/GMW/WebUserControls/mod_consKitAnime.ascx.cs index 339c58c2..10246bde 100644 --- a/GMW/WebUserControls/mod_consKitAnime.ascx.cs +++ b/GMW/WebUserControls/mod_consKitAnime.ascx.cs @@ -296,6 +296,11 @@ namespace GMW.WebUserControls { if (isAttivo) { + // recupero elenco UDC + DS_magazzino.AL2UDCDataTable tabUDC = MagClass.magazzino.taAL2UDC.getByAL(currAL_KA); + if (tabUDC.Rows.Count > 0) + { + // ciclo su tutti gli UDC... #if false // controllo se UDC non sia giĆ  consumato... if (MagClass.magazzino.udcMpIsConsumabile(currUdcFrom)) @@ -355,6 +360,15 @@ namespace GMW.WebUserControls pnlAll.CssClass = "stileComandoKo"; } #endif + } + else + { + // indico AL senza UDC! + lblMessaggi.Text = string.Format("Errore: AL KIT Anime SENZA UDC associati: {0}", currAL_KA); + pnlAll.CssClass = "stileComandoKo"; + } + // disattivo AL + MagClass.magazzino.taEA.DisattivaAL(currAL_KA); } else {