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 {