From 167aa2d98a58f05fda5f4be2faa427fc6be57936 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 16 Apr 2025 11:47:11 +0200 Subject: [PATCH] SPEC: - completato editing macchine/operatori --- MP.SPEC/Components/Reparti/ListReparti.razor | 27 ++++---- MP.SPEC/Components/Reparti/ModalMaccAdd.razor | 60 ++++++++++++++---- MP.SPEC/Components/Reparti/ModalOperAdd.razor | 61 +++++++++++++++---- 3 files changed, 112 insertions(+), 36 deletions(-) diff --git a/MP.SPEC/Components/Reparti/ListReparti.razor b/MP.SPEC/Components/Reparti/ListReparti.razor index 104209b9..3f70849f 100644 --- a/MP.SPEC/Components/Reparti/ListReparti.razor +++ b/MP.SPEC/Components/Reparti/ListReparti.razor @@ -5,7 +5,10 @@

Elenco Reparti

- + @if (SelRecord == null) + { + + }
@if (EditRec != null) @@ -83,8 +86,8 @@ { Macchine Operatori + } - @@ -111,17 +114,17 @@ { @record.CountMacc @record.CountOpr + + @if (DelEnabled(record)) + { + + } + else + { + + } + } - - @if (DelEnabled(record)) - { - - } - else - { - - } - } diff --git a/MP.SPEC/Components/Reparti/ModalMaccAdd.razor b/MP.SPEC/Components/Reparti/ModalMaccAdd.razor index 7122a286..571df799 100644 --- a/MP.SPEC/Components/Reparti/ModalMaccAdd.razor +++ b/MP.SPEC/Components/Reparti/ModalMaccAdd.razor @@ -1,24 +1,32 @@ @using MP.SPEC.Data -