From 8edbc81a17a143d086545cb730ebbea9458c0cd3 Mon Sep 17 00:00:00 2001 From: michele Date: Wed, 22 Oct 2025 16:29:21 +0200 Subject: [PATCH] Aggiunto seriale buono a pagina esporta buoni --- Models/Rapportini.cs | 7 ++++++- Views/Rapportini/Index.cshtml | 12 +++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/Models/Rapportini.cs b/Models/Rapportini.cs index aaffe10..965cb4d 100644 --- a/Models/Rapportini.cs +++ b/Models/Rapportini.cs @@ -5,10 +5,15 @@ namespace VirtualTask.Models public class Rapportini { /// - /// Seriale + /// Seriale rapportino (rapp_new) /// public string? seriale_rapportino { get; set; } + /// + /// Seriale buono + /// + public string? ser_buono { get; set; } + /// /// Azienda /// diff --git a/Views/Rapportini/Index.cshtml b/Views/Rapportini/Index.cshtml index 4b88601..5d16bd4 100644 --- a/Views/Rapportini/Index.cshtml +++ b/Views/Rapportini/Index.cshtml @@ -84,7 +84,8 @@ - + @* *@ + @@ -96,8 +97,11 @@ @foreach (var item in Model) { - *@ + - + + @Html.HiddenFor(modelItem => item.seriale_rapportino) } @@ -142,3 +147,4 @@ } +
Seriale buonoSeriale buonoCodice Buono Data buono Cliente Codice impianto
+ @* @Html.DisplayFor(modelItem => item.seriale_rapportino) + + @Html.DisplayFor(modelItem => item.ser_buono) @Html.DisplayFor(modelItem => item.data_rapportino) @@ -108,7 +112,8 @@ @Html.DisplayFor(modelItem => item.codice_impianto)