modifiche layout articoli, chiamate delete, commesse delete e impianti delete, magazzini delete e progressivi

This commit is contained in:
michele 2025-10-15 16:17:03 +02:00
parent 6f9d5af0bb
commit 96fbdcde6c
6 changed files with 179 additions and 44 deletions

View File

@ -10,7 +10,7 @@
<div class="container">
<p class="text-center text-muted mb-4 fs-5">
Sei sicuro di voler eliminare questo tecnico?<br />
Sei sicuro di voler eliminare questo articolo?<br />
<strong>Questa operazione non può essere annullata.</strong>
</p>

View File

@ -5,6 +5,120 @@
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 questa chiamata?<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.chserial)</span>
</td>
<td>@Html.DisplayFor(model => model.chserial)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.chcodese)</span>
</td>
<td>@Html.DisplayFor(model => model.chcodese)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.tcdescri)</span>
</td>
<td>@Html.DisplayFor(model => model.tcdescri)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.chtipo)</span>
</td>
<td>@Html.DisplayFor(model => model.chtipo)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.chnumero)</span>
</td>
<td>@Html.DisplayFor(model => model.chnumero)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.chdata)</span>
</td>
<td>@Html.DisplayFor(model => model.chdata)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.chcodimp)</span>
</td>
<td>@Html.DisplayFor(model => model.chcodimp)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.chtchiam)</span>
</td>
<td>@Html.DisplayFor(model => model.chtchiam)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.chstato)</span>
</td>
<td>@Html.DisplayFor(model => model.chstato)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.chrifer)</span>
</td>
<td>@Html.DisplayFor(model => model.chrifer)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.chtelef)</span>
</td>
<td>@Html.DisplayFor(model => model.chtelef)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.chcodseg)</span>
</td>
<td>@Html.DisplayFor(model => model.chcodseg)</td>
</tr>
<tr>
<td class="fw-bold fs-5">
<span class="badge bg-secondary">@Html.DisplayNameFor(model => model.chnote)</span>
</td>
<td>@Html.DisplayFor(model => model.chcodimp)</td>
</tr>
</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.chserial) name="id" />
<a asp-action="Index" value="Torna alla lista" class="agy-btn submitForm">Torna alla lista</a>
</form>
</div>
</div>
@* @model VirtualTask.Models.Chiamate
@{
ViewData["Title"] = "Elimina chiamata";
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
}
<div class="agy-project-wrapper agy-project-page-wrapper">
<div class="container">
@ -59,4 +173,4 @@
</div>
</div>
</div>
</div>
</div> *@

View File

@ -17,6 +17,12 @@
@Html.HiddenFor(model => model.ladeslav)
@Html.HiddenFor(model => model.latipcli)
@Html.HiddenFor(model => model.lacodcli)
<p class="text-center text-muted mb-4 fs-5">
Sei sicuro di voler eliminare questa commessa?<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">

View File

@ -9,7 +9,7 @@
<div class="container">
<p class="text-center text-muted mb-4 fs-5">
Sei sicuro di voler eliminare questo tecnico?<br />
Sei sicuro di voler eliminare questo impianto?<br />
<strong>Questa operazione non può essere annullata.</strong>
</p>

View File

@ -9,7 +9,7 @@
<div class="container">
<p class="text-center text-muted mb-4 fs-5">
Sei sicuro di voler eliminare questo tecnico?<br />
Sei sicuro di voler eliminare questo magazzino?<br />
<strong>Questa operazione non può essere annullata.</strong>
</p>

View File

@ -5,8 +5,61 @@
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(model => model.azienda)</span></td>
<td>
<input asp-for="azienda" class="agy-form-field require" placeholder="Azienda" />
<span asp-validation-for="azienda" class="text-danger"></span>
</td>
</tr>
<tr>
<td class="fw-bold fs-5"><span class="badge bg-secondary">@Html.DisplayNameFor(model => model.tipo_prog)</span></td>
<td>
<input asp-for="tipo_prog" class="agy-form-field require" placeholder="Tipo progressivo" />
<span asp-validation-for="tipo_prog" class="text-danger"></span>
</td>
</tr>
<tr>
<td class="fw-bold fs-5"><span class="badge bg-secondary">@Html.DisplayNameFor(model => model.val_prog)</span></td>
<td>
<input asp-for="val_prog" class="agy-form-field require" placeholder="Valore progressivo" />
<span asp-validation-for="val_prog" 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" value="Torna alla lista" class="agy-btn submitForm">Torna alla lista</a>
</div>
</form>
@section Scripts {
@{
await Html.RenderPartialAsync("_ValidationScriptsPartial");
}
}
</div>
</div>
@* <div class="agy-project-wrapper agy-project-page-wrapper">
<div class="container">
<div class="row">
<div class="row">
@ -48,42 +101,4 @@
}
</div>
</div>
</div>
@* <h1>Modifica progressivo</h1>
<h4>Progressivo</h4>
<hr />
<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">
<label asp-for="azienda" class="control-label"></label>
<input asp-for="azienda" class="form-control" />
<span asp-validation-for="azienda" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="tipo_prog" class="control-label"></label>
<input asp-for="tipo_prog" class="form-control" />
<span asp-validation-for="tipo_prog" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="val_prog" class="control-label"></label>
<input asp-for="val_prog" class="form-control" />
<span asp-validation-for="val_prog" class="text-danger"></span>
</div>
<div class="form-group">
<input type="submit" value="Save" class="btn btn-primary" />
</div>
</form>
</div>
</div>
<div>
<a asp-action="Index">Torna indietro</a>
</div>
@section Scripts {
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
} *@
</div> *@