Aggiunto seriale buono a pagina esporta buoni

This commit is contained in:
michele 2025-10-22 16:29:21 +02:00
parent 3f467049fc
commit 8edbc81a17
2 changed files with 15 additions and 4 deletions

View File

@ -5,10 +5,15 @@ namespace VirtualTask.Models
public class Rapportini public class Rapportini
{ {
/// <summary> /// <summary>
/// Seriale /// Seriale rapportino (rapp_new)
/// </summary> /// </summary>
public string? seriale_rapportino { get; set; } public string? seriale_rapportino { get; set; }
/// <summary>
/// Seriale buono
/// </summary>
public string? ser_buono { get; set; }
/// <summary> /// <summary>
/// Azienda /// Azienda
/// </summary> /// </summary>

View File

@ -84,7 +84,8 @@
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th>Seriale buono</th> @* <th>Seriale buono</th> *@
<th>Codice Buono</th>
<th>Data buono</th> <th>Data buono</th>
<th>Cliente</th> <th>Cliente</th>
<th>Codice impianto</th> <th>Codice impianto</th>
@ -96,8 +97,11 @@
@foreach (var item in Model) @foreach (var item in Model)
{ {
<tr> <tr>
<td> @* <td>
@Html.DisplayFor(modelItem => item.seriale_rapportino) @Html.DisplayFor(modelItem => item.seriale_rapportino)
</td> *@
<td>
@Html.DisplayFor(modelItem => item.ser_buono)
</td> </td>
<td> <td>
@Html.DisplayFor(modelItem => item.data_rapportino) @Html.DisplayFor(modelItem => item.data_rapportino)
@ -108,7 +112,8 @@
<td> <td>
@Html.DisplayFor(modelItem => item.codice_impianto) @Html.DisplayFor(modelItem => item.codice_impianto)
</td> </td>
@Html.HiddenFor(modelItem => item.seriale_rapportino)
</tr> </tr>
} }
</tbody> </tbody>
@ -142,3 +147,4 @@
} }
</div> </div>