diff --git a/Lux.API/Lux.API.csproj b/Lux.API/Lux.API.csproj index 78a9364f..42939e03 100644 --- a/Lux.API/Lux.API.csproj +++ b/Lux.API/Lux.API.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 1.1.2603.1315 + 1.1.2603.1316 diff --git a/Lux.UI.Client/ConfirmModal.razor b/Lux.UI.Client/ConfirmModal.razor new file mode 100644 index 00000000..9eead268 --- /dev/null +++ b/Lux.UI.Client/ConfirmModal.razor @@ -0,0 +1,5 @@ +

ConfirmModal

+ +@code { + +} diff --git a/Lux.UI/Components/Compo/OfferRowMan.razor.cs b/Lux.UI/Components/Compo/OfferRowMan.razor.cs index c668f5f3..97b7ff53 100644 --- a/Lux.UI/Components/Compo/OfferRowMan.razor.cs +++ b/Lux.UI/Components/Compo/OfferRowMan.razor.cs @@ -202,6 +202,15 @@ namespace Lux.UI.Components.Compo { await callBomUpdate(dbRec); await callImgUpdate(dbRec); + // imposto ad editing record secondo tipo + if (dbRec.Envir == EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW) + { + DoEditJwd(dbRec); + } + else + { + DoEditFile(dbRec); + } } } await ReloadData(); diff --git a/Lux.UI/Components/Compo/Templates/TemplateRowMan.razor b/Lux.UI/Components/Compo/Templates/TemplateRowMan.razor index 7a74fad4..2fd2ac7f 100644 --- a/Lux.UI/Components/Compo/Templates/TemplateRowMan.razor +++ b/Lux.UI/Components/Compo/Templates/TemplateRowMan.razor @@ -19,7 +19,7 @@ - @if (CurrRecord.ImgType == Enums.ImageType.Fixed || CurrRecord.ImgType == Enums.ImageType.ND) + @if (ShowImgUpload(CurrRecord.SellingItemID)) {
diff --git a/Lux.UI/Components/Compo/Templates/TemplateRowMan.razor.cs b/Lux.UI/Components/Compo/Templates/TemplateRowMan.razor.cs index c6bb1080..889a2a37 100644 --- a/Lux.UI/Components/Compo/Templates/TemplateRowMan.razor.cs +++ b/Lux.UI/Components/Compo/Templates/TemplateRowMan.razor.cs @@ -35,6 +35,25 @@ namespace Lux.UI.Components.Compo.Templates #region Private Fields + /// + /// Check visibilità upload dato il selling item ID corrente + /// + /// + /// + private bool ShowImgUpload(int sellItemId) + { + bool answ = false; + if (sellItemId > 0) + { + var selRec = ListSellinglItems.FirstOrDefault(x => x.SellingItemID == sellItemId); + if (selRec != null) + { + answ = selRec.ImgType != EgwCoreLib.Lux.Core.Enums.ImageType.Calculated; + } + } + return answ; + } + /// /// Path da parent record /// diff --git a/Lux.UI/Components/Layout/NavMenu.razor b/Lux.UI/Components/Layout/NavMenu.razor index 37aeff1d..4838f9fc 100644 --- a/Lux.UI/Components/Layout/NavMenu.razor +++ b/Lux.UI/Components/Layout/NavMenu.razor @@ -51,7 +51,7 @@