207 lines
9.8 KiB
Plaintext
207 lines
9.8 KiB
Plaintext
@model VirtualTask.Models.Chiusure
|
|
|
|
@{
|
|
ViewData["Title"] = "Nuova chiusura";
|
|
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
|
}
|
|
|
|
<div class="agy-project-wrapper agy-project-page-wrapper">
|
|
<div class="container">
|
|
|
|
<form asp-action="Create">
|
|
<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" style="width: 30%;">Campo</th>
|
|
<th scope="col">Valore</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<!-- Codice -->
|
|
<tr>
|
|
<td class="fw-bold fs-5">
|
|
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.cccodice)</span>
|
|
</td>
|
|
<td>
|
|
<input asp-for="cccodice" class="agy-form-field require" placeholder="Codice" />
|
|
<span asp-validation-for="cccodice" class="text-danger"></span>
|
|
</td>
|
|
</tr>
|
|
|
|
<!-- Descrizione -->
|
|
<tr>
|
|
<td class="fw-bold fs-5">
|
|
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.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>
|
|
|
|
<!-- Telefono -->
|
|
<tr>
|
|
<td class="fw-bold fs-5">
|
|
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.ccdessup)</span>
|
|
</td>
|
|
<td>
|
|
<input asp-for="ccdessup" class="agy-form-field require" placeholder="Testo del rapportino (desc. sup.)" />
|
|
<span asp-validation-for="ccdessup" class="text-danger"></span>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
@* Eventuali campi aggiuntivi (se vuoi visualizzarli, basta togliere d-none) *@
|
|
<tr class="d-none">
|
|
<td colspan="2">
|
|
@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)
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="form-group mt-3">
|
|
<input type="submit" value="Salva" class="agy-btn submitForm" />
|
|
<a asp-action="Index" class="agy-btn submitForm">Torna alla lista</a>
|
|
</div>
|
|
</form>
|
|
|
|
@section Scripts {
|
|
@{
|
|
await Html.RenderPartialAsync("_ValidationScriptsPartial");
|
|
}
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@* @model VirtualTask.Models.Chiusure
|
|
|
|
@{
|
|
ViewData["Title"] = "Nuova chiusura";
|
|
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
|
}
|
|
<div class="agy-project-wrapper agy-project-page-wrapper">
|
|
<div class="container">
|
|
|
|
<form asp-action="Create">
|
|
<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" style="width: 30%;">Campo</th>
|
|
<th scope="col">Valore</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td class="fw-bold fs-5">
|
|
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.cccodice)</span>
|
|
</td>
|
|
<td>
|
|
<input asp-for="cccodice" class="agy-form-field require" placeholder="Codice" />
|
|
<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(model => model.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(model => model.ccdessup)</span>
|
|
</td>
|
|
<td>
|
|
<input asp-for="ccdescr" class="agy-form-field require" placeholder="Testo del rapportino (desc. sup.)" />
|
|
<span asp-validation-for="ccdescr" class="text-danger"></span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<div class="form-group">
|
|
<h5><label asp-for="cccodice" class="agy-client-quote"></label></h5>
|
|
<input asp-for="cccodice" class="agy-form-field require" placeholder="Codice" />
|
|
<span asp-validation-for="cccodice" 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="ccdescr" class="agy-client-quote"></label></h5>
|
|
<input asp-for="ccdescr" class="agy-form-field require" 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"> </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" placeholder="Testo del rapportino (desc. sup.)" />
|
|
<span asp-validation-for="ccdessup" 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.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>
|
|
|
|
<div>
|
|
<a asp-action="Index">Torna alla lista</a>
|
|
</div>
|
|
|
|
@section Scripts {
|
|
@{
|
|
await Html.RenderPartialAsync("_ValidationScriptsPartial");
|
|
}
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<hr />
|
|
*@
|