marco
This commit is contained in:
commit
c898e731ef
@ -93,78 +93,4 @@
|
|||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Crea nuova anagrafica</h1>
|
|
||||||
|
|
||||||
<h4 hidden>Anag</h4>
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Create">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
||||||
@Html.ValidationSummary(false, "", new { @class = "text-danger" })
|
|
||||||
|
|
||||||
<input type="hidden" id="antipcon" value="C" name="antipcon" />
|
|
||||||
@Html.HiddenFor(x => x.andtobso)
|
|
||||||
@Html.HiddenFor(x => x.annumlis)
|
|
||||||
@Html.HiddenFor(x => x.ancodice)
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="andescri" class="control-label"></label>
|
|
||||||
<input asp-for="andescri" class="form-control" /> *@
|
|
||||||
@* <span asp-validation-for="andescri" class="text-danger"></span>*@
|
|
||||||
@* </div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ancodfis" class="control-label"></label>
|
|
||||||
<input asp-for="ancodfis" class="form-control" /> *@
|
|
||||||
@* <span asp-validation-for="ancodfis" class="text-danger"></span>*@
|
|
||||||
@* </div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="anpariva" class="control-label"></label>
|
|
||||||
<input asp-for="anpariva" class="form-control" /> *@
|
|
||||||
@* <span asp-validation-for="anpariva" class="text-danger"></span>*@
|
|
||||||
@* </div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="anindiri" class="control-label"></label>
|
|
||||||
<input asp-for="anindiri" class="form-control" /> *@
|
|
||||||
@* <span asp-validation-for="anindiri" class="text-danger"></span>*@
|
|
||||||
@* </div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="antelefo" class="control-label"></label>
|
|
||||||
<input asp-for="antelefo" class="form-control" /> *@
|
|
||||||
@* <span asp-validation-for="antelefo" class="text-danger"></span>*@
|
|
||||||
@* </div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="annumcel" class="control-label"></label>
|
|
||||||
<input asp-for="annumcel" class="form-control" /> *@
|
|
||||||
@* <span asp-validation-for="annumcel" class="text-danger"></span>*@
|
|
||||||
@* </div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="an_email" class="control-label"></label>
|
|
||||||
<input asp-for="an_email" class="form-control" /> *@
|
|
||||||
@* <span asp-validation-for="an_email" class="text-danger"></span>*@
|
|
||||||
@* </div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="an_empec" class="control-label"></label>
|
|
||||||
<input asp-for="an_empec" class="form-control" /> *@
|
|
||||||
@* <span asp-validation-for="an_empec" class="text-danger"></span>*@
|
|
||||||
@* </div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Salva" class="btn btn-primary" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
}
|
|
||||||
*@
|
|
||||||
@ -50,104 +50,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Elimina anagrafica</h1>
|
|
||||||
|
|
||||||
<h3></h3>
|
|
||||||
<div>
|
|
||||||
<h4 hidden>Anag</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="row">
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.antipcon)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.antipcon)
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ancodice)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ancodice)
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.an_email)
|
|
||||||
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.an_email)
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ancodfis)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ancodfis)
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.anpariva)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.anpariva)
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.anindiri)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.anindiri)
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.antelefo)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.antelefo)
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.annumcel)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.annumcel)
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.an_empec)
|
|
||||||
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.an_empec)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.andescri)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.andescri)
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
|
|
||||||
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<form asp-action="DeleteConfirmed">
|
|
||||||
@Html.HiddenFor(x => x.annumlis)
|
|
||||||
@Html.HiddenFor(x => x.andescri)
|
|
||||||
@Html.HiddenFor(x => x.an_empec)
|
|
||||||
@Html.HiddenFor(x => x.annumcel)
|
|
||||||
@Html.HiddenFor(x => x.antelefo)
|
|
||||||
@Html.HiddenFor(x => x.anindiri)
|
|
||||||
@Html.HiddenFor(x => x.anpariva)
|
|
||||||
@Html.HiddenFor(x => x.ancodfis)
|
|
||||||
@Html.HiddenFor(x => x.an_email)
|
|
||||||
@Html.HiddenFor(x => x.ancodice)
|
|
||||||
@Html.HiddenFor(x => x.antipcon)
|
|
||||||
<input type="submit" value="Elimina" class="btn btn-danger" /> |
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</form>
|
|
||||||
</div> *@
|
|
||||||
@ -89,84 +89,3 @@
|
|||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<@* h1>Modifca anagrafica</h1>
|
|
||||||
|
|
||||||
<h4 hidden>Anag</h4>
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Edit">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
||||||
|
|
||||||
@Html.HiddenFor(x => x.antipcon)
|
|
||||||
@Html.HiddenFor(x => x.andtobso)
|
|
||||||
@Html.HiddenFor(x => x.annumlis)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ancodice" class="control-label"></label>
|
|
||||||
@Html.HiddenFor(x => x.ancodice)
|
|
||||||
@Html.DisplayFor(model => model.ancodice)
|
|
||||||
<span asp-validation-for="andescri" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="andescri" class="control-label"></label>
|
|
||||||
<input asp-for="andescri" class="form-control" />
|
|
||||||
<span asp-validation-for="andescri" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ancodfis" class="control-label"></label>
|
|
||||||
<input asp-for="ancodfis" class="form-control" />
|
|
||||||
<span asp-validation-for="ancodfis" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="anpariva" class="control-label"></label>
|
|
||||||
<input asp-for="anpariva" class="form-control" />
|
|
||||||
<span asp-validation-for="anpariva" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="anindiri" class="control-label"></label>
|
|
||||||
<input asp-for="anindiri" class="form-control" />
|
|
||||||
<span asp-validation-for="anindiri" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="antelefo" class="control-label"></label>
|
|
||||||
<input asp-for="antelefo" class="form-control" />
|
|
||||||
<span asp-validation-for="antelefo" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="annumcel" class="control-label"></label>
|
|
||||||
<input asp-for="annumcel" class="form-control" />
|
|
||||||
<span asp-validation-for="annumcel" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="an_email" class="control-label"></label>
|
|
||||||
<input asp-for="an_email" class="form-control" />
|
|
||||||
<span asp-validation-for="an_email" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="an_empec" class="control-label"></label>
|
|
||||||
<input asp-for="an_empec" class="form-control" />
|
|
||||||
<span asp-validation-for="an_empec" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Salva" class="btn btn-primary" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
} *@
|
|
||||||
|
|||||||
@ -117,126 +117,4 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Anagrafiche</h1>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a asp-action="Create">Crea nuova anagrafica</a>
|
|
||||||
</p>
|
|
||||||
@using (Html.BeginForm())
|
|
||||||
{
|
|
||||||
<p>
|
|
||||||
Cerca per Rag. Sociale: @Html.TextBox("SearchString")
|
|
||||||
<input type="submit" value="Cerca" />
|
|
||||||
</p>
|
|
||||||
}
|
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr> *@
|
|
||||||
@* <th>
|
|
||||||
@Html.DisplayNameFor(model => model.antipcon)
|
|
||||||
</th>*@
|
|
||||||
@* <th>
|
|
||||||
Codice
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
Rag. Sociale
|
|
||||||
</th> *@
|
|
||||||
@* <th>
|
|
||||||
@Html.DisplayNameFor(model => model.an_email)
|
|
||||||
</th>*@
|
|
||||||
@* <th>
|
|
||||||
Codice Fiscale
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
Partita Iva
|
|
||||||
</th> *@
|
|
||||||
@*
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.anindiri)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.antelefo)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.annumcel)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.an_empec)
|
|
||||||
</th>
|
|
||||||
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.annumlis)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.andtobso)
|
|
||||||
</th>*@
|
|
||||||
@* <th></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@foreach (var item in Model) {
|
|
||||||
<tr> *@
|
|
||||||
@* <td>
|
|
||||||
@Html.DisplayFor(modelItem => item.antipcon)
|
|
||||||
</td>*@
|
|
||||||
@* <td>
|
|
||||||
@Html.DisplayFor(modelItem => item.ancodice)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.andescri)
|
|
||||||
</td> *@
|
|
||||||
@* <td>
|
|
||||||
@Html.DisplayFor(modelItem => item.an_email)
|
|
||||||
</td>*@
|
|
||||||
@* <td>
|
|
||||||
@Html.DisplayFor(modelItem => item.ancodfis)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.anpariva)
|
|
||||||
</td> *@
|
|
||||||
@* <td>
|
|
||||||
@Html.DisplayFor(modelItem => item.anindiri)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.antelefo)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.annumcel)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.an_empec)
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.annumlis)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.andtobso)
|
|
||||||
</td>*@
|
|
||||||
@* <td>
|
|
||||||
@Html.ActionLink("Modifica", "Edit", new { id = item.ancodice }) |
|
|
||||||
@Html.ActionLink("Dettaglio", "Details", new { id = item.ancodice }) |
|
|
||||||
@Html.ActionLink("Elimina", "Delete", new { id = item.ancodice })
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<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> *@
|
|
||||||
@ -99,128 +99,4 @@
|
|||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Nuova chiamata</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Create">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
||||||
|
|
||||||
@Html.HiddenFor(x => x.chcodazi)
|
|
||||||
@Html.HiddenFor(x => x.chserial)
|
|
||||||
@Html.HiddenFor(x => x.chcodese)
|
|
||||||
@Html.HiddenFor(x => x.chserial)
|
|
||||||
@Html.HiddenFor(x => x.chnumero)
|
|
||||||
@Html.HiddenFor(x => x.chdata)
|
|
||||||
|
|
||||||
@Html.HiddenFor(x => x.chora)
|
|
||||||
@Html.HiddenFor(x => x.chmin)
|
|
||||||
@Html.HiddenFor(x => x.chopins)
|
|
||||||
@Html.HiddenFor(x => x.chopass)
|
|
||||||
@Html.HiddenFor(x => x.chopchi)
|
|
||||||
@Html.HiddenFor(x => x.chaziimp)
|
|
||||||
@Html.HiddenFor(x => x.chtmanut)
|
|
||||||
@Html.HiddenFor(x => x.chdtapp)
|
|
||||||
@Html.HiddenFor(x => x.chtipo)
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="chcodimp" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.chcodimp,(IEnumerable<SelectListItem>)ViewBag.Impianti, new {@class = "form-control"})
|
|
||||||
<span asp-validation-for="chcodimp" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="chtchiam" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.chtchiam,(IEnumerable<SelectListItem>)ViewBag.Tecnici, new {@class = "form-control"})
|
|
||||||
<span asp-validation-for="chtchiam" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="chstato" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.chstato,(IEnumerable<SelectListItem>)ViewBag.StatiChiamata, new {@class = "form-control"})
|
|
||||||
<span asp-validation-for="chstato" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="chrifer" class="control-label"></label>
|
|
||||||
<input asp-for="chrifer" class="form-control" />
|
|
||||||
<span asp-validation-for="chrifer" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="chtelef" class="control-label"></label>
|
|
||||||
<input asp-for="chtelef" class="form-control" />
|
|
||||||
<span asp-validation-for="chtelef" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="chcodseg" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.chcodseg,(IEnumerable<SelectListItem>)ViewBag.CodiciSegnalazione, new {@class = "form-control"})
|
|
||||||
<span asp-validation-for="chcodseg" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="chnote" class="control-label"></label>
|
|
||||||
<input asp-for="chnote" class="form-control" />
|
|
||||||
<span asp-validation-for="chnote" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@Html.HiddenFor(x => x.chmodrac)
|
|
||||||
@Html.HiddenFor(x => x.choraapi)
|
|
||||||
@Html.HiddenFor(x => x.chminapi)
|
|
||||||
@Html.HiddenFor(x => x.choraapf)
|
|
||||||
@Html.HiddenFor(x => x.chminapf)
|
|
||||||
@Html.HiddenFor(x => x.chstopi)
|
|
||||||
@Html.HiddenFor(x => x.chdtass)
|
|
||||||
@Html.HiddenFor(x => x.chorass)
|
|
||||||
@Html.HiddenFor(x => x.chminass)
|
|
||||||
@Html.HiddenFor(x => x.chdtchi)
|
|
||||||
@Html.HiddenFor(x => x.chorachi)
|
|
||||||
@Html.HiddenFor(x => x.chminchi)
|
|
||||||
@Html.HiddenFor(x => x.chdtlin)
|
|
||||||
@Html.HiddenFor(x => x.chorali)
|
|
||||||
@Html.HiddenFor(x => x.chminli)
|
|
||||||
@Html.HiddenFor(x => x.chdtlfi)
|
|
||||||
@Html.HiddenFor(x => x.choralf)
|
|
||||||
@Html.HiddenFor(x => x.chminlf)
|
|
||||||
@Html.HiddenFor(x => x.chvalfat)
|
|
||||||
@Html.HiddenFor(x => x.cpccchk)
|
|
||||||
@Html.HiddenFor(x => x.chnrap1)
|
|
||||||
@Html.HiddenFor(x => x.chsrap1)
|
|
||||||
@Html.HiddenFor(x => x.chnrap2)
|
|
||||||
@Html.HiddenFor(x => x.chsrap2)
|
|
||||||
@Html.HiddenFor(x => x.chprgann)
|
|
||||||
@Html.HiddenFor(x => x.chserchi)
|
|
||||||
@Html.HiddenFor(x => x.chdesfat)
|
|
||||||
@Html.HiddenFor(x => x.chdessup)
|
|
||||||
@Html.HiddenFor(x => x.chimpofa)
|
|
||||||
@Html.HiddenFor(x => x.chserdoc)
|
|
||||||
@Html.HiddenFor(x => x.chimpmat)
|
|
||||||
@Html.HiddenFor(x => x.chimpman)
|
|
||||||
@Html.HiddenFor(x => x.chperman)
|
|
||||||
@Html.HiddenFor(x => x.chflstim)
|
|
||||||
@Html.HiddenFor(x => x.chfleste)
|
|
||||||
@Html.HiddenFor(x => x.chserext)
|
|
||||||
@Html.HiddenFor(x => x.chrifiutata)
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Create" class="btn btn-primary" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function () {
|
|
||||||
$("#chcodimp").select2();
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Back to List</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
}
|
|
||||||
*@
|
|
||||||
@ -59,95 +59,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Delete</h1>
|
|
||||||
|
|
||||||
<h3>Are you sure you want to delete this?</h3>
|
|
||||||
<div>
|
|
||||||
<h4>Chiamate</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="row">
|
|
||||||
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chserial)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chserial)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chcodese)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chcodese)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chtipo)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chtipo)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chnumero)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chnumero)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chdata)
|
|
||||||
</dt>
|
|
||||||
<dd class="col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chdata)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chcodimp)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chcodimp)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chtchiam)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chtchiam)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chstato)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chstato)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chrifer)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chrifer)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chtelef)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chtelef)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chcodseg)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chcodseg)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.chnote)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.chnote)
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<form asp-action="DeleteConfirmed">
|
|
||||||
<input type="submit" value="Delete" class="btn btn-danger" /> |
|
|
||||||
<input type="hidden" id="id" value=@Html.DisplayFor(model => model.chserial) name="id" />
|
|
||||||
<a asp-action="Index">Back to List</a>
|
|
||||||
</form>
|
|
||||||
</div> *@
|
|
||||||
@ -8,7 +8,7 @@
|
|||||||
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
||||||
string da = string.Empty;
|
string da = string.Empty;
|
||||||
string a = string.Empty;
|
string a = string.Empty;
|
||||||
if (!string.IsNullOrEmpty( (string)ViewBag.Da))
|
if (!string.IsNullOrEmpty((string)ViewBag.Da))
|
||||||
{
|
{
|
||||||
da = ViewBag.Da;
|
da = ViewBag.Da;
|
||||||
}
|
}
|
||||||
@ -18,44 +18,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
<style>
|
<style>
|
||||||
.dotGray {
|
.dotGray, .dotYellow, .dotGreen, .dotOrange, .dotBlack {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
background-color: #bbb;
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dotGray {
|
||||||
|
background-color: #bbb;
|
||||||
|
}
|
||||||
|
|
||||||
.dotYellow {
|
.dotYellow {
|
||||||
height: 20px;
|
|
||||||
width: 20px;
|
|
||||||
background-color: yellow;
|
background-color: yellow;
|
||||||
border-radius: 50%;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dotGreen {
|
.dotGreen {
|
||||||
height: 20px;
|
|
||||||
width: 20px;
|
|
||||||
background-color: green;
|
background-color: green;
|
||||||
border-radius: 50%;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dotOrange {
|
.dotOrange {
|
||||||
height: 20px;
|
|
||||||
width: 20px;
|
|
||||||
background-color: orange;
|
background-color: orange;
|
||||||
border-radius: 50%;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dotBlack {
|
.dotBlack {
|
||||||
height: 20px;
|
|
||||||
width: 20px;
|
|
||||||
background-color: black;
|
background-color: black;
|
||||||
border-radius: 50%;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
@ -66,14 +53,12 @@
|
|||||||
<a asp-action="Create" class="info-data"><img src="~/assets/images/icons8-nuovo-50.png" alt="Crea un nuovo elemento" /></a>
|
<a asp-action="Create" class="info-data"><img src="~/assets/images/icons8-nuovo-50.png" alt="Crea un nuovo elemento" /></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@using (Html.BeginForm("Index","Chiamate"))
|
@using (Html.BeginForm("Index", "Chiamate"))
|
||||||
{
|
{
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Ricerca</h5>
|
<h5 class="card-header">Ricerca</h5>
|
||||||
<div class="table-responsive text-nowrap">
|
<div class="table-responsive text-nowrap">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
|
|
||||||
<tbody class="table-border-bottom-0">
|
<tbody class="table-border-bottom-0">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@ -92,20 +77,15 @@
|
|||||||
<i class="bx bxl-angular bx-sm text-black me-3">Indirizzo:</i>
|
<i class="bx bxl-angular bx-sm text-black me-3">Indirizzo:</i>
|
||||||
<span class="fw-medium">@Html.TextBox("indirizzo", null, new { placeholder = "Cerca per indirizzo impianto", @class = "agy-form-field require" })</span>
|
<span class="fw-medium">@Html.TextBox("indirizzo", null, new { placeholder = "Cerca per indirizzo impianto", @class = "agy-form-field require" })</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td> </td>
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3">Data da:</i>
|
<i class="bx bxl-angular bx-sm text-black me-3">Data da:</i>
|
||||||
@* <span class="fw-medium">@Html.TextBox("dataIni", @da, new { type = "date", @class = "agy-form-field require" })</span>*@
|
|
||||||
<span class="fw-medium"><input type="date" id="dataIni" name="dataIni" value="@da" class="agy-form-field" /></span>
|
<span class="fw-medium"><input type="date" id="dataIni" name="dataIni" value="@da" class="agy-form-field" /></span>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3">Data a:</i>
|
<i class="bx bxl-angular bx-sm text-black me-3">Data a:</i>
|
||||||
@* <span class="fw-medium"> @Html.TextBox("dataFin", null, new { type = "date", @class = "agy-form-field require" })</span>*@
|
|
||||||
<span class="fw-medium"><input type="date" id="dataFin" name="dataFin" value="@a" class="agy-form-field" /></span>
|
<span class="fw-medium"><input type="date" id="dataFin" name="dataFin" value="@a" class="agy-form-field" /></span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@ -113,8 +93,7 @@
|
|||||||
<span class="fw-medium">@Html.DropDownList("stato", ViewBag.StatiChiamata, null, new { @class = "agy-form-field require" }) </span>
|
<span class="fw-medium">@Html.DropDownList("stato", ViewBag.StatiChiamata, null, new { @class = "agy-form-field require" }) </span>
|
||||||
</td>
|
</td>
|
||||||
<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>
|
||||||
<span class="fw-medium"><input type="submit" value="Cerca" class="agy-btn submitForm" /></span>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -122,25 +101,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
<div style="width:100%;height:30px;">
|
|
||||||
|
<div style="width:100%;height:30px;"> </div>
|
||||||
</div>
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">CHIAMATE</h5>
|
<h5 class="card-header">CHIAMATE</h5>
|
||||||
<div class="table-responsive text-nowrap">
|
<div class="table-responsive text-nowrap">
|
||||||
|
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th>Data appuntamento</th>
|
<th>Data appuntamento</th>
|
||||||
<th>Impianto</th>
|
<th>Impianto</th>
|
||||||
<th>Cliente</th>
|
<th>Cliente</th>
|
||||||
<th>Tecnico</th>
|
<th>Tecnico</th>
|
||||||
<th> </th>
|
<th> </th>
|
||||||
@* <th>R</th>
|
|
||||||
<th>IC</th>*@
|
|
||||||
<th>Buono</th>
|
<th>Buono</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -151,193 +125,118 @@
|
|||||||
<tr>
|
<tr>
|
||||||
@Html.HiddenFor(modelItem => item.chserial)
|
@Html.HiddenFor(modelItem => item.chserial)
|
||||||
@Html.HiddenFor(modelItem => item.chcodese)
|
@Html.HiddenFor(modelItem => item.chcodese)
|
||||||
|
<td>@Html.DisplayFor(modelItem => item.numIntero)</td>
|
||||||
|
<td>@Html.DisplayFor(modelItem => item.chdtapp)</td>
|
||||||
|
<td>@Html.DisplayFor(modelItem => item.chcodimp) - @Html.DisplayFor(modelItem => item.indirizzoBreve)</td>
|
||||||
|
<td>@Html.DisplayFor(modelItem => item.andescri)</td>
|
||||||
|
<td>@Html.DisplayFor(modelItem => item.chtchiam) - @Html.DisplayFor(modelItem => item.tcdescri)</td>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.numIntero)
|
@if (!string.IsNullOrEmpty(item.chstato) && item.chstato.Equals("S"))
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@* @Html.DisplayFor(modelItem => item.chdata) *@
|
|
||||||
@Html.DisplayFor(modelItem => item.chdtapp)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.chcodimp) - @Html.DisplayFor(modelItem => item.indirizzoBreve)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.andescri)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.chtchiam) - @Html.DisplayFor(modelItem => item.tcdescri)
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td>
|
|
||||||
@* @Html.DisplayFor(modelItem => item.chstato) - @Html.DisplayFor(modelItem => item.descStato)*@
|
|
||||||
@{
|
|
||||||
|
|
||||||
//Unico caso in cui vado a vedere lo stato è il caso S=sospesa (grigio)
|
|
||||||
if (!string.IsNullOrEmpty(item.chstato) && item.chstato.Equals("S"))
|
|
||||||
{
|
|
||||||
<span class="dotGray"></span>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
//Caso rifiutato (nero): devo andare a valutare se il valore di rif è valorizzato e vale S
|
|
||||||
if (!string.IsNullOrEmpty(item.rif) && item.rif.Equals("S") )
|
|
||||||
{
|
|
||||||
//rifiutato
|
|
||||||
<span class="dotBlack"></span>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
//caso chiuso: devo andare a valutare che ser_buono_chiu sia valorizzato
|
|
||||||
if ( !string.IsNullOrEmpty(item.ser_buono_chiu))
|
|
||||||
{
|
|
||||||
//seriale buono presente: chiusa-verde
|
|
||||||
<span class="dotGreen"></span>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
//assegnata(arancio)/non assegnata(giallo) : devo vedere se il tecnico è valorizzato o no
|
|
||||||
if (!string.IsNullOrEmpty(item.chtchiam))
|
|
||||||
{
|
|
||||||
<span class="dotOrange"></span>
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
<span class="dotYellow"></span>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//if (!string.IsNullOrEmpty(item.rif) && item.rif.Equals("S") )
|
|
||||||
//{
|
|
||||||
// //rifiutato
|
|
||||||
// <span class="dotBlack"></span>
|
|
||||||
//}
|
|
||||||
//else
|
|
||||||
//{
|
|
||||||
// if ( !string.IsNullOrEmpty(item.ser_buono_chiu))
|
|
||||||
// {
|
|
||||||
// //seriale buono presente: chiusa
|
|
||||||
// <span class="dotGreen"></span>
|
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// {
|
|
||||||
// if (!string.IsNullOrEmpty(item.chstato) && item.chstato.Equals("B"))
|
|
||||||
// {
|
|
||||||
// <span class="dotYellow"></span>
|
|
||||||
// }
|
|
||||||
// if (!string.IsNullOrEmpty(item.chstato) && item.chstato.Equals("C"))
|
|
||||||
// {
|
|
||||||
// <span class="dotOrange"></span>
|
|
||||||
|
|
||||||
// }
|
|
||||||
|
|
||||||
// if (!string.IsNullOrEmpty(item.chstato) && item.chstato.Equals("S"))
|
|
||||||
// {
|
|
||||||
// <span class="dotGray"></span>
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
//}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
</td>
|
|
||||||
@* <td>@Html.DisplayFor(modelItem => item.rif)</td>
|
|
||||||
<td>@Html.DisplayFor(modelItem => item.ic)</td>*@
|
|
||||||
|
|
||||||
@{
|
|
||||||
|
|
||||||
// string link = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(item.ser_buono_chiu))
|
|
||||||
{
|
{
|
||||||
// link = "http://testapi.poloinformatico.it:9001/VIRTU/";
|
<span class="dotGray"></span>
|
||||||
// link = link + item.ser_buono_chiu + ".jpg";
|
;
|
||||||
// <td><a href="@link" target="_blank">@item.ser_buono_chiu</a></td>
|
}
|
||||||
|
else if (!string.IsNullOrEmpty(item.rif) && item.rif.Equals("S"))
|
||||||
// <td>@item.ser_buono_chiu - @item.ser_rapp_chiu</td>
|
{
|
||||||
|
<span class="dotBlack"></span>
|
||||||
<td><a href="" onclick="openNewWindow();">@item.ser_buono_chiu</a></td>
|
;
|
||||||
|
}
|
||||||
<script type="text/javascript">
|
else if (!string.IsNullOrEmpty(item.ser_buono_chiu))
|
||||||
function openNewWindow() {
|
{
|
||||||
window.open("/Rapp_New/Immagine?id=@item.ser_rapp_chiu", "MyWindow", "top=0,left=0,height=1020,width=1020");
|
<span class="dotGreen"></span>
|
||||||
}
|
;
|
||||||
</script>
|
}
|
||||||
|
else if (!string.IsNullOrEmpty(item.chtchiam))
|
||||||
|
{
|
||||||
|
<span class="dotOrange"></span>
|
||||||
|
;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<td></td>
|
<span class="dotYellow"></span>
|
||||||
|
;
|
||||||
}
|
}
|
||||||
}
|
</td>
|
||||||
|
<td>
|
||||||
|
@if (!string.IsNullOrEmpty(item.ser_buono_chiu))
|
||||||
|
{
|
||||||
|
<a href="#" class="apri-finestra" data-id="@item.ser_rapp_chiu">@item.ser_buono_chiu</a>
|
||||||
|
}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@{
|
@{
|
||||||
string _url_edit = @Url.Action("Edit", "Chiamate", new { id = item.chserial });
|
string _url_edit = Url.Action("Edit", "Chiamate", new { id = item.chserial });
|
||||||
|
}
|
||||||
if (string.IsNullOrEmpty(item.ic) || string.IsNullOrEmpty(item.ser_buono_chiu))
|
@if (string.IsNullOrEmpty(item.ic) || string.IsNullOrEmpty(item.ser_buono_chiu))
|
||||||
{
|
{
|
||||||
<a href="@_url_edit" title="Modifica" class="links">
|
<a href="@_url_edit" title="Modifica" class="links">
|
||||||
<img alt="Modifica" src="~/assets/images/icons8-modificare-64.png" style="width:30px;height:30px;">
|
<img alt="Modifica" src="~/assets/images/icons8-modificare-64.png" style="width:30px;height:30px;">
|
||||||
</a>
|
</a>
|
||||||
}
|
}
|
||||||
}
|
<a href="@Url.Action("Details", "Chiamate", new { id = item.chserial })" title="Dettaglio" class="links">
|
||||||
<a href="@Url.Action("Details", "Chiamate", new { id=item.chserial })" title="Dettaglio" class="links" >
|
<img alt="Dettaglio" src="~/assets/images/icons8-visualizza-file-64.png" style="width:30px;height:30px;">
|
||||||
<img alt="Dettaglio" src="@Url.Content("~/assets/images/icons8-visualizza-file-64.png")" style="width:30px;height:30px;">
|
|
||||||
</a>
|
</a>
|
||||||
@{
|
@{
|
||||||
string _url_del = @Url.Action("Delete", "Chiamate", new { id = item.chserial });
|
string _url_del = Url.Action("Delete", "Chiamate", new { id = item.chserial });
|
||||||
|
}
|
||||||
if (string.IsNullOrEmpty(item.ic) || string.IsNullOrEmpty(item.ser_buono_chiu))
|
@if (string.IsNullOrEmpty(item.ic) || string.IsNullOrEmpty(item.ser_buono_chiu))
|
||||||
{
|
{
|
||||||
<a href="@_url_del" title="Elimina" class="links">
|
<a href="@_url_del" title="Elimina" class="links">
|
||||||
<img alt="Elimina" src="~/assets/images/icons8-elimina-50.png" style="width:30px;height:30px;">
|
<img alt="Elimina" src="~/assets/images/icons8-elimina-50.png" style="width:30px;height:30px;">
|
||||||
</a>
|
</a>
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width:100%;height:15px;"> </div>
|
<div style="width:100%;height:15px;"> </div>
|
||||||
<div style="width:100%;">
|
<div style="width:100%;">
|
||||||
<div style="float:left;"><span class="dotYellow"></span> Da assegnare </div>
|
<div style="float:left;"><span class="dotYellow"></span> Da assegnare </div>
|
||||||
<div style="float:left;"><span class="dotOrange" ></span> Assegnata </div>
|
<div style="float:left;"><span class="dotOrange"></span> Assegnata </div>
|
||||||
<div style="float:left;"><span class="dotGreen"></span> Chiusa </div>
|
<div style="float:left;"><span class="dotGreen"></span> Chiusa </div>
|
||||||
<div style="float:left;"><span class="dotGray"></span> Sospesa </div>
|
<div style="float:left;"><span class="dotGray"></span> Sospesa </div>
|
||||||
<div style="float:left;"><span class="dotBlack"></span> Rifiutata </div>
|
<div style="float:left;"><span class="dotBlack"></span> Rifiutata </div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, impianto=@ViewData["CurrentFilter"],tecnico=@ViewData["CurrentFilterTec"],indirizzo=@ViewData["CurrentFilterIndiri"],stato=@ViewData["CurrentFilterStato"],dataIni=@ViewData["CurrentFilterDataDa"],dataFin=@ViewData["CurrentFilterDataA"] }), new PagedListRenderOptions()
|
@Html.PagedListPager(Model, page => Url.Action("index", new
|
||||||
{
|
{
|
||||||
ActiveLiElementClass = "active",
|
page = page,
|
||||||
PageClasses = new[]{ "page-link"},
|
impianto = ViewData["CurrentFilter"],
|
||||||
LiElementClasses=new[] { "page-item" },
|
tecnico = ViewData["CurrentFilterTec"],
|
||||||
UlElementClasses = new[] { "pagination","justify-content-center", "mt-3" },
|
indirizzo = ViewData["CurrentFilterIndiri"],
|
||||||
LinkToNextPageFormat = "Successiva",
|
stato = ViewData["CurrentFilterStato"],
|
||||||
LinkToPreviousPageFormat = "Precedente",
|
dataIni = ViewData["CurrentFilterDataDa"],
|
||||||
MaximumPageNumbersToDisplay = 5,
|
dataFin = ViewData["CurrentFilterDataA"]
|
||||||
DisplayLinkToPreviousPage = PagedListDisplayMode.Always,
|
}), new PagedListRenderOptions()
|
||||||
DisplayLinkToNextPage = PagedListDisplayMode.Always
|
{
|
||||||
})
|
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>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
|
document.querySelectorAll('.apri-finestra').forEach(function (link) {
|
||||||
|
link.addEventListener('click', function (e) {
|
||||||
|
e.preventDefault();
|
||||||
|
const id = this.getAttribute('data-id');
|
||||||
|
if (id) {
|
||||||
|
window.open("/Rapp_New/Immagine?id=" + id, "MyWindow", "top=0,left=0,height=1020,width=1020");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|||||||
@ -30,40 +30,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@* <h1>Dettaglio</h1>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<h4 hidden>Chiusure</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="row">
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.cccodazi)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.cccodazi)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.cccodice)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.cccodice)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ccdescr)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ccdescr)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ccdessup)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ccdessup)
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</div> *@
|
|
||||||
@ -74,16 +74,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@* <div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div> *@
|
|
||||||
|
|
||||||
@* <div>
|
|
||||||
<a asp-action="Index">Torna alla lista</a>
|
|
||||||
</div> *@
|
|
||||||
|
|
||||||
@* @section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
} *@
|
|
||||||
|
|||||||
@ -96,134 +96,4 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@* <div class="agy-project-wrapper agy-project-page-wrapper">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Create">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger">
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
|
|
||||||
<input asp-for="laserial" class="agy-form-field require" placeholder="Seriale commessa" />
|
|
||||||
<span asp-validation-for="laserial" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
|
||||||
<div class="form-group">
|
|
||||||
|
|
||||||
<input asp-for="lacodazi" class="agy-form-field require" placeholder="Seriale Azienda" />
|
|
||||||
<span asp-validation-for="lacodazi" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
|
||||||
<div class="form-group">
|
|
||||||
|
|
||||||
<input asp-for="lacodcom" class="agy-form-field require" placeholder="Cod. commessa" />
|
|
||||||
<span asp-validation-for="lacodcom" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
|
||||||
<div class="form-group">
|
|
||||||
|
|
||||||
<input asp-for="ladeslav" class="agy-form-field require" placeholder="Fase commessa" />
|
|
||||||
<span asp-validation-for="ladeslav" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
|
||||||
<div class="form-group">
|
|
||||||
|
|
||||||
<input asp-for="ladatchi" class="agy-form-field require" placeholder="Fine validita Commessa" />
|
|
||||||
<span asp-validation-for="ladatchi" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
|
||||||
<div class="form-group">
|
|
||||||
|
|
||||||
<input asp-for="latipcli" class="agy-form-field require" placeholder="Tipo cliente" />
|
|
||||||
<span asp-validation-for="latipcli" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
|
||||||
<div class="form-group">
|
|
||||||
|
|
||||||
<input asp-for="lacodcli" class="agy-form-field require" placeholder="Cod. Cliente" />
|
|
||||||
<span asp-validation-for="lacodcli" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Salva" class="agy-btn submitForm" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Torna alla lista</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@{
|
|
||||||
await Html.RenderPartialAsync("_ValidationScriptsPartial");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div> *@
|
|
||||||
@*
|
|
||||||
<h1>Create</h1>
|
|
||||||
|
|
||||||
<h4>CommesseVT_Table</h4>
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Create">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="laserial" class="control-label"></label>
|
|
||||||
<input asp-for="laserial" class="form-control" />
|
|
||||||
<span asp-validation-for="laserial" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="lacodazi" class="control-label"></label>
|
|
||||||
<input asp-for="lacodazi" class="form-control" />
|
|
||||||
<span asp-validation-for="lacodazi" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="lacodcom" class="control-label"></label>
|
|
||||||
<input asp-for="lacodcom" class="form-control" />
|
|
||||||
<span asp-validation-for="lacodcom" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ladeslav" class="control-label"></label>
|
|
||||||
<input asp-for="ladeslav" class="form-control" />
|
|
||||||
<span asp-validation-for="ladeslav" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ladatchi" class="control-label"></label>
|
|
||||||
<input asp-for="ladatchi" class="form-control" />
|
|
||||||
<span asp-validation-for="ladatchi" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="latipcli" class="control-label"></label>
|
|
||||||
<input asp-for="latipcli" class="form-control" />
|
|
||||||
<span asp-validation-for="latipcli" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="lacodcli" class="control-label"></label>
|
|
||||||
<input asp-for="lacodcli" class="form-control" />
|
|
||||||
<span asp-validation-for="lacodcli" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Create" class="btn btn-primary" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Back to List</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
}
|
|
||||||
*@
|
|
||||||
@ -51,70 +51,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@*
|
|
||||||
<h1>Delete</h1>
|
|
||||||
|
|
||||||
<h3>Are you sure you want to delete this?</h3>
|
|
||||||
<div>
|
|
||||||
<h4>CommesseVT_Table</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="row">
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.laserial)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.laserial)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.lacodazi)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.lacodazi)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.lacodcom)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.lacodcom)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ladeslav)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ladeslav)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ladatchi)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ladatchi)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.latipcli)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.latipcli)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.lacodcli)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.lacodcli)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ladatobso)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ladatobso)
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<form asp-action="Delete">
|
|
||||||
<input type="submit" value="Delete" class="btn btn-danger" /> |
|
|
||||||
<a asp-action="Index">Back to List</a>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
*@
|
|
||||||
@ -57,66 +57,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@* <h1>Details</h1> *@
|
|
||||||
@*
|
|
||||||
<div>
|
|
||||||
<h4>CommesseVT_Table</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="row">
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.laserial)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.laserial)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.lacodazi)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.lacodazi)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.lacodcom)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.lacodcom)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ladeslav)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ladeslav)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ladatchi)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ladatchi)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.latipcli)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.latipcli)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.lacodcli)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.lacodcli)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ladatobso)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ladatobso)
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
@Html.ActionLink("Edit", "Edit", new { /* id = Model.PrimaryKey */ }) |
|
|
||||||
<a asp-action="Index">Back to List</a>
|
|
||||||
</div>
|
|
||||||
*@
|
|
||||||
@ -85,70 +85,4 @@
|
|||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Edit</h1> *@
|
|
||||||
@*
|
|
||||||
<h4>CommesseVT_Table</h4>
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Edit">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="laserial" class="control-label"></label>
|
|
||||||
<input asp-for="laserial" class="form-control" />
|
|
||||||
<span asp-validation-for="laserial" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="lacodazi" class="control-label"></label>
|
|
||||||
<input asp-for="lacodazi" class="form-control" />
|
|
||||||
<span asp-validation-for="lacodazi" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="lacodcom" class="control-label"></label>
|
|
||||||
<input asp-for="lacodcom" class="form-control" />
|
|
||||||
<span asp-validation-for="lacodcom" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ladeslav" class="control-label"></label>
|
|
||||||
<input asp-for="ladeslav" class="form-control" />
|
|
||||||
<span asp-validation-for="ladeslav" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ladatchi" class="control-label"></label>
|
|
||||||
<input asp-for="ladatchi" class="form-control" />
|
|
||||||
<span asp-validation-for="ladatchi" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="latipcli" class="control-label"></label>
|
|
||||||
<input asp-for="latipcli" class="form-control" />
|
|
||||||
<span asp-validation-for="latipcli" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="lacodcli" class="control-label"></label>
|
|
||||||
<input asp-for="lacodcli" class="form-control" />
|
|
||||||
<span asp-validation-for="lacodcli" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ladatobso" class="control-label"></label>
|
|
||||||
<input asp-for="ladatobso" class="form-control" />
|
|
||||||
<span asp-validation-for="ladatobso" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Save" class="btn btn-primary" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Back to List</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
}
|
|
||||||
*@
|
|
||||||
@ -183,131 +183,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@*
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a asp-action="Create">Create New</a>
|
|
||||||
</p>
|
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayFor(modelItem => modelItem.laserial)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.lacodazi)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.lacodcom)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.ladeslav)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.ladatchi)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.latipcli)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.lacodcli)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.andescri)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.imcodimp)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri1)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri2)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri3)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri4)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri5)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.imlocali)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.imcodcap)
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
@Html.DisplayNameFor(model => model.improvin)
|
|
||||||
</th>
|
|
||||||
<th></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@foreach (var item in Model) {
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.laserial)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.lacodazi)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.lacodcom)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.ladeslav)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.ladatchi)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.latipcli)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.lacodcli)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.andescri)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.imcodimp)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.imindiri1)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.imindiri2)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.imindiri3)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.imindiri4)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.imindiri5)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.imlocali)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.imcodcap)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.improvin)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
|
|
||||||
@Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
|
|
||||||
@Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
}
|
|
||||||
</tbody> *@
|
|
||||||
</table>
|
|
||||||
|
|||||||
@ -124,101 +124,4 @@
|
|||||||
@{
|
@{
|
||||||
await Html.RenderPartialAsync("_ValidationScriptsPartial");
|
await Html.RenderPartialAsync("_ValidationScriptsPartial");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Nuovo impianto</h1>
|
|
||||||
|
|
||||||
<h4 hidden>Impianto</h4>
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Create">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imcodimp" class="control-label"></label>
|
|
||||||
<input asp-for="imcodimp" class="form-control" />
|
|
||||||
<span asp-validation-for="imcodimp" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@Html.HiddenFor(m => m.imcodazi)
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imdescri" class="control-label"></label>
|
|
||||||
<input asp-for="imdescri" class="form-control" />
|
|
||||||
<span asp-validation-for="imdescri" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imindiri1" class="control-label"></label>
|
|
||||||
<input asp-for="imindiri1" class="form-control" />
|
|
||||||
<span asp-validation-for="imindiri1" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imindiri2" class="control-label"></label>
|
|
||||||
<input asp-for="imindiri2" class="form-control" />
|
|
||||||
<span asp-validation-for="imindiri2" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imindiri3" class="control-label"></label>
|
|
||||||
<input asp-for="imindiri3" class="form-control" />
|
|
||||||
<span asp-validation-for="imindiri3" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imindiri4" class="control-label"></label>
|
|
||||||
<input asp-for="imindiri4" class="form-control" />
|
|
||||||
<span asp-validation-for="imindiri4" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imindiri5" class="control-label"></label>
|
|
||||||
<input asp-for="imindiri5" class="form-control" />
|
|
||||||
<span asp-validation-for="imindiri5" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imlocali" class="control-label"></label>
|
|
||||||
<input asp-for="imlocali" class="form-control" />
|
|
||||||
<span asp-validation-for="imlocali" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imcodcap" class="control-label"></label>
|
|
||||||
<input asp-for="imcodcap" class="form-control" />
|
|
||||||
<span asp-validation-for="imcodcap" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imcomune" class="control-label"></label>
|
|
||||||
<input asp-for="imcomune" class="form-control" />
|
|
||||||
<span asp-validation-for="imcomune" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="improvin" class="control-label"></label>
|
|
||||||
<input asp-for="improvin" class="form-control" />
|
|
||||||
<span asp-validation-for="improvin" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imultcli" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x =>x.imultcli,(IEnumerable<SelectListItem>)ViewBag.AllStockList,new {@class = "form-control"})
|
|
||||||
<span asp-validation-for="imultcli" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Salva" class="btn btn-primary" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function () {
|
|
||||||
$("#imultcli").select2();
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
}
|
|
||||||
*@
|
|
||||||
@ -65,106 +65,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Elimina impianto</h1>
|
|
||||||
|
|
||||||
<h3>Vuoi eliminare l'impianto?</h3>
|
|
||||||
<div>
|
|
||||||
<h4>Impianto</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="row">
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imcodimp)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imcodimp)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imcodazi)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imcodazi)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imdescri)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imdescri)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri1)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imindiri1)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri2)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imindiri2)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri3)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imindiri3)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri4)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imindiri4)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri5)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imindiri5)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imlocali)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imlocali)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imcodcap)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imcodcap)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imcomune)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imcomune)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.improvin)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.improvin)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imultcli)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imultcli)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.indirizzo)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.indirizzo)
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<form asp-action="DeleteConfirmed">
|
|
||||||
<input type="submit" value="Elimina" class="btn btn-danger" /> |
|
|
||||||
<input type="hidden" id="id" value=@Html.DisplayFor(model => model.imcodimp) name="id" />
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</form>
|
|
||||||
</div> *@
|
|
||||||
|
|||||||
@ -66,104 +66,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Dettaglio impianto</h1>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<h4 hidden>Impianto</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="row">
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imcodimp)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imcodimp)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imcodazi)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imcodazi)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imdescri)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imdescri)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri1)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imindiri1)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri2)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imindiri2)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri3)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imindiri3)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri4)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imindiri4)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imindiri5)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imindiri5)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imlocali)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imlocali)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imcodcap)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imcodcap)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imcomune)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imcomune)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.improvin)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.improvin)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.imultcli)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.imultcli) -
|
|
||||||
@Html.DisplayFor(model => model.descCliente)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.indirizzo)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.indirizzo)
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
@* @Html.ActionLink("Modifica", "Edit", new { /* id = Model.PrimaryKey */ }) |*@
|
|
||||||
@* <a asp-action="Index">Torna indietro</a>
|
|
||||||
</div> *@
|
|
||||||
@ -146,118 +146,4 @@
|
|||||||
</script>
|
</script>
|
||||||
@section Scripts {
|
@section Scripts {
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<@* h1>Modifica impianto</h1>
|
|
||||||
|
|
||||||
<h4 hidden>Impianto</h4>
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Edit">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imcodimp" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="imcodimp" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.imcodimp)
|
|
||||||
@Html.DisplayFor(model => model.imcodimp)
|
|
||||||
<span asp-validation-for="imcodimp" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@Html.HiddenFor(x => x.imcodazi)
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imdescri" class="control-label"></label>
|
|
||||||
<input asp-for="imdescri" class="form-control" />
|
|
||||||
<span asp-validation-for="imdescri" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imindiri1" class="control-label"></label>
|
|
||||||
<input asp-for="imindiri1" class="form-control" />
|
|
||||||
<span asp-validation-for="imindiri1" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imindiri2" class="control-label"></label>
|
|
||||||
<input asp-for="imindiri2" class="form-control" />
|
|
||||||
<span asp-validation-for="imindiri2" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imindiri3" class="control-label"></label>
|
|
||||||
<input asp-for="imindiri3" class="form-control" />
|
|
||||||
<span asp-validation-for="imindiri3" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imindiri4" class="control-label"></label>
|
|
||||||
<input asp-for="imindiri4" class="form-control" />
|
|
||||||
<span asp-validation-for="imindiri4" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imindiri5" class="control-label"></label>
|
|
||||||
<input asp-for="imindiri5" class="form-control" />
|
|
||||||
<span asp-validation-for="imindiri5" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imlocali" class="control-label"></label>
|
|
||||||
<input asp-for="imlocali" class="form-control" />
|
|
||||||
<span asp-validation-for="imlocali" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imcodcap" class="control-label"></label>
|
|
||||||
<input asp-for="imcodcap" class="form-control" />
|
|
||||||
<span asp-validation-for="imcodcap" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imcomune" class="control-label"></label>
|
|
||||||
<input asp-for="imcomune" class="form-control" />
|
|
||||||
<span asp-validation-for="imcomune" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="improvin" class="control-label"></label>
|
|
||||||
<input asp-for="improvin" class="form-control" />
|
|
||||||
<span asp-validation-for="improvin" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="imultcli" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x =>x.imultcli,(IEnumerable<SelectListItem>)ViewBag.AllStockList,new {@class = "form-control"})
|
|
||||||
<span asp-validation-for="imultcli" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="indirizzo" class="control-label"></label>
|
|
||||||
<input asp-for="indirizzo" class="form-control" />
|
|
||||||
<span asp-validation-for="indirizzo" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Salva" class="btn btn-primary" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</div *@>
|
|
||||||
|
|
||||||
|
|
||||||
@* <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/css/select2.min.css" />
|
|
||||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
|
|
||||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/js/select2.min.js"></script> *@
|
|
||||||
<!-- Latest compiled and minified CSS -->
|
|
||||||
@* <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/css/bootstrap-select.min.css"> *@
|
|
||||||
<!-- Latest compiled and minified JavaScript -->
|
|
||||||
@* <script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/bootstrap-select.min.js"></script> *@
|
|
||||||
<!-- (Optional) Latest compiled and minified JavaScript translation files -->
|
|
||||||
@* <script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/i18n/defaults-*.min.js"></script> *@
|
|
||||||
@* <script type="text/javascript">
|
|
||||||
$(function () {
|
|
||||||
$("#imultcli").select2();
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
@section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
} *@
|
|
||||||
@ -113,70 +113,4 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@*
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Impianti</h1>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a asp-action="Create">Crea nuovo impianto</a>
|
|
||||||
</p>
|
|
||||||
@using (Html.BeginForm())
|
|
||||||
{
|
|
||||||
<p>
|
|
||||||
Cerca per indirizzo: @Html.TextBox("SearchString")
|
|
||||||
<input type="submit" value="Cerca" />
|
|
||||||
</p>
|
|
||||||
}
|
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Cod. Impianto</th>
|
|
||||||
<th hidden>Azienda</th>
|
|
||||||
<th>Descrizione</th>
|
|
||||||
<th>Indirizzo</th>
|
|
||||||
<th>Cod. Cliente</th>
|
|
||||||
<th></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@foreach (var item in Model) {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>@Html.DisplayFor(modelItem => item.imcodimp)</td>
|
|
||||||
<td hidden>@Html.DisplayFor(modelItem => item.imcodazi)</td>
|
|
||||||
@Html.HiddenFor(modelItem => item.imcodazi)
|
|
||||||
<td>@Html.DisplayFor(modelItem => item.imdescri)</td>
|
|
||||||
<td>@Html.DisplayFor(modelItem => item.indirizzo)</td>
|
|
||||||
<td>@Html.DisplayFor(modelItem => item.imultcli) - @Html.DisplayFor(modelItem => item.descCliente)</td>
|
|
||||||
<td>
|
|
||||||
@Html.ActionLink("Modifica", "Edit", new { id=item.imcodimp }) |
|
|
||||||
@Html.ActionLink("Dettaglio", "Details", new { id=item.imcodimp }) |
|
|
||||||
@Html.ActionLink("Elimina", "Delete", new { id=item.imcodimp })
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<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>
|
|
||||||
*@
|
|
||||||
@ -43,53 +43,4 @@
|
|||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@* @model VirtualTask.Models.MagazziniVT
|
|
||||||
|
|
||||||
@{
|
|
||||||
ViewData["Title"] = "Create";
|
|
||||||
}
|
|
||||||
|
|
||||||
<h1>Create</h1>
|
|
||||||
|
|
||||||
<h4>MagazziniVT</h4>
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Create">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="Azienda" class="control-label"></label>
|
|
||||||
<input asp-for="Azienda" class="form-control" />
|
|
||||||
<span asp-validation-for="Azienda" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="Mgcodmag" class="control-label"></label>
|
|
||||||
<input asp-for="Mgcodmag" class="form-control" />
|
|
||||||
<span asp-validation-for="Mgcodmag" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="Mgdesmag" class="control-label"></label>
|
|
||||||
<input asp-for="Mgdesmag" class="form-control" />
|
|
||||||
<span asp-validation-for="Mgdesmag" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="DataObso" class="control-label"></label>
|
|
||||||
<input asp-for="DataObso" class="form-control" />
|
|
||||||
<span asp-validation-for="DataObso" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Create" class="btn btn-primary" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Back to List</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
}
|
|
||||||
*@
|
|
||||||
@ -380,451 +380,4 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Crea nuovo rapportino</h1>
|
|
||||||
|
|
||||||
<h4 hidden>Rapp_New</h4>
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Create">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="seriale_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="seriale_rapportino" class="form-control" /> *@
|
|
||||||
@*@Html.HiddenFor(x => x.seriale_rapportino)*@
|
|
||||||
@*@Html.DisplayFor(model => model.seriale_rapportino)*@
|
|
||||||
@* <span asp-validation-for="seriale_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="tipo_rapportino" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="tipo_rapportino" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.tipo_rapportino)
|
|
||||||
@Html.DisplayFor(model => model.tipo_rapportino)
|
|
||||||
<span asp-validation-for="tipo_rapportino" class="text-danger"></span>
|
|
||||||
</div> *@
|
|
||||||
@* <div class="form-group">
|
|
||||||
<label asp-for="azienda_impianto" class="control-label"></label>
|
|
||||||
<input asp-for="azienda_impianto" class="form-control" />
|
|
||||||
<span asp-validation-for="azienda_impianto" class="text-danger"></span>
|
|
||||||
</div> *@
|
|
||||||
@* @Html.HiddenFor(x => x.azienda_impianto)
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_impianto" class="control-label"></label>
|
|
||||||
<input asp-for="codice_impianto" class="form-control" />
|
|
||||||
<span asp-validation-for="codice_impianto" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="azienda_chiamata" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="azienda_chiamata" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.azienda_chiamata)
|
|
||||||
@Html.DisplayFor(model => model.azienda_chiamata)
|
|
||||||
<span asp-validation-for="azienda_chiamata" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="seriale_chiamata" class="control-label"></label>
|
|
||||||
<input asp-for="seriale_chiamata" class="form-control" />
|
|
||||||
<span asp-validation-for="seriale_chiamata" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="seriale_commessa" class="control-label"></label>
|
|
||||||
<input asp-for="seriale_commessa" class="form-control" />
|
|
||||||
<span asp-validation-for="seriale_commessa" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="data_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="data_rapportino" class="form-control" />
|
|
||||||
<span asp-validation-for="data_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ora_ini_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="ora_ini_rapportino" class="form-control" />
|
|
||||||
<span asp-validation-for="ora_ini_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="min_ini_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="min_ini_rapportino" class="form-control" />
|
|
||||||
<span asp-validation-for="min_ini_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ora_fin_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="ora_fin_rapportino" class="form-control" />
|
|
||||||
<span asp-validation-for="ora_fin_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="min_fin_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="min_fin_rapportino" class="form-control" />
|
|
||||||
<span asp-validation-for="min_fin_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_1" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.codice_chiusura_1,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_1)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_1" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_2" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.codice_chiusura_2,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_2)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_2" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_3" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.codice_chiusura_3,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_3)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_3" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_4" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.codice_chiusura_4,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_4)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_4" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_5" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.codice_chiusura_5,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_5)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_5" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_6" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.codice_chiusura_6,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_6)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_6" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_7" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.codice_chiusura_7,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_7)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_7" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_8" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.codice_chiusura_8,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_8)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_8" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_9" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.codice_chiusura_9,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_9)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_9" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_10" class="control-label"></label>
|
|
||||||
@Html.DropDownListFor(x => x.codice_chiusura_10,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_10)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_10" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="descrizione_intervento" class="control-label"></label>
|
|
||||||
<input asp-for="descrizione_intervento" class="form-control" />
|
|
||||||
@Html.HiddenFor(x => x.descrizione_intervento)
|
|
||||||
@Html.DisplayFor(model => model.descrizione_intervento)
|
|
||||||
<span asp-validation-for="descrizione_intervento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="stato_finale" class="control-label"></label>
|
|
||||||
<input asp-for="stato_finale" class="form-control" />
|
|
||||||
@Html.HiddenFor(x => x.stato_finale)
|
|
||||||
@Html.DisplayFor(model => model.stato_finale)
|
|
||||||
<span asp-validation-for="stato_finale" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="generato" class="control-label"></label>*
|
|
||||||
@*<input asp-for="generato" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.generato)
|
|
||||||
@Html.DisplayFor(model => model.generato)
|
|
||||||
<span asp-validation-for="generato" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="azienda_tecnico" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="azienda_tecnico" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.azienda_tecnico)
|
|
||||||
@Html.DisplayFor(model => model.azienda_tecnico)
|
|
||||||
<span asp-validation-for="azienda_tecnico" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_tecnico" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="codice_tecnico" class="form-control" />*@
|
|
||||||
@* @Html.DropDownListFor(x => x.codice_tecnico,(IEnumerable<SelectListItem>)ViewBag.Tecnici,new {@class = "form-control"})
|
|
||||||
<span asp-validation-for="codice_tecnico" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rifiutata" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rifiutata" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rifiutata)
|
|
||||||
@Html.DisplayFor(model => model.rifiutata)
|
|
||||||
<span asp-validation-for="rifiutata" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="firma" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="firma" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.firma)
|
|
||||||
@Html.DisplayFor(model => model.firma)
|
|
||||||
<span asp-validation-for="firma" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="incarico" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="incarico" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.incarico)
|
|
||||||
@Html.DisplayFor(model => model.incarico)
|
|
||||||
<span asp-validation-for="incarico" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="data_validita" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="data_validita" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.data_validita)
|
|
||||||
@Html.DisplayFor(model => model.data_validita)
|
|
||||||
<span asp-validation-for="data_validita" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="immagine" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="immagine" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.immagine)
|
|
||||||
@Html.DisplayFor(model => model.immagine)
|
|
||||||
<span asp-validation-for="immagine" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="ser_buono" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="ser_buono" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.ser_buono)
|
|
||||||
@Html.DisplayFor(model => model.ser_buono)
|
|
||||||
<span asp-validation-for="ser_buono" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="data_effettiva" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="data_effettiva" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.data_effettiva)
|
|
||||||
@Html.DisplayFor(model => model.data_effettiva)
|
|
||||||
<span asp-validation-for="data_effettiva" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="codice_intervento" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="codice_intervento" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.codice_intervento)
|
|
||||||
@Html.DisplayFor(model => model.codice_intervento)
|
|
||||||
<span asp-validation-for="codice_intervento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="difetti_riscontrati" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="difetti_riscontrati" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.difetti_riscontrati)
|
|
||||||
@Html.DisplayFor(model => model.difetti_riscontrati)
|
|
||||||
<span asp-validation-for="difetti_riscontrati" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="lavoro_eseguito" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="lavoro_eseguito" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.lavoro_eseguito)
|
|
||||||
@Html.DisplayFor(model => model.lavoro_eseguito)
|
|
||||||
<span asp-validation-for="lavoro_eseguito" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="esito_intervento" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="esito_intervento" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.esito_intervento)
|
|
||||||
@Html.DisplayFor(model => model.esito_intervento)
|
|
||||||
<span asp-validation-for="esito_intervento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="note_intervento" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="note_intervento" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.note_intervento)
|
|
||||||
@Html.DisplayFor(model => model.note_intervento)
|
|
||||||
<span asp-validation-for="note_intervento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="nuovo_contratto" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="nuovo_contratto" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.nuovo_contratto)
|
|
||||||
@Html.DisplayFor(model => model.nuovo_contratto)
|
|
||||||
<span asp-validation-for="nuovo_contratto" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="ore_lavoro" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="ore_lavoro" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.ore_lavoro)
|
|
||||||
@Html.DisplayFor(model => model.ore_lavoro)
|
|
||||||
<span asp-validation-for="ore_lavoro" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="causale" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="causale" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.causale)
|
|
||||||
@Html.DisplayFor(model => model.causale)
|
|
||||||
<span asp-validation-for="causale" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="materiale" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="materiale" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.materiale)
|
|
||||||
@Html.DisplayFor(model => model.materiale)
|
|
||||||
<span asp-validation-for="materiale" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="diritto_chiamata" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="diritto_chiamata" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.diritto_chiamata)
|
|
||||||
@Html.DisplayFor(model => model.diritto_chiamata)
|
|
||||||
<span asp-validation-for="diritto_chiamata" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="manodopera" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="manodopera" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.manodopera)
|
|
||||||
@Html.DisplayFor(model => model.manodopera)
|
|
||||||
<span asp-validation-for="manodopera" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="spese_viaggio" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="spese_viaggio" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.spese_viaggio)
|
|
||||||
@Html.DisplayFor(model => model.spese_viaggio)
|
|
||||||
<span asp-validation-for="spese_viaggio" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="pagamento" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="pagamento" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.pagamento)
|
|
||||||
@Html.DisplayFor(model => model.pagamento)
|
|
||||||
<span asp-validation-for="pagamento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="anticipo" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="anticipo" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.anticipo)
|
|
||||||
@Html.DisplayFor(model => model.anticipo)
|
|
||||||
<span asp-validation-for="anticipo" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="totale" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="totale" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.totale)
|
|
||||||
@Html.DisplayFor(model => model.totale)
|
|
||||||
<span asp-validation-for="totale" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="note_pagamento" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="note_pagamento" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.note_pagamento)
|
|
||||||
@Html.DisplayFor(model => model.note_pagamento)
|
|
||||||
<span asp-validation-for="note_pagamento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="tipo_intervento" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="tipo_intervento" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.tipo_intervento)
|
|
||||||
@Html.DisplayFor(model => model.tipo_intervento)
|
|
||||||
<span asp-validation-for="tipo_intervento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto2" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto2" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto)
|
|
||||||
@Html.DisplayFor(model => model.rafoto)
|
|
||||||
<span asp-validation-for="rafoto" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto2" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto2" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto2)
|
|
||||||
@Html.DisplayFor(model => model.rafoto2)
|
|
||||||
<span asp-validation-for="rafoto2" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto3" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto3" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto3)
|
|
||||||
@Html.DisplayFor(model => model.rafoto3)
|
|
||||||
<span asp-validation-for="rafoto3" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto4" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto4" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto4)
|
|
||||||
@Html.DisplayFor(model => model.rafoto4)
|
|
||||||
<span asp-validation-for="rafoto4" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto5" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto5" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto5)
|
|
||||||
@Html.DisplayFor(model => model.rafoto5)
|
|
||||||
<span asp-validation-for="rafoto5" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto6" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto6" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto6)
|
|
||||||
@Html.DisplayFor(model => model.rafoto6)
|
|
||||||
<span asp-validation-for="rafoto6" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto7" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto7" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto7)
|
|
||||||
@Html.DisplayFor(model => model.rafoto7)
|
|
||||||
<span asp-validation-for="rafoto7" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto8" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto8" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto8)
|
|
||||||
@Html.DisplayFor(model => model.rafoto8)
|
|
||||||
<span asp-validation-for="rafoto8" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto9" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto9" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto9)
|
|
||||||
@Html.DisplayFor(model => model.rafoto9)
|
|
||||||
<span asp-validation-for="rafoto9" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto10" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto10" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto10)
|
|
||||||
@Html.DisplayFor(model => model.rafoto10)
|
|
||||||
<span asp-validation-for="rafoto10" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Salva" class="btn btn-primary" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/css/select2.min.css" />
|
|
||||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
|
|
||||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/js/select2.min.js"></script>
|
|
||||||
<!-- Latest compiled and minified CSS --> *@
|
|
||||||
@* <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/css/bootstrap-select.min.css"> *@
|
|
||||||
<!-- Latest compiled and minified JavaScript -->
|
|
||||||
@* <script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/bootstrap-select.min.js"></script> *@
|
|
||||||
<!-- (Optional) Latest compiled and minified JavaScript translation files -->
|
|
||||||
@* <script src="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.14/dist/js/i18n/defaults-*.min.js"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(function () {
|
|
||||||
$("#codice_chiusura_1").select2();
|
|
||||||
$("#codice_chiusura_2").select2();
|
|
||||||
$("#codice_chiusura_3").select2();
|
|
||||||
$("#codice_chiusura_4").select2();
|
|
||||||
$("#codice_chiusura_5").select2();
|
|
||||||
$("#codice_chiusura_6").select2();
|
|
||||||
$("#codice_chiusura_7").select2();
|
|
||||||
$("#codice_chiusura_8").select2();
|
|
||||||
$("#codice_chiusura_9").select2();
|
|
||||||
$("#codice_chiusura_10").select2();
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
} *@
|
|
||||||
@ -205,388 +205,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<@*h1>Elimina rapportino</h1>
|
|
||||||
|
|
||||||
<h3>Vuoi eliminare il rapportino?</h3>
|
|
||||||
<div>
|
|
||||||
<h4>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">
|
|
||||||
@Html.DisplayNameFor(model => model.rafoto)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.rafoto)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.rafoto2)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.rafoto2)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.rafoto3)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.rafoto3)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.rafoto4)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.rafoto4)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.rafoto5)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.rafoto5)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.rafoto6)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.rafoto6)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.rafoto7)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.rafoto7)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.rafoto8)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.rafoto8)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.rafoto9)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.rafoto9)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.rafoto10)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.rafoto10)
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<form asp-action="DeleteConfirmed">
|
|
||||||
<input type="submit" value="Elimina" class="btn btn-danger" /> |
|
|
||||||
<input type="hidden" id="id" value=@Html.DisplayFor(model => model.seriale_rapportino) name="id" />
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</form>
|
|
||||||
</div>*@
|
|
||||||
@ -427,425 +427,4 @@
|
|||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Modifica rapportino</h1>
|
|
||||||
|
|
||||||
<h4 hidden>Rapp_New</h4>
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Edit">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="seriale_rapportino" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="seriale_rapportino" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.seriale_rapportino)
|
|
||||||
@Html.DisplayFor(model => model.seriale_rapportino)
|
|
||||||
<span asp-validation-for="seriale_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="tipo_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="tipo_rapportino" class="form-control" />
|
|
||||||
<span asp-validation-for="tipo_rapportino" class="text-danger"></span>
|
|
||||||
</div> *@
|
|
||||||
@* <div class="form-group">
|
|
||||||
<label asp-for="azienda_impianto" class="control-label"></label>
|
|
||||||
<input asp-for="azienda_impianto" class="form-control" />
|
|
||||||
<span asp-validation-for="azienda_impianto" class="text-danger"></span>
|
|
||||||
</div> *@
|
|
||||||
@* @Html.HiddenFor(x => x.azienda_impianto)
|
|
||||||
@Html.DisplayFor(model => model.azienda_impianto)
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_impianto" class="control-label"></label>
|
|
||||||
<input asp-for="codice_impianto" class="form-control" />
|
|
||||||
<span asp-validation-for="codice_impianto" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="azienda_chiamata" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="azienda_chiamata" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.azienda_chiamata)
|
|
||||||
@Html.DisplayFor(model => model.azienda_chiamata)
|
|
||||||
<span asp-validation-for="azienda_chiamata" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="seriale_chiamata" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="seriale_chiamata" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.seriale_chiamata)
|
|
||||||
@Html.DisplayFor(model => model.seriale_chiamata)
|
|
||||||
<span asp-validation-for="seriale_chiamata" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="seriale_commessa" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="seriale_commessa" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.seriale_commessa)
|
|
||||||
@Html.DisplayFor(model => model.seriale_commessa)
|
|
||||||
<span asp-validation-for="seriale_commessa" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="data_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="data_rapportino" class="form-control" /> *@
|
|
||||||
@*@Html.HiddenFor(x => x.data_rapportino)*@
|
|
||||||
@*@Html.DisplayFor(model => model.data_rapportino)*@
|
|
||||||
@* <span asp-validation-for="data_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ora_ini_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="ora_ini_rapportino" class="form-control" /> *@
|
|
||||||
@*@Html.HiddenFor(x => x.ora_ini_rapportino)*@
|
|
||||||
@*@Html.DisplayFor(model => model.ora_ini_rapportino)*@
|
|
||||||
@* <span asp-validation-for="ora_ini_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="min_ini_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="min_ini_rapportino" class="form-control" /> *@
|
|
||||||
@*@Html.HiddenFor(x => x.min_ini_rapportino)*@
|
|
||||||
@*@Html.DisplayFor(model => model.min_ini_rapportino)*@
|
|
||||||
@* <span asp-validation-for="min_ini_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ora_fin_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="ora_fin_rapportino" class="form-control" /> *@
|
|
||||||
@*@Html.HiddenFor(x => x.ora_fin_rapportino)*@
|
|
||||||
@*@Html.DisplayFor(model => model.ora_fin_rapportino)*@
|
|
||||||
@* <span asp-validation-for="ora_fin_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="min_fin_rapportino" class="control-label"></label>
|
|
||||||
<input asp-for="min_fin_rapportino" class="form-control" /> *@
|
|
||||||
@*@Html.HiddenFor(x => x.min_fin_rapportino)*@
|
|
||||||
@*@Html.DisplayFor(model => model.min_fin_rapportino)*@
|
|
||||||
@* <span asp-validation-for="min_fin_rapportino" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_1" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="codice_chiusura_1" class="form-control" />*@
|
|
||||||
@* @Html.DropDownListFor(x => x.codice_chiusura_1,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_1)*@
|
|
||||||
@*@Html.DisplayFor(model => model.codice_chiusura_1)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_1" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_2" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="codice_chiusura_2" class="form-control" />*@
|
|
||||||
@* @Html.DropDownListFor(x => x.codice_chiusura_2,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_2)*@
|
|
||||||
@*@Html.DisplayFor(model => model.codice_chiusura_2)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_2" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_3" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="codice_chiusura_3" class="form-control" />*@
|
|
||||||
@* @Html.DropDownListFor(x => x.codice_chiusura_3,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_3)*@
|
|
||||||
@*@Html.DisplayFor(model => model.codice_chiusura_3)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_3" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_4" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="codice_chiusura_4" class="form-control" />*@
|
|
||||||
@* @Html.DropDownListFor(x => x.codice_chiusura_4,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_4)*@
|
|
||||||
@*@Html.DisplayFor(model => model.codice_chiusura_4)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_4" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_5" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="codice_chiusura_5" class="form-control" />*@
|
|
||||||
@* @Html.DropDownListFor(x => x.codice_chiusura_5,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_5)*@
|
|
||||||
@*@Html.DisplayFor(model => model.codice_chiusura_5)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_5" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_6" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="codice_chiusura_6" class="form-control" />*@
|
|
||||||
@* @Html.DropDownListFor(x => x.codice_chiusura_6,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_6)*@
|
|
||||||
@*@Html.DisplayFor(model => model.codice_chiusura_6)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_6" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_7" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="codice_chiusura_7" class="form-control" />*@
|
|
||||||
@* @Html.DropDownListFor(x => x.codice_chiusura_7,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_7)*@
|
|
||||||
@*@Html.DisplayFor(model => model.codice_chiusura_7)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_7" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_8" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="codice_chiusura_8" class="form-control" />*@
|
|
||||||
@* @Html.DropDownListFor(x => x.codice_chiusura_8,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_8)*@
|
|
||||||
@*@Html.DisplayFor(model => model.codice_chiusura_8)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_8" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_9" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="codice_chiusura_9" class="form-control" />*@
|
|
||||||
@* @Html.DropDownListFor(x => x.codice_chiusura_9,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_9)*@
|
|
||||||
@*@Html.DisplayFor(model => model.codice_chiusura_9)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_9" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_chiusura_10" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="codice_chiusura_10" class="form-control" />*@
|
|
||||||
@* @Html.DropDownListFor(x => x.codice_chiusura_10,(IEnumerable<SelectListItem>)ViewBag.Chiusure,new {@class = "form-control"}) *@
|
|
||||||
@*@Html.HiddenFor(x => x.codice_chiusura_10)*@
|
|
||||||
@*@Html.DisplayFor(model => model.codice_chiusura_10)*@
|
|
||||||
@* <span asp-validation-for="codice_chiusura_10" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="descrizione_intervento" class="control-label"></label> *@
|
|
||||||
@*<input asp-for="descrizione_intervento" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.descrizione_intervento)
|
|
||||||
@Html.DisplayFor(model => model.descrizione_intervento)
|
|
||||||
<span asp-validation-for="descrizione_intervento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="stato_finale" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="stato_finale" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.descrizione_intervento)
|
|
||||||
@Html.DisplayFor(model => model.descrizione_intervento)
|
|
||||||
<span asp-validation-for="stato_finale" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="generato" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="generato" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.generato)
|
|
||||||
@Html.DisplayFor(model => model.generato)
|
|
||||||
<span asp-validation-for="generato" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="azienda_tecnico" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="azienda_tecnico" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.azienda_tecnico)
|
|
||||||
@Html.DisplayFor(model => model.azienda_tecnico)
|
|
||||||
<span asp-validation-for="azienda_tecnico" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_tecnico" class="control-label"></label>
|
|
||||||
<input asp-for="codice_tecnico" class="form-control" />
|
|
||||||
<span asp-validation-for="codice_tecnico" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rifiutata" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rifiutata" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rifiutata)
|
|
||||||
@Html.DisplayFor(model => model.rifiutata)
|
|
||||||
<span asp-validation-for="rifiutata" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="firma" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="firma" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.firma)
|
|
||||||
@Html.DisplayFor(model => model.firma)
|
|
||||||
<span asp-validation-for="firma" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="incarico" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="incarico" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.incarico)
|
|
||||||
@Html.DisplayFor(model => model.incarico)
|
|
||||||
<span asp-validation-for="incarico" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="data_validita" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="data_validita" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.data_validita)
|
|
||||||
@Html.DisplayFor(model => model.data_validita)
|
|
||||||
<span asp-validation-for="data_validita" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="immagine" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="immagine" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.immagine)
|
|
||||||
@Html.DisplayFor(model => model.immagine)
|
|
||||||
<span asp-validation-for="immagine" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="ser_buono" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="ser_buono" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.ser_buono)
|
|
||||||
@Html.DisplayFor(model => model.ser_buono)
|
|
||||||
<span asp-validation-for="ser_buono" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="data_effettiva" class="control-label"></label>
|
|
||||||
<input asp-for="data_effettiva" class="form-control" />
|
|
||||||
<span asp-validation-for="data_effettiva" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="codice_intervento" class="control-label"></label>
|
|
||||||
<input asp-for="codice_intervento" class="form-control" />
|
|
||||||
<span asp-validation-for="codice_intervento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="difetti_riscontrati" class="control-label"></label>
|
|
||||||
<input asp-for="difetti_riscontrati" class="form-control" />
|
|
||||||
<span asp-validation-for="difetti_riscontrati" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="lavoro_eseguito" class="control-label"></label>
|
|
||||||
<input asp-for="lavoro_eseguito" class="form-control" />
|
|
||||||
<span asp-validation-for="lavoro_eseguito" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="esito_intervento" class="control-label"></label>
|
|
||||||
<input asp-for="esito_intervento" class="form-control" />
|
|
||||||
<span asp-validation-for="esito_intervento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="note_intervento" class="control-label"></label>
|
|
||||||
<input asp-for="note_intervento" class="form-control" />
|
|
||||||
<span asp-validation-for="note_intervento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="nuovo_contratto" class="control-label"></label>
|
|
||||||
<input asp-for="nuovo_contratto" class="form-control" />
|
|
||||||
<span asp-validation-for="nuovo_contratto" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="ore_lavoro" class="control-label"></label>
|
|
||||||
<input asp-for="ore_lavoro" class="form-control" />
|
|
||||||
<span asp-validation-for="ore_lavoro" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="causale" class="control-label"></label>
|
|
||||||
<input asp-for="causale" class="form-control" />
|
|
||||||
<span asp-validation-for="causale" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="materiale" class="control-label"></label>
|
|
||||||
<input asp-for="materiale" class="form-control" />
|
|
||||||
<span asp-validation-for="materiale" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="diritto_chiamata" class="control-label"></label>
|
|
||||||
<input asp-for="diritto_chiamata" class="form-control" />
|
|
||||||
<span asp-validation-for="diritto_chiamata" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="manodopera" class="control-label"></label>
|
|
||||||
<input asp-for="manodopera" class="form-control" />
|
|
||||||
<span asp-validation-for="manodopera" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="spese_viaggio" class="control-label"></label>
|
|
||||||
<input asp-for="spese_viaggio" class="form-control" />
|
|
||||||
<span asp-validation-for="spese_viaggio" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="pagamento" class="control-label"></label>
|
|
||||||
<input asp-for="pagamento" class="form-control" />
|
|
||||||
<span asp-validation-for="pagamento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="anticipo" class="control-label"></label>
|
|
||||||
<input asp-for="anticipo" class="form-control" />
|
|
||||||
<span asp-validation-for="anticipo" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="totale" class="control-label"></label>
|
|
||||||
<input asp-for="totale" class="form-control" />
|
|
||||||
<span asp-validation-for="totale" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="note_pagamento" class="control-label"></label>
|
|
||||||
<input asp-for="note_pagamento" class="form-control" />
|
|
||||||
<span asp-validation-for="note_pagamento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="tipo_intervento" class="control-label"></label>
|
|
||||||
<input asp-for="tipo_intervento" class="form-control" />
|
|
||||||
<span asp-validation-for="tipo_intervento" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto)
|
|
||||||
@Html.DisplayFor(model => model.rafoto)
|
|
||||||
<span asp-validation-for="rafoto" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto2" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto2" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto2)
|
|
||||||
@Html.DisplayFor(model => model.rafoto2)
|
|
||||||
<span asp-validation-for="rafoto2" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto3" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto3" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto3)
|
|
||||||
@Html.DisplayFor(model => model.rafoto3)
|
|
||||||
<span asp-validation-for="rafoto3" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto4" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto4" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto4)
|
|
||||||
@Html.DisplayFor(model => model.rafoto4)
|
|
||||||
<span asp-validation-for="rafoto4" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto5" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto5" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto5)
|
|
||||||
@Html.DisplayFor(model => model.rafoto5)
|
|
||||||
<span asp-validation-for="rafoto5" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group" *@>
|
|
||||||
@*<label asp-for="rafoto6" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto6" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto6)
|
|
||||||
@Html.DisplayFor(model => model.rafoto6)
|
|
||||||
<span asp-validation-for="rafoto6" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto7" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto7" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto7)
|
|
||||||
@Html.DisplayFor(model => model.rafoto7)
|
|
||||||
<span asp-validation-for="rafoto7" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto8" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto8" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto8)
|
|
||||||
@Html.DisplayFor(model => model.rafoto8)
|
|
||||||
<span asp-validation-for="rafoto8" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto9" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto9" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto9)
|
|
||||||
@Html.DisplayFor(model => model.rafoto9)
|
|
||||||
<span asp-validation-for="rafoto9" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group"> *@
|
|
||||||
@*<label asp-for="rafoto10" class="control-label"></label>*@
|
|
||||||
@*<input asp-for="rafoto10" class="form-control" />*@
|
|
||||||
@* @Html.HiddenFor(x => x.rafoto10)
|
|
||||||
@Html.DisplayFor(model => model.rafoto10)
|
|
||||||
<span asp-validation-for="rafoto10" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Salva" class="btn btn-primary" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
}
|
|
||||||
*@
|
|
||||||
@ -254,478 +254,4 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Rapportini</h1>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a asp-action="Create">Crea nuovo rapportino</a>
|
|
||||||
</p>
|
|
||||||
@using (Html.BeginForm())
|
|
||||||
{
|
|
||||||
<p>
|
|
||||||
Cerca per seriale: @Html.TextBox("SearchString")
|
|
||||||
<input type="submit" value="Cerca" />
|
|
||||||
</p>
|
|
||||||
}
|
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.seriale_rapportino) *@
|
|
||||||
@* Seriale rapportino
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.tipo_rapportino) *@
|
|
||||||
@* Tipo rapportino
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.azienda_impianto) *@
|
|
||||||
@* Azienda
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_impianto) *@
|
|
||||||
@* Codice impianto
|
|
||||||
</th>
|
|
||||||
<th *@>
|
|
||||||
@* @Html.DisplayNameFor(model => model.azienda_chiamata) *@
|
|
||||||
@* Az. chiamata
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.seriale_chiamata) *@
|
|
||||||
@* Seriale chiamata
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.seriale_commessa) *@
|
|
||||||
@* Seriale commessa
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.data_rapportino) *@
|
|
||||||
@* Data rapportino
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.ora_ini_rapportino) *@
|
|
||||||
@* Ora inizio
|
|
||||||
</th>
|
|
||||||
<th hidden >*@
|
|
||||||
@* @Html.DisplayNameFor(model => model.min_ini_rapportino) *@
|
|
||||||
@* Minuto inzio
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.ora_fin_rapportino) *@
|
|
||||||
@* Ora fine
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.min_fin_rapportino) *@
|
|
||||||
@* Minuto fine
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_chiusura_1) *@
|
|
||||||
@* Codice chiusura 1
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_chiusura_2) *@
|
|
||||||
@* Codice chiusura 2
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_chiusura_3) *@
|
|
||||||
@* Codice chiusura 3
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_chiusura_4) *@
|
|
||||||
@* Codice chiusura 4
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_chiusura_5) *@
|
|
||||||
@* Codice chiusura 5
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_chiusura_6) *@
|
|
||||||
@* Codice chiusura 6
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_chiusura_7) *@
|
|
||||||
@* Codice chiusura 7
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_chiusura_8) *@
|
|
||||||
@* Codice chiusura 8
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_chiusura_9) *@
|
|
||||||
@* Codice chiusura 9
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_chiusura_10) *@
|
|
||||||
@* Codice chiusura 10
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.descrizione_intervento) *@
|
|
||||||
@* desc. Intervento
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.stato_finale) *@
|
|
||||||
@* Stato
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.generato) *@
|
|
||||||
@* Generato
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.azienda_tecnico) *@
|
|
||||||
@* Az. Tecnico
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_tecnico) *@
|
|
||||||
@* Cod. Tecnico
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.rifiutata) *@
|
|
||||||
@* Rifiutata
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.firma) *@
|
|
||||||
@* Firma
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.incarico) *@
|
|
||||||
@* Incarico
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.data_validita) *@
|
|
||||||
@* Data validità
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.immagine) *@
|
|
||||||
@* Immagine
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.ser_buono) *@
|
|
||||||
@* Seriale buono
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.data_effettiva) *@
|
|
||||||
@* Data effettiva
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.codice_intervento) *@
|
|
||||||
@* Codice intervento
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.difetti_riscontrati) *@
|
|
||||||
@* Difetti
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.lavoro_eseguito) *@
|
|
||||||
@* Lavoro
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.esito_intervento) *@
|
|
||||||
@* Esito
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.note_intervento) *@
|
|
||||||
@* Note
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.nuovo_contratto) *@
|
|
||||||
@* Nuovo contratto
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.ore_lavoro) *@
|
|
||||||
@* Ore lavoro
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.causale) *@
|
|
||||||
@* Causale
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.materiale) *@
|
|
||||||
@* Materiale
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.diritto_chiamata) *@
|
|
||||||
@* Diritto chiamata
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.manodopera) *@
|
|
||||||
@* Manodopera
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.spese_viaggio) *@
|
|
||||||
@* Spese viaggio
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.pagamento) *@
|
|
||||||
@* Pagamento
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.anticipo) *@
|
|
||||||
@* Anticipo
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.totale) *@
|
|
||||||
@* Totale
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.note_pagamento) *@
|
|
||||||
@* Note pagamento
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.tipo_intervento) *@
|
|
||||||
@* Tipo intervento
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.rafoto) *@
|
|
||||||
@* Foto 1
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.rafoto2) *@
|
|
||||||
@* Foto 2
|
|
||||||
</th> *@
|
|
||||||
@* <th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.rafoto3) *@
|
|
||||||
@* Foto 3
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.rafoto4) *@
|
|
||||||
@* Foto 4
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.rafoto5) *@
|
|
||||||
@* Foto 5
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.rafoto6) *@
|
|
||||||
@* Foto 6
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.rafoto7) *@
|
|
||||||
@* Foto 7
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.rafoto8) *@
|
|
||||||
@* Foto 8
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.rafoto9) *@
|
|
||||||
@* Foto 9
|
|
||||||
</th>
|
|
||||||
<th hidden> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.rafoto10) *@
|
|
||||||
@* Foto 10
|
|
||||||
</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.tipo_rapportino)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.azienda_impianto)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_impianto)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.azienda_chiamata)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.seriale_chiamata)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.seriale_commessa)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.data_rapportino)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.ora_ini_rapportino)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.min_ini_rapportino)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.ora_fin_rapportino)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.min_fin_rapportino)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_chiusura_1)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_chiusura_2)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_chiusura_3)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_chiusura_4)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_chiusura_5)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_chiusura_6)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_chiusura_7)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_chiusura_8)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_chiusura_9)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_chiusura_10)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.descrizione_intervento)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.stato_finale)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.generato)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.azienda_tecnico)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_tecnico)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.rifiutata)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.firma)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.incarico)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.data_validita)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.immagine)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.ser_buono)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.data_effettiva)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.codice_intervento)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.difetti_riscontrati)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.lavoro_eseguito)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.esito_intervento)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.note_intervento)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.nuovo_contratto)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.ore_lavoro)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.causale)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.materiale)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.diritto_chiamata)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.manodopera)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.spese_viaggio)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.pagamento)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.anticipo)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.totale)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.note_pagamento)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.tipo_intervento)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.rafoto)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.rafoto2)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.rafoto3)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.rafoto4)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.rafoto5)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.rafoto6)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.rafoto7)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.rafoto8)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.rafoto9)
|
|
||||||
</td>
|
|
||||||
<td hidden>
|
|
||||||
@Html.DisplayFor(modelItem => item.rafoto10)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.ActionLink("Modifica", "Edit", new { id=item.seriale_rapportino }) |
|
|
||||||
@Html.ActionLink("Dettaglio", "Details", new { id=item.seriale_rapportino }) |
|
|
||||||
@Html.ActionLink("Elimina", "Delete", new { id=item.seriale_rapportino })
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<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> *@
|
|
||||||
@ -68,104 +68,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Elimina</h1>
|
|
||||||
|
|
||||||
<h3>Vuoi eliminare l'elemento?</h3>
|
|
||||||
<div>
|
|
||||||
<h4>Registrazione</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="row">
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.id)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.id)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.nome)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.nome)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.cognome)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.cognome)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.telefono)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.telefono)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.cellulare)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.cellulare)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.email)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.email)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.emailConf)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.emailConf)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.azienda)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.azienda)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.username)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.username)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.passwd)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.passwd)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.citta)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.citta)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.provincia)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.provincia)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.nazione)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.nazione)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.attivato)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.attivato)
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<form asp-action="DeleteConfirmed">
|
|
||||||
<input type="submit" value="Elimina" class="btn btn-danger" /> |
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</form>
|
|
||||||
</div> *@
|
|
||||||
@ -62,105 +62,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@*
|
|
||||||
<h1>Dettaglio</h1>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<h4 hidden>Registrazione</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="row">
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.id)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.id)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.nome)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.nome)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.cognome)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.cognome)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.telefono)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.telefono)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.cellulare)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.cellulare)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.email)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.email)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.emailConf)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.emailConf)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.azienda)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.azienda)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.username)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.username)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.passwd)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.passwd)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.citta)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.citta)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.provincia)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.provincia)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.nazione)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.nazione)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.attivato)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.attivato)
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
<div> *@
|
|
||||||
@* @Html.ActionLink("Modifica", "Edit", new { /* id = Model.PrimaryKey */ }) | *@
|
|
||||||
@* <a asp-action="Index">Torna indietro</a>
|
|
||||||
</div>
|
|
||||||
*@
|
|
||||||
@ -92,153 +92,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@* <div>
|
|
||||||
<h4>Registrazione</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="row">
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.id)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.id)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.nome)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.nome)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.cognome)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.cognome)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.telefono)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.telefono)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.cellulare)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.cellulare)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.email)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.email)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.emailConf)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.emailConf)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.azienda)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.azienda)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.username)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.username)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.passwd)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.passwd)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.citta)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.citta)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.provincia)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.provincia)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.nazione)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.nazione)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.attivato)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.attivato)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.token)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.token)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.privacy1)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.privacy1)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.privacy2)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.privacy2)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.privacy3)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.privacy3)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.privacy4)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.privacy4)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ModuloTimesheet)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ModuloTimesheet)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ModuloRapportini)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ModuloRapportini)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.RagioneSociale)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.RagioneSociale)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.numtec)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.numtec)
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
@Html.ActionLink("Edit", "Edit", new { /* id = Model.PrimaryKey */ }) |
|
|
||||||
<a asp-action="Index">Back to List</a>
|
|
||||||
</div> *@
|
|
||||||
@ -115,97 +115,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@* <h1>Modifica</h1>
|
|
||||||
|
|
||||||
<h4 hidden>Registrazione</h4>
|
|
||||||
<hr />
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Edit">
|
|
||||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="id" class="control-label"></label>
|
|
||||||
<input asp-for="id" class="form-control" />
|
|
||||||
<span asp-validation-for="id" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="nome" class="control-label"></label>
|
|
||||||
<input asp-for="nome" class="form-control" />
|
|
||||||
<span asp-validation-for="nome" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="cognome" class="control-label"></label>
|
|
||||||
<input asp-for="cognome" class="form-control" />
|
|
||||||
<span asp-validation-for="cognome" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="telefono" class="control-label"></label>
|
|
||||||
<input asp-for="telefono" class="form-control" />
|
|
||||||
<span asp-validation-for="telefono" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="cellulare" class="control-label"></label>
|
|
||||||
<input asp-for="cellulare" class="form-control" />
|
|
||||||
<span asp-validation-for="cellulare" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="email" class="control-label"></label>
|
|
||||||
<input asp-for="email" class="form-control" />
|
|
||||||
<span asp-validation-for="email" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="emailConf" class="control-label"></label>
|
|
||||||
<input asp-for="emailConf" class="form-control" />
|
|
||||||
<span asp-validation-for="emailConf" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="azienda" class="control-label"></label>
|
|
||||||
<input asp-for="azienda" class="form-control" />
|
|
||||||
<span asp-validation-for="azienda" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="username" class="control-label"></label>
|
|
||||||
<input asp-for="username" class="form-control" />
|
|
||||||
<span asp-validation-for="username" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="passwd" class="control-label"></label>
|
|
||||||
<input asp-for="passwd" class="form-control" />
|
|
||||||
<span asp-validation-for="passwd" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="citta" class="control-label"></label>
|
|
||||||
<input asp-for="citta" class="form-control" />
|
|
||||||
<span asp-validation-for="citta" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="provincia" class="control-label"></label>
|
|
||||||
<input asp-for="provincia" class="form-control" />
|
|
||||||
<span asp-validation-for="provincia" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="nazione" class="control-label"></label>
|
|
||||||
<input asp-for="nazione" class="form-control" />
|
|
||||||
<span asp-validation-for="nazione" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<label asp-for="attivato" class="control-label"></label>
|
|
||||||
<input asp-for="attivato" class="form-control" />
|
|
||||||
<span asp-validation-for="attivato" class="text-danger"></span>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="submit" value="Salva" class="btn btn-primary" />
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index">Torna indietro</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@section Scripts {
|
|
||||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
||||||
}
|
|
||||||
*@
|
|
||||||
@ -113,127 +113,4 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@* <h1>Index</h1>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a asp-action="Create">Nuovo</a>
|
|
||||||
</p>
|
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.id) *@
|
|
||||||
@* ID
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.nome) *@
|
|
||||||
@* NOME
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.cognome) *@
|
|
||||||
@* COGNOME
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.telefono) *@
|
|
||||||
@* TELEFONO
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.cellulare) *@
|
|
||||||
@* CELLULARE
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.email) *@
|
|
||||||
@* EMAIL
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.emailConf) *@
|
|
||||||
@* EMAIL CONFERMA
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.azienda) *@
|
|
||||||
@* AZIENDA
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.username) *@
|
|
||||||
@* USERNAME
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.passwd) *@
|
|
||||||
@* PASSWORD
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.citta) *@
|
|
||||||
@* CITTA'
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.provincia) *@
|
|
||||||
@* PROVINCIA
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.nazione) *@
|
|
||||||
@* NAZIONE
|
|
||||||
</th>
|
|
||||||
<th> *@
|
|
||||||
@* @Html.DisplayNameFor(model => model.attivato) *@
|
|
||||||
@* ATTIVATO
|
|
||||||
</th>
|
|
||||||
<th></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@foreach (var item in Model) {
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.id)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.nome)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.cognome)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.telefono)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.cellulare)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.email)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.emailConf)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.azienda)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.username)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.passwd)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.citta)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.provincia)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.nazione)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.attivato)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.ActionLink("Modifica", "Edit", new { id=item.id }) |
|
|
||||||
@Html.ActionLink("Dettaglio", "Details", new { id=item.id }) |
|
|
||||||
@Html.ActionLink("Elimina", "Delete", new { id=item.id })
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
}
|
|
||||||
</tbody>
|
|
||||||
</table> *@
|
|
||||||
Loading…
Reference in New Issue
Block a user