167 lines
8.4 KiB
Plaintext
167 lines
8.4 KiB
Plaintext
@model VirtualTask.Models.Articoli
|
|
|
|
@{
|
|
ViewData["Title"] = "Modifica articolo";
|
|
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(m => m.SlCodice)</span></td>
|
|
<td>
|
|
<input asp-for="SlCodice" class="agy-form-field require" />
|
|
<span asp-validation-for="SlCodice" class="text-danger"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="fw-bold fs-5"><span class="badge bg-secondary">@Html.DisplayNameFor(m => m.ArDesArt)</span></td>
|
|
<td>
|
|
<input asp-for="ArDesArt" class="agy-form-field require" />
|
|
<span asp-validation-for="ArDesArt" class="text-danger"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="fw-bold fs-5"><span class="badge bg-secondary">@Html.DisplayNameFor(m => m.SlCodMag)</span></td>
|
|
<td>
|
|
@Html.DropDownListFor(x => x.SlCodMag, (IEnumerable<SelectListItem>)ViewBag.Magazzini, new { @class = "agy-form-field require" })
|
|
<span asp-validation-for="SlCodMag" class="text-danger"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="fw-bold fs-5"><span class="badge bg-secondary">@Html.DisplayNameFor(m => m.SlQtAper)</span></td>
|
|
<td>
|
|
<input asp-for="SlQtAper" class="agy-form-field require" />
|
|
<span asp-validation-for="SlQtAper" class="text-danger"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="fw-bold fs-5"><span class="badge bg-secondary">@Html.DisplayNameFor(m => m.LiPrezzo)</span></td>
|
|
<td>
|
|
<input asp-for="LiPrezzo_input" class="agy-form-field require" />
|
|
<span asp-validation-for="LiPrezzo" class="text-danger"></span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<input type="submit" value="Salva" class="agy-btn submitForm" />
|
|
<a asp-action="Index" class="agy-btn submitForm">Torna alla lista</a>
|
|
</div>
|
|
|
|
@* Campi nascosti *@
|
|
@Html.HiddenFor(x => x.Azienda)
|
|
@Html.HiddenFor(x => x.AmCodice)
|
|
@Html.HiddenFor(x => x.LoCodice)
|
|
@Html.HiddenFor(x => x.LiCodLis)
|
|
@Html.HiddenFor(x => x.LiCodArt)
|
|
@Html.HiddenFor(x => x.LiDatAtt)
|
|
@Html.HiddenFor(x => x.LiQuanti)
|
|
@Html.HiddenFor(x => x.LiScont1)
|
|
@Html.HiddenFor(x => x.LiScont2)
|
|
@Html.HiddenFor(x => x.LiScont3)
|
|
@Html.HiddenFor(x => x.LiScont4)
|
|
@Html.HiddenFor(x => x.Gest_Matr)
|
|
@Html.HiddenFor(x => x.Gest_Lotti)
|
|
@Html.HiddenFor(x => x.Desc_sup)
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@* @model VirtualTask.Models.Articoli *@
|
|
|
|
@* @{ *@
|
|
@* ViewData["Title"] = "Modifica articolo"; *@
|
|
@* Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml"; *@
|
|
@* } *@
|
|
|
|
@* <div class="agy-project-wrapper agy-project-page-wrapper"> *@
|
|
@* <div class="container"> *@
|
|
@* <div class="row"> *@
|
|
@* <div class="col-md-4"> *@
|
|
@* <form asp-action="Edit"> *@
|
|
@* <div asp-validation-summary="ModelOnly" class="text-danger"></div> *@
|
|
@* <div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div> *@
|
|
@* <div class="form-group"> *@
|
|
@* <h5><label asp-for="SlCodice" class="agy-client-quote"></label></h5> *@
|
|
@* <input asp-for="SlCodice" class="agy-form-field require" class="form-control"/> *@
|
|
@* <span asp-validation-for="SlCodice" class="text-danger"></span> *@
|
|
@* </div> *@
|
|
@* <div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div> *@
|
|
@* <div class="form-group"> *@
|
|
@* <h5><label asp-for="ArDesArt" class="agy-client-quote"></label></h5> *@
|
|
@* <input asp-for="ArDesArt" class="agy-form-field require" class="form-control"/> *@
|
|
@* <span asp-validation-for="ArDesArt" class="text-danger"></span> *@
|
|
@* </div> *@
|
|
@* <div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div> *@
|
|
@* <div class="form-group"> *@
|
|
@* <h5><label asp-for="SlCodMag" class="agy-client-quote"></label></h5> *@
|
|
@* @Html.DropDownListFor(x => x.SlCodMag, (IEnumerable<SelectListItem>)ViewBag.Magazzini, new { @class = "agy-form-field require" }) *@
|
|
@* <span asp-validation-for="SlCodMag" class="text-danger"></span> *@
|
|
@* </div> *@
|
|
@* <div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div> *@
|
|
@* <div class="form-group"> *@
|
|
@* <h5><label asp-for="SlQtAper" class="agy-client-quote"></label></h5> *@
|
|
@* <input asp-for="SlQtAper" class="agy-form-field require" class="form-control" /> *@
|
|
@* <span asp-validation-for="SlQtAper" class="text-danger"></span> *@
|
|
@* </div> *@
|
|
@* <div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div> *@
|
|
@* <div class="form-group"> *@
|
|
@* <h5><label asp-for="LiPrezzo" class="agy-client-quote"></label></h5> *@
|
|
@* <input asp-for="LiPrezzo_input" class="agy-form-field require" class="form-control" /> *@
|
|
@* <span asp-validation-for="LiPrezzo" 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" /> *@
|
|
@* <a asp-action="Index" value="Torna alla lista" class="agy-btn submitForm">Torna alla lista</a> *@
|
|
@* </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) *@
|
|
@* </form> *@
|
|
@* </div> *@
|
|
@* </div> *@
|
|
@* </div> *@
|
|
@* </div> *@
|
|
|
|
@* <script type="text/javascript">
|
|
$(function () {
|
|
$("#imultcli").select2();
|
|
});
|
|
</script>
|
|
@section Scripts {
|
|
@{
|
|
await Html.RenderPartialAsync("_ValidationScriptsPartial");
|
|
}
|
|
} *@
|
|
|
|
|