VirtualTask/Views/Chiusure/Edit.cshtml
2025-05-28 15:50:20 +02:00

152 lines
7.2 KiB
Plaintext

@model VirtualTask.Models.Chiusure
@{
ViewData["Title"] = "Modifica chiusura";
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">&nbsp;</th>
<th scope="col">&nbsp;</th>
</tr>
</thead>
<tbody>
<tr>
<td class="fw-bold fs-5"><span class="badge bg-secondary">@Html.DisplayNameFor(m => m.cccodice)</span></td>
<td>
@Html.HiddenFor(x => x.cccodice)
@Html.DisplayFor(x => x.cccodice)
<span asp-validation-for="cccodice" class="text-danger"></span>
</td>
</tr>
<tr>
<td class="fw-bold fs-5"><span class="badge bg-secondary">@Html.DisplayNameFor(m => m.ccdescr)</span></td>
<td>
<input asp-for="ccdescr" class="agy-form-field require" placeholder="Descrizione" />
<span asp-validation-for="ccdescr" class="text-danger"></span>
</td>
</tr>
<tr>
<td class="fw-bold fs-5"><span class="badge bg-secondary">@Html.DisplayNameFor(m => m.ccdessup)</span></td>
<td>
<input asp-for="ccdessup" class="agy-form-field require" placeholder="Testo del rapportino" />
<span asp-validation-for="ccdessup" 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.cccodazi)
@Html.HiddenFor(x => x.ccflfatt)
@Html.HiddenFor(x => x.ccflrep)
@Html.HiddenFor(x => x.cctipcod)
@Html.HiddenFor(x => x.ccgruppo)
@Html.HiddenFor(x => x.ccimpint)
@Html.HiddenFor(x => x.ccimpman)
@Html.HiddenFor(x => x.ccserint)
@Html.HiddenFor(x => x.ccserman)
@Html.HiddenFor(x => x.ccnumore)
@Html.HiddenFor(x => x.ccperman)
@Html.HiddenFor(x => x.corecom)
@Html.HiddenFor(x => x.codtobso)
@Html.HiddenFor(x => x.ccriapre)
@Html.HiddenFor(x => x.ccchiint)
@Html.HiddenFor(x => x.ccrapabi)
@Html.HiddenFor(x => x.ccrapobb)
</form>
@section Scripts {
@{
await Html.RenderPartialAsync("_ValidationScriptsPartial");
}
}
</div>
</div>
@* @model VirtualTask.Models.Chiusure *@
@* @{ *@
@* ViewData["Title"] = "Modifica chiusura"; *@
@* Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml"; *@
@* } *@
@* <h4 hidden>Chiusure</h4> *@
@* <hr /> *@
@* <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="Edit"> *@
@* <div asp-validation-summary="ModelOnly" class="text-danger"></div> *@
@* <div class="form-group"> *@
@* <h5><label asp-for="cccodice" class="agy-client-quote"></label></h5> *@
@* @Html.HiddenFor(x => x.cccodice) *@
@* @Html.DisplayFor(model => model.cccodice) *@
@* <span asp-validation-for="cccodice" class="text-danger"></span> *@
@* </div> *@
@* <div class="col-lg-6 col-md-6 col-sm-12 col-12">&nbsp;</div> *@
@* <div class="form-group"> *@
@* <h5><label asp-for="ccdescr" class="agy-client-quote"></label></h5> *@
@* <input asp-for="ccdescr" class="agy-form-field require" class="form-control" placeholder="Descrizione"/> *@
@* <span asp-validation-for="ccdescr" class="text-danger"></span> *@
@* </div> *@
@* <div class="col-lg-6 col-md-6 col-sm-12 col-12">&nbsp;</div> *@
@* <div class="form-group"> *@
@* <h5><label asp-for="ccdessup" class="agy-client-quote"></label></h5> *@
@* <input asp-for="ccdessup" class="agy-form-field require" class="form-control" placeholder="Testo del rapportino" /> *@
@* <span asp-validation-for="ccdessup" class="text-danger"></span> *@
@* </div> *@
@* <div class="col-lg-6 col-md-6 col-sm-12 col-12">&nbsp;</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.cccodazi) *@
@* @Html.HiddenFor(x => x.ccflfatt) *@
@* @Html.HiddenFor(x => x.ccflrep) *@
@* @Html.HiddenFor(x => x.cctipcod) *@
@* @Html.HiddenFor(x => x.ccgruppo) *@
@* @Html.HiddenFor(x => x.ccimpint) *@
@* @Html.HiddenFor(x => x.ccimpman) *@
@* @Html.HiddenFor(x => x.ccserint) *@
@* @Html.HiddenFor(x => x.ccserman) *@
@* @Html.HiddenFor(x => x.ccnumore) *@
@* @Html.HiddenFor(x => x.ccperman) *@
@* @Html.HiddenFor(x => x.corecom) *@
@* @Html.HiddenFor(x => x.codtobso) *@
@* @Html.HiddenFor(x => x.ccriapre) *@
@* @Html.HiddenFor(x => x.ccchiint) *@
@* @Html.HiddenFor(x => x.ccrapabi) *@
@* @Html.HiddenFor(x => x.ccrapobb) *@
@* </form> *@
@* </div> *@
@* </div> *@
@* @section Scripts { *@
@* @{ *@
@* await Html.RenderPartialAsync("_ValidationScriptsPartial"); *@
@* } *@
@* } *@
@* </div> *@
@* </div> *@
@* </div> *@