57 lines
2.3 KiB
Plaintext
57 lines
2.3 KiB
Plaintext
@model VirtualTask.Models.MagazziniVT
|
|
|
|
@{
|
|
ViewData["Title"] = "Modifica magazzino";
|
|
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
|
}
|
|
|
|
|
|
<div class="agy-project-wrapper agy-project-page-wrapper">
|
|
<div class="container">
|
|
|
|
<form asp-action="Edit">
|
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
<div class="table-responsive">
|
|
<table class="table table-bordered table-striped table-hover align-middle">
|
|
<thead class="table-primary">
|
|
<tr>
|
|
<th scope="col"> </th>
|
|
<th scope="col"> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="fw-bold fs-5"><span class="badge bg-secondary">@Html.DisplayNameFor(model => model.Mgcodmag)</span></td>
|
|
<td>
|
|
<input asp-for="Mgcodmag" class="agy-form-field require" placeholder="Riferimento" />
|
|
<span asp-validation-for="Mgcodmag" class="text-danger"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="fw-bold fs-5"><span class="badge bg-secondary">@Html.DisplayNameFor(model => model.Mgdesmag)</span></td>
|
|
<td>
|
|
<input asp-for="Mgdesmag" class="agy-form-field require" placeholder="Telefono" />
|
|
<span asp-validation-for="Mgdesmag" class="text-danger"></span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
@Html.HiddenFor(x => x.Azienda)
|
|
@Html.HiddenFor(model => model.DataObso)
|
|
|
|
<div class="form-group">
|
|
<input type="submit" value="Salva" class="agy-btn submitForm" />
|
|
<a asp-action="Index" value="Torna alla lista" class="agy-btn submitForm">Torna alla lista</a>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
@section Scripts {
|
|
@{
|
|
await Html.RenderPartialAsync("_ValidationScriptsPartial");
|
|
}
|
|
}
|
|
</div>
|
|
</div>
|