Spostato tasto salva
This commit is contained in:
@@ -24,8 +24,7 @@
|
||||
<MudDialog Class="customDialog-form">
|
||||
<DialogContent>
|
||||
<MudForm ReadOnly="ReadOnly" @ref="_form">
|
||||
<HeaderLayout Cancel="true" OnCancel="@Cancel" LabelSave="@LabelSave"
|
||||
OnSave="Save" Title="Scheda"/>
|
||||
<HeaderLayout Cancel="true" OnCancel="@Cancel" Title="Scheda"/>
|
||||
|
||||
<div class="content">
|
||||
|
||||
@@ -184,6 +183,15 @@
|
||||
Suggerisci note descrittive
|
||||
</MudButton>
|
||||
</div>
|
||||
|
||||
@if (!LabelSave.IsNullOrEmpty())
|
||||
{
|
||||
<div class="container-button">
|
||||
<MudButton OnClick="@Save" Color="Color.Primary" Variant="Variant.Filled">
|
||||
@LabelSave
|
||||
</MudButton>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</MudForm>
|
||||
|
||||
@@ -592,7 +600,7 @@
|
||||
|
||||
if (modal is { Canceled: false, Data: List<ArticoliInGrigliaDto> articoliSelezionati })
|
||||
{
|
||||
Scheda.Articoli.AddRange(articoliSelezionati.ConvertAll(x => new SchedaArticolo
|
||||
Scheda.Articoli.InsertRange(0, articoliSelezionati.ConvertAll(x => new SchedaArticolo
|
||||
{
|
||||
Barcode = x.Barcode,
|
||||
Descrizione = x.Descrizione
|
||||
@@ -677,7 +685,7 @@
|
||||
{
|
||||
RecalcDirty(true);
|
||||
|
||||
Scheda.Articoli.Add(new SchedaArticolo
|
||||
Scheda.Articoli.Insert(0, new SchedaArticolo
|
||||
{
|
||||
Barcode = art.Barcode,
|
||||
Descrizione = art.Descrizione
|
||||
|
||||
Reference in New Issue
Block a user