VirtualTask/Views/Articoli/Delete.cshtml

121 lines
5.7 KiB
Plaintext

@model VirtualTask.Models.Articoli
@{
ViewData["Title"] = "Elimina";
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
}
<div class="agy-project-wrapper agy-project-page-wrapper">
<div class="container">
<p class="text-center text-muted mb-4 fs-5">
Sei sicuro di voler eliminare questo articolo?<br />
<strong>Questa operazione non può essere annullata.</strong>
</p>
<div class="table-responsive">
<table class="table table-bordered table-striped table-hover align-middle">
<thead class="table-primary">
<tr>
<th scope="col">&nbsp;</th>
<th scope="col">&nbsp;</th>
</tr>
</thead>
<tbody>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.SlCodice)</span>
</td>
<td>@Html.DisplayFor(model => model.SlCodice)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.ArDesArt)</span>
</td>
<td>@Html.DisplayFor(model => model.ArDesArt)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.SlCodMag)</span>
</td>
<td>@Html.DisplayFor(model => model.SlCodMag)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.LiPrezzo)</span>
</td>
<td>@Html.DisplayFor(model => model.LiPrezzo)</td>
</tr>
@Html.HiddenFor(x => x.Azienda)
@Html.HiddenFor(model => model.AmCodice)
@Html.HiddenFor(model => model.LoCodice)
@Html.HiddenFor(model => model.LiCodLis)
@Html.HiddenFor(model => model.LiCodArt)
@Html.HiddenFor(model => model.LiDatAtt)
@Html.HiddenFor(model => model.LiQuanti)
@Html.HiddenFor(model => model.LiScont1)
@Html.HiddenFor(model => model.LiScont2)
@Html.HiddenFor(model => model.LiScont3)
@Html.HiddenFor(model => model.LiScont4)
@Html.HiddenFor(model => model.Gest_Matr)
@Html.HiddenFor(model => model.Gest_Lotti)
@Html.HiddenFor(model => model.Desc_sup)
</tbody>
</table>
</div>
<form asp-action="DeleteConfirmed">
<input type="submit" value="Elimina" class="agy-btn submitForm" />
<input type="hidden" id="id" value=@Html.DisplayFor(model => model.SlCodice) name="id" />
<a asp-action="Index" value="Torna alla lista" class="agy-btn submitForm">Torna alla lista</a>
</form>
</div>
</div>
@* <div class="agy-project-wrapper agy-project-page-wrapper">
<div class="container">
<div class="row">
<div class="row">
<div class="col-md-4">
<div class="col-md-10">
<b>@Html.DisplayNameFor(model => model.SlCodice)</b>&nbsp;&nbsp;&nbsp;@Html.DisplayFor(model => model.SlCodice)
</div>
<div class="col-md-10">
<b>@Html.DisplayNameFor(model => model.ArDesArt)</b>&nbsp;&nbsp;&nbsp;@Html.DisplayFor(model => model.ArDesArt)
</div>
<div class="col-md-10">
<b>@Html.DisplayNameFor(model => model.SlCodMag)</b>&nbsp;&nbsp;&nbsp;@Html.DisplayFor(model => model.SlCodMag)
</div>
<div class="col-md-10">
<b>@Html.DisplayNameFor(model => model.LiPrezzo)</b>&nbsp;&nbsp;&nbsp;@Html.DisplayFor(model => model.LiPrezzo)
</div>
@Html.HiddenFor(x => x.Azienda)
@Html.HiddenFor(model => model.AmCodice)
@Html.HiddenFor(model => model.LoCodice)
@Html.HiddenFor(model => model.LiCodLis)
@Html.HiddenFor(model => model.LiCodArt)
@Html.HiddenFor(model => model.LiDatAtt)
@Html.HiddenFor(model => model.LiQuanti)
@Html.HiddenFor(model => model.LiScont1)
@Html.HiddenFor(model => model.LiScont2)
@Html.HiddenFor(model => model.LiScont3)
@Html.HiddenFor(model => model.LiScont4)
@Html.HiddenFor(model => model.Gest_Matr)
@Html.HiddenFor(model => model.Gest_Lotti)
@Html.HiddenFor(model => model.Desc_sup)
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-12">&nbsp;</div>
<form asp-action="DeleteConfirmed">
<div class="form-group">
<input type="submit" value="Elimina" class="agy-btn submitForm" />
<input type="hidden" id="id" value=@Html.DisplayFor(model => model.SlCodice) name="id" />
<a asp-action="Index" value="Torna alla lista" class="agy-btn submitForm">Torna alla lista</a>
</div>
</form>
</div>
</div>
</div>
</div> *@