From 1294e6026f13e019a676c4f408f60efaf7734575 Mon Sep 17 00:00:00 2001 From: Marco Audiffredi Date: Fri, 19 Jul 2024 11:56:37 +0200 Subject: [PATCH] grafiche varie 4 --- Views/Destinazioni/Index.cshtml | 56 ++++++++++++++++++++++++++++++--- 1 file changed, 52 insertions(+), 4 deletions(-) diff --git a/Views/Destinazioni/Index.cshtml b/Views/Destinazioni/Index.cshtml index 9ad983f..66b4983 100644 --- a/Views/Destinazioni/Index.cshtml +++ b/Views/Destinazioni/Index.cshtml @@ -21,6 +21,7 @@

Torna alla lista
+
Lista destinazioni
@@ -28,7 +29,7 @@ - + @**@ @@ -46,10 +47,36 @@ @foreach (var item in Model) { - + + string cl = string.Empty; + @if (item.ConsFatta != null) + { + + @Html.HiddenFor(modelItem => item.ConsFatta.consFattaFlagCons) + + @if (item.ConsFatta.consFattaFlagCons != null && item.ConsFatta.consFattaFlagCons.Contains("S")) + { + @*cons*@ + cl = "table-success"; + } + else + { + cl = "table-danger"; + @*nocons*@ + } + + } + else + { +@* *@ + } + + - @if (item.ConsFatta != null) +@* @if (item.ConsFatta != null) { - } + }*@ + + @@ -168,6 +197,25 @@
  S. Committente Sede
+ notyet +
@Html.HiddenFor(modelItem => item.ConsFatta.consFattaFlagCons) @@ -69,7 +96,9 @@ notyet @Html.DisplayFor(modelItem => item.Seq) @Html.DisplayFor(modelItem => item.Committente) @*@Html.DisplayFor(modelItem => item.CodSede) - *@@Html.DisplayFor(modelItem => item.Sede)
+
+ + Consegna non effettuata + + Consegna completata + + Consegna da effettuare @*