@currFnq.Stato
diff --git a/MP-TAB3/Components/NotesEditor.razor.cs b/MP-TAB3/Components/NotesEditor.razor.cs
index f5fd8e15..6ade2864 100644
--- a/MP-TAB3/Components/NotesEditor.razor.cs
+++ b/MP-TAB3/Components/NotesEditor.razor.cs
@@ -137,8 +137,12 @@ namespace MP_TAB3.Components
};
// elimino vecchio se c'è...
await TabServ.EvListDelete(IdxMacc, DateSel, idxTipoCommento);
- // inserisco
- await TabServ.EvListInsert(newRec, MP.Data.Objects.Enums.tipoInputEvento.commento);
+ // se c'è un commento lo inserisco
+ if (!string.IsNullOrEmpty(UserComment))
+ {
+ // inserisco
+ await TabServ.EvListInsert(newRec, MP.Data.Objects.Enums.tipoInputEvento.commento);
+ }
// reset
await E_relData.InvokeAsync(true);
DoReset();
diff --git a/MP-TAB3/Components/OdlMan.razor b/MP-TAB3/Components/OdlMan.razor
index 37d69700..aac711f2 100644
--- a/MP-TAB3/Components/OdlMan.razor
+++ b/MP-TAB3/Components/OdlMan.razor
@@ -56,7 +56,7 @@
@if (!odlOk)
{
-
+
}
}
diff --git a/MP-TAB3/Components/OdlMan.razor.cs b/MP-TAB3/Components/OdlMan.razor.cs
index c886eb50..e1781ce0 100644
--- a/MP-TAB3/Components/OdlMan.razor.cs
+++ b/MP-TAB3/Components/OdlMan.razor.cs
@@ -199,7 +199,7 @@ namespace MP_TAB3.Components
// se in attr --> carico podlCurr...
if (inAttr && RecMSE != null)
{
- await ReloadXDL(false);
+ await ReloadXDL(true);
}
}
@@ -867,6 +867,22 @@ namespace MP_TAB3.Components
await ReloadData(true);
}
+ protected async Task refreshAfterFixOdl(bool has2Refr)
+ {
+ if (has2Refr)
+ {
+ // update buttons...
+ checkAll();
+ // reset vari
+ IdxPOdlSel = 0;
+ inAttr = false;
+ IdxPOdlSel = 0;
+ await RefreshData();
+ await CheckAttr();
+ await InvokeAsync(StateHasChanged);
+ }
+ }
+
protected void SaveTCRich(decimal newTCRich)
{
tcRichAttr = newTCRich;
diff --git a/MP-TAB3/Components/ProdConfirm.razor b/MP-TAB3/Components/ProdConfirm.razor
index a3252d8b..7a1437d5 100644
--- a/MP-TAB3/Components/ProdConfirm.razor
+++ b/MP-TAB3/Components/ProdConfirm.razor
@@ -27,7 +27,7 @@