This commit is contained in:
2026-03-02 16:12:58 +01:00
parent 8fbeaf8637
commit 99a5395a1f
4 changed files with 76 additions and 52 deletions

View File

@@ -28,7 +28,7 @@ public static class ModalHelper
}
public async Task<DialogResult?> OpenFormScheda(string codMdep, DateTime data,
bool isNew = false, Scheda? scheda = null)
bool isNew = false, Scheda? scheda = null, bool readOnly = false)
{
scheda = isNew && scheda == null ? new Scheda() : scheda;
@@ -39,6 +39,7 @@ public static class ModalHelper
{ x => x.CodMdep, codMdep },
{ x => x.Data, data },
{ x => x.IsNew, isNew },
{ x => x.ReadOnly, readOnly },
{ x => x.Scheda, scheda }
},
new DialogOptions