Vario
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user