michele: aggiunta mag_new
This commit is contained in:
parent
9a63e2595c
commit
bf5fde2598
@ -122,6 +122,8 @@ namespace VirtualTask.Controllers
|
||||
}
|
||||
|
||||
model.Azienda = tenant;
|
||||
model.Desc_sup = model.ArDesArt;
|
||||
|
||||
apiUrl = helper.GetStringValue("apiUrl");
|
||||
admin = helper.GetStringValue("admin");
|
||||
ViewBag.Admin = admin;
|
||||
@ -219,6 +221,7 @@ namespace VirtualTask.Controllers
|
||||
modelList = JsonConvert.DeserializeObject<List<Articoli>>(data);
|
||||
var el = modelList.Where(t => t.SlCodice.Equals(id)).First();
|
||||
ele = el;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -242,14 +245,16 @@ namespace VirtualTask.Controllers
|
||||
{
|
||||
return RedirectToAction("Index", "Login");
|
||||
}
|
||||
|
||||
model.Azienda = tenant;
|
||||
model.Desc_sup = model.ArDesArt;
|
||||
|
||||
apiUrl = helper.GetStringValue("apiUrl");
|
||||
urlBase = apiUrl + "articolo/mod";
|
||||
urlBase = urlBase + "?token=" + token;
|
||||
Uri baseAddress = new Uri(urlBase);
|
||||
client = new HttpClient();
|
||||
client.BaseAddress = baseAddress;
|
||||
|
||||
string data = JsonConvert.SerializeObject(model);
|
||||
StringContent content = new StringContent(data, Encoding.UTF8, "application/json");
|
||||
HttpResponseMessage response = client.PostAsync(baseAddress, content).Result;
|
||||
|
||||
95
Controllers/MagNewVTController.cs
Normal file
95
Controllers/MagNewVTController.cs
Normal file
@ -0,0 +1,95 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Office.Interop.Excel;
|
||||
using Newtonsoft.Json;
|
||||
using static VirtualTask.Controllers.LoginController;
|
||||
using System.Runtime.Intrinsics.Arm;
|
||||
using VirtualTask.Models;
|
||||
using X.PagedList;
|
||||
|
||||
namespace VirtualTask.Controllers
|
||||
{
|
||||
public class MagNewVTController : Controller
|
||||
{
|
||||
string apiUrl = string.Empty;
|
||||
string urlBase = string.Empty;
|
||||
string token = string.Empty;
|
||||
string tenant = string.Empty;
|
||||
string errMes = string.Empty;
|
||||
string admin = string.Empty;
|
||||
string time_sheet = string.Empty;
|
||||
HttpClient client;
|
||||
|
||||
private readonly IConfiguration _configuration;
|
||||
|
||||
public MagNewVTController(IConfiguration configuration)
|
||||
{
|
||||
client = new HttpClient();
|
||||
_configuration = configuration;
|
||||
var key = _configuration["ApplicationInsights:rootUrlApi"];
|
||||
apiUrl = key;
|
||||
}
|
||||
|
||||
public IActionResult Index(string serRapp, string searchString, int? page = 1)
|
||||
{
|
||||
SessionHelper helper = new SessionHelper(this);
|
||||
|
||||
token = helper.GetStringValue("tok");
|
||||
|
||||
if (string.IsNullOrEmpty(token))
|
||||
{
|
||||
return RedirectToAction("Login2", "Login");
|
||||
}
|
||||
|
||||
apiUrl = helper.GetStringValue("apiUrl");
|
||||
admin = helper.GetStringValue("admin");
|
||||
ViewBag.Admin = admin;
|
||||
|
||||
urlBase = apiUrl + "VTMagNewList";
|
||||
urlBase = urlBase + "?token=" + token;
|
||||
Uri baseAddress = new Uri(urlBase);
|
||||
client = new HttpClient();
|
||||
client.BaseAddress = baseAddress;
|
||||
|
||||
List<MagNewVT> modelList = new List<MagNewVT>();
|
||||
HttpResponseMessage response = client.GetAsync(baseAddress).Result;
|
||||
|
||||
if (response.IsSuccessStatusCode)
|
||||
{
|
||||
string data = response.Content.ReadAsStringAsync().Result;
|
||||
modelList = JsonConvert.DeserializeObject<List<MagNewVT>>(data);
|
||||
modelList = modelList.Where(x => x.Seriale_Rapportino.Equals(serRapp)).ToList();
|
||||
|
||||
if (!string.IsNullOrEmpty(searchString))
|
||||
{
|
||||
modelList = modelList.Where(s => s.Desc_Art.ToUpper().Contains(searchString.ToUpper())).ToList();
|
||||
|
||||
ViewData["CurrentFilter"] = searchString;
|
||||
}
|
||||
else
|
||||
ViewData["CurrentFilter"] = null;
|
||||
|
||||
if (page != null && page < 1)
|
||||
{
|
||||
page = 1;
|
||||
}
|
||||
|
||||
var pageSize = 10;
|
||||
|
||||
var shortLinks = modelList
|
||||
.OrderByDescending(s => s.Seriale_Rapportino)
|
||||
.ToPagedList(page ?? 1, pageSize);
|
||||
|
||||
|
||||
return View(shortLinks);
|
||||
|
||||
//return View(modelList.ToPagedList());
|
||||
}
|
||||
else
|
||||
{
|
||||
errMes = response.Content.ReadAsStringAsync().Result;
|
||||
helper.SetStringValue("errMsg", errMes);
|
||||
return RedirectToAction("Error");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
33
Models/MagNewVT.cs
Normal file
33
Models/MagNewVT.cs
Normal file
@ -0,0 +1,33 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace VirtualTask.Models
|
||||
{
|
||||
public class MagNewVT
|
||||
{
|
||||
public string? Azienda { get; set; }
|
||||
[Display(Name = "Seriale Rapportino")]
|
||||
public string? Seriale_Rapportino { get; set; }
|
||||
public int? Riga { get; set; }
|
||||
public string? Magazzino { get; set; }
|
||||
public string? Articolo { get; set; }
|
||||
[Display(Name = "Tipo movimento")]
|
||||
public string? Tipo_Movimento { get; set; }
|
||||
[Display(Name = "Quantità")]
|
||||
public decimal? Quantita { get; set; }
|
||||
public decimal? Prezzo { get; set; }
|
||||
[Display(Name = "Cod. Tecnico")]
|
||||
public string? Codice_Tecnico { get; set; }
|
||||
public string? Generato { get; set; }
|
||||
public string? Note { get; set; }
|
||||
[Display(Name = "Cod. Lotto")]
|
||||
public string? CodLotto { get; set; }
|
||||
public string? Matricola { get; set; }
|
||||
public int? Cprownum { get; set; }
|
||||
[Display(Name = "Articolo descrizione")]
|
||||
public string? Desc_Art { get; set; }
|
||||
[Display(Name = "Cod. Impianto")]
|
||||
public string? CodImp { get; set; }
|
||||
[Display(Name = "Descrizione suppl.")]
|
||||
public string? Desc_Sup { get; set; }
|
||||
}
|
||||
}
|
||||
@ -73,6 +73,7 @@
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.LiPrezzo)
|
||||
</td>
|
||||
|
||||
@Html.HiddenFor(modelItem => item.Azienda)
|
||||
@Html.HiddenFor(modelItem => item.AmCodice)
|
||||
@Html.HiddenFor(modelItem => item.LoCodice)
|
||||
@ -87,7 +88,7 @@
|
||||
@Html.HiddenFor(modelItem => item.Gest_Matr)
|
||||
@Html.HiddenFor(modelItem => item.Gest_Lotti)
|
||||
@Html.HiddenFor(modelItem => item.Desc_sup)
|
||||
|
||||
|
||||
<td>
|
||||
<a href="@Url.Action("Edit", "Articoli", new { id=item.SlCodice })" title="Modifica" class="links">
|
||||
<img alt="Modifica" src="@Url.Content("~/assets/images/icons8-modificare-64.png")" style="width:30px;height:30px;">
|
||||
|
||||
152
Views/MagNewVT/Index.cshtml
Normal file
152
Views/MagNewVT/Index.cshtml
Normal file
@ -0,0 +1,152 @@
|
||||
@using X.PagedList.Mvc.Core;
|
||||
@using X.PagedList.Web.Common;
|
||||
@using X.PagedList;
|
||||
@model IPagedList<VirtualTask.Models.MagNewVT>
|
||||
|
||||
<link href="~/Content/PagedList.css" rel="stylesheet" type="text/css" />
|
||||
@{
|
||||
ViewData["Title"] = "Articoli buoni intervento";
|
||||
|
||||
|
||||
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
||||
}
|
||||
|
||||
<div class="agy-project-wrapper agy-project-page-wrapper">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
@* <p>
|
||||
<a asp-action="Create" class="info-data"><img src="~/assets/images/icons8-nuovo-50.png" alt="Crea un nuovo elemento" /></a>
|
||||
</p> *@
|
||||
|
||||
@using (Html.BeginForm())
|
||||
{
|
||||
<div class="card">
|
||||
<h5 class="card-header">Ricerca</h5>
|
||||
<table class="table">
|
||||
<tbody class="table-border-bottom-0">
|
||||
<tr>
|
||||
<td>
|
||||
<span class="fw-medium">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per descrizione", @class = "agy-form-field require" })</span>
|
||||
</td>
|
||||
<td>
|
||||
<i class="bx bxl-angular bx-sm text-black me-3"> </i>
|
||||
<span class="fw-medium"><input type="submit" value="Cerca" class="agy-btn submitForm" /></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
|
||||
<div style="width:100%;height:30px;">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h5 class="card-header">Articoli</h5>
|
||||
<div class="table-responsive text-nowrap">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Seriale rapportino</th>
|
||||
<th>Riga</th>
|
||||
<th>Magazzino</th>
|
||||
<th>Articolo</th>
|
||||
<th>Tipo movimento</th>
|
||||
<th>Quantità</th>
|
||||
<th>Prezzo</th>
|
||||
<th>Cod. Tecnico</th>
|
||||
@* <th hidden>Note</th> *@
|
||||
@* <th hidden>Cod. Lotto</th> *@
|
||||
<th>Matricola</th>
|
||||
@* <th hidden>Cprownum</th> *@
|
||||
<th>Articolo descrizione</th>
|
||||
<th>Cod. Impianto</th>
|
||||
<th>Descrizione suppl.</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Seriale_Rapportino)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Riga)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Magazzino)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Articolo)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Tipo_Movimento)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Quantita)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Prezzo)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Codice_Tecnico)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Matricola)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Desc_Art)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.CodImp)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Desc_Sup)
|
||||
</td>
|
||||
|
||||
@Html.HiddenFor(modelItem => item.Azienda)
|
||||
@Html.HiddenFor(modelItem => item.Note)
|
||||
@Html.HiddenFor(modelItem => item.CodLotto)
|
||||
@Html.HiddenFor(modelItem => item.Cprownum)
|
||||
|
||||
<td>
|
||||
@* <a href="@Url.Action("Edit", "Articoli", new { id=item.Seriale_Rapportino })" title="Modifica" class="links">
|
||||
<img alt="Modifica" src="@Url.Content("~/assets/images/icons8-modificare-64.png")" style="width:30px;height:30px;">
|
||||
</a>
|
||||
|
|
||||
<a href="@Url.Action("Details", "Articoli", new { id=item.Seriale_Rapportino })" title="Dettaglio" class="links">
|
||||
<img alt="Dettaglio" src="@Url.Content("~/assets/images/icons8-visualizza-file-64.png")" style="width:30px;height:30px;">
|
||||
</a>
|
||||
|
|
||||
<a href="@Url.Action("Delete", "Articoli", new { id=item.Seriale_Rapportino })" title="Elimina" class="links">
|
||||
<img alt="Elimina" src="@Url.Content("~/assets/images/icons8-elimina-50.png")" style="width:30px;height:30px;">
|
||||
</a> *@
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<nav>
|
||||
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString = @ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
||||
{
|
||||
ActiveLiElementClass = "active",
|
||||
PageClasses = new[] { "page-link" },
|
||||
LiElementClasses = new[] { "page-item" },
|
||||
UlElementClasses = new[] { "pagination", "justify-content-center", "mt-3" },
|
||||
LinkToNextPageFormat = "Successiva",
|
||||
LinkToPreviousPageFormat = "Precedente",
|
||||
MaximumPageNumbersToDisplay = 5,
|
||||
DisplayLinkToPreviousPage = PagedListDisplayMode.Always,
|
||||
DisplayLinkToNextPage = PagedListDisplayMode.Always
|
||||
})
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -13,6 +13,12 @@
|
||||
<div>
|
||||
<a asp-action="Index" value="Torna alla lista" class="agy-btn submitForm">Torna alla lista</a>
|
||||
</div>
|
||||
|
||||
@using (Html.BeginForm("index", "MagNewVT", FormMethod.Post))
|
||||
{
|
||||
<a asp-action="Index" asp-controller="MagNewVT" asp-route-serRapp="@Model.seriale_rapportino" value="Mag new" class="agy-btn submitForm">Mag New</a>
|
||||
}
|
||||
|
||||
<div class="col-md-10">
|
||||
<b>@Html.DisplayNameFor(model => model.azienda_impianto)</b> @Html.DisplayFor(model => model.azienda_impianto)
|
||||
</div>
|
||||
@ -383,7 +389,7 @@
|
||||
<b>@Html.DisplayNameFor(model => model.tipo_rapportino)</b> @Html.DisplayFor(model => model.tipo_rapportino)
|
||||
</div>*@
|
||||
|
||||
@* <dt class="col-sm-2" hidden>
|
||||
@* <dt class="col-sm-2" hidden>
|
||||
@Html.DisplayNameFor(model => model.rafoto)
|
||||
</dt>
|
||||
<dd class="col-sm-10" hidden>
|
||||
@ -447,7 +453,7 @@
|
||||
<a asp-action="Index" value="Torna alla lista" class="agy-btn submitForm">Torna alla lista</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row" style="float:left;width:49%;">
|
||||
@{
|
||||
@ -470,386 +476,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@*<h1>Dettaglio rapportino</h1>
|
||||
|
||||
<div>
|
||||
<h4 hidden>Rapp_New</h4>
|
||||
<hr />
|
||||
<dl class="row">
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.seriale_rapportino)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.seriale_rapportino)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.tipo_rapportino)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.tipo_rapportino)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.azienda_impianto)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.azienda_impianto)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_impianto)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_impianto)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.azienda_chiamata)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.azienda_chiamata)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.seriale_chiamata)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.seriale_chiamata)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.seriale_commessa)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.seriale_commessa)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.data_rapportino)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.data_rapportino)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.ora_ini_rapportino)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.ora_ini_rapportino)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.min_ini_rapportino)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.min_ini_rapportino)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.ora_fin_rapportino)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.ora_fin_rapportino)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.min_fin_rapportino)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.min_fin_rapportino)
|
||||
</dd>
|
||||
<dt class="col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_chiusura_1)
|
||||
</dt>
|
||||
<dd class="col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_chiusura_1)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_chiusura_2)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_chiusura_2)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_chiusura_3)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_chiusura_3)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_chiusura_4)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_chiusura_4)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_chiusura_5)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_chiusura_5)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_chiusura_6)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_chiusura_6)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_chiusura_7)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_chiusura_7)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_chiusura_8)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_chiusura_8)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_chiusura_9)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_chiusura_9)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_chiusura_10)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_chiusura_10)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.descrizione_intervento)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.descrizione_intervento)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.stato_finale)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.stato_finale)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.generato)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.generato)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.azienda_tecnico)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.azienda_tecnico)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_tecnico)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_tecnico)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.rifiutata)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.rifiutata)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.firma)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.firma)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.incarico)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.incarico)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.data_validita)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.data_validita)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.immagine)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.immagine)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.ser_buono)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.ser_buono)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.data_effettiva)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.data_effettiva)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.codice_intervento)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.codice_intervento)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.difetti_riscontrati)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.difetti_riscontrati)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.lavoro_eseguito)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.lavoro_eseguito)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.esito_intervento)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.esito_intervento)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.note_intervento)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.note_intervento)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.nuovo_contratto)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.nuovo_contratto)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.ore_lavoro)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.ore_lavoro)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.causale)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.causale)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.materiale)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.materiale)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.diritto_chiamata)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.diritto_chiamata)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.manodopera)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.manodopera)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.spese_viaggio)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.spese_viaggio)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.pagamento)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.pagamento)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.anticipo)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.anticipo)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.totale)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.totale)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.note_pagamento)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.note_pagamento)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.tipo_intervento)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.tipo_intervento)
|
||||
</dd>
|
||||
<dt class = "col-sm-2" hidden>
|
||||
@Html.DisplayNameFor(model => model.rafoto)
|
||||
</dt>
|
||||
<dd class = "col-sm-10" hidden>
|
||||
@Html.DisplayFor(model => model.rafoto)
|
||||
</dd>
|
||||
<dt class = "col-sm-2" hidden>
|
||||
@Html.DisplayNameFor(model => model.rafoto2)
|
||||
</dt>
|
||||
<dd class = "col-sm-10" hidden>
|
||||
@Html.DisplayFor(model => model.rafoto2)
|
||||
</dd>
|
||||
<dt class="col-sm-2" hidden>
|
||||
@Html.DisplayNameFor(model => model.rafoto3)
|
||||
</dt>
|
||||
<dd class="col-sm-10" hidden>
|
||||
@Html.DisplayFor(model => model.rafoto3)
|
||||
</dd>
|
||||
<dt class="col-sm-2" hidden>
|
||||
@Html.DisplayNameFor(model => model.rafoto4)
|
||||
</dt>
|
||||
<dd class="col-sm-10" hidden>
|
||||
@Html.DisplayFor(model => model.rafoto4)
|
||||
</dd>
|
||||
<dt class="col-sm-2" hidden>
|
||||
@Html.DisplayNameFor(model => model.rafoto5)
|
||||
</dt>
|
||||
<dd class="col-sm-10" hidden>
|
||||
@Html.DisplayFor(model => model.rafoto5)
|
||||
</dd>
|
||||
<dt class="col-sm-2" hidden>
|
||||
@Html.DisplayNameFor(model => model.rafoto6)
|
||||
</dt>
|
||||
<dd class="col-sm-10" hidden>
|
||||
@Html.DisplayFor(model => model.rafoto6)
|
||||
</dd>
|
||||
<dt class="col-sm-2" hidden>
|
||||
@Html.DisplayNameFor(model => model.rafoto7)
|
||||
</dt>
|
||||
<dd class="col-sm-10" hidden>
|
||||
@Html.DisplayFor(model => model.rafoto7)
|
||||
</dd>
|
||||
<dt class="col-sm-2" hidden>
|
||||
@Html.DisplayNameFor(model => model.rafoto8)
|
||||
</dt>
|
||||
<dd class="col-sm-10" hidden>
|
||||
@Html.DisplayFor(model => model.rafoto8)
|
||||
</dd>
|
||||
<dt class="col-sm-2" hidden>
|
||||
@Html.DisplayNameFor(model => model.rafoto9)
|
||||
</dt>
|
||||
<dd class="col-sm-10" hidden>
|
||||
@Html.DisplayFor(model => model.rafoto9)
|
||||
</dd>
|
||||
<dt class="col-sm-2" hidden>
|
||||
@Html.DisplayNameFor(model => model.rafoto10)
|
||||
</dt>
|
||||
<dd class="col-sm-10" hidden>
|
||||
@Html.DisplayFor(model => model.rafoto10)
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div>
|
||||
@Html.ActionLink("Modifica", "Edit", new { /* id = Model.PrimaryKey */ }) |
|
||||
<a asp-action="Index">Torna indietro</a>
|
||||
</div> *@
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user