Aggiunto blocco per ispezioni non completate più vecchie di 20 giorni
This commit is contained in:
@@ -285,7 +285,7 @@
|
||||
{
|
||||
Console.WriteLine(e.Message);
|
||||
|
||||
await ModalHelper.ShowError(Dialog, e.Message);
|
||||
await Dialog.ShowError(e.Message);
|
||||
}
|
||||
|
||||
if (IsNew) await NewSave(apiResponse);
|
||||
@@ -474,7 +474,7 @@
|
||||
|
||||
private async Task OpenAddAttached()
|
||||
{
|
||||
var result = await ModalHelper.OpenAddAttached(Dialog);
|
||||
var result = await Dialog.OpenAddAttached();
|
||||
if (result is not { Canceled: false, Data: List<AttachedDto> attachedList }) return;
|
||||
|
||||
OnLoading = true;
|
||||
@@ -561,7 +561,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
var modal = await ModalHelper.OpenSelectArt(Dialog, articoli);
|
||||
var modal = await Dialog.OpenSelectArt(articoli);
|
||||
|
||||
await InvokeAsync(() =>
|
||||
{
|
||||
@@ -614,7 +614,7 @@
|
||||
{
|
||||
var activityDescriptions = await IntegryApiService.SuggestActivityDescription(Scheda.ActivityTypeId);
|
||||
|
||||
var modal = await ModalHelper.OpenSuggestActivityDescription(Dialog, activityDescriptions);
|
||||
var modal = await Dialog.OpenSuggestActivityDescription(activityDescriptions);
|
||||
|
||||
if (modal is { Canceled: false, Data: not null })
|
||||
Scheda.Note = modal.Data!.ToString();
|
||||
@@ -694,7 +694,7 @@
|
||||
{
|
||||
if (errorMessage == null) return;
|
||||
|
||||
_ = ModalHelper.ShowError(Dialog, errorMessage);
|
||||
_ = Dialog.ShowError(errorMessage);
|
||||
}
|
||||
|
||||
private void RemoveArt(string barcode)
|
||||
|
||||
Reference in New Issue
Block a user