grafica varie 2
This commit is contained in:
parent
e657bab7c0
commit
6d757333af
@ -19,14 +19,158 @@
|
||||
<br />
|
||||
<b>Automezzo: @ViewBag.CodMezzo - @ViewBag.Automezzo</b>
|
||||
</p>
|
||||
<a asp-action="Index" asp-controller="Giri" value="Torna alla lista" class="agy-btn submitForm">Torna alla lista</a>
|
||||
<a asp-action="Index" asp-controller="Giri" value="Torna alla lista" class="btn btn-primary">Torna alla lista</a>
|
||||
<br />
|
||||
<!-- Striped Rows -->
|
||||
<div class="card" >
|
||||
<h5 class="card-header">Lista destinazioni</h5>
|
||||
<div class="table-responsive text-nowrap">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th>S.</th>
|
||||
<th>Committente</th>
|
||||
<th>Sede</th>
|
||||
<th>Indirizzo sede</th>
|
||||
<th>Ca.</th>
|
||||
<th>Tr.</th>
|
||||
<th>Co.</th>
|
||||
<th>Nr.Co.</th>
|
||||
<th>Uo</th>
|
||||
<th>Ci.</th>
|
||||
<th>Note</th>
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="table-border-bottom-0">
|
||||
@foreach (var item in Model) {
|
||||
<tr>
|
||||
|
||||
@* <p>
|
||||
<a asp-action="Create">Create New</a>
|
||||
</p>
|
||||
*@
|
||||
|
||||
<table class="table" style="width:100%">
|
||||
@if (item.ConsFatta != null)
|
||||
{
|
||||
<td >
|
||||
@Html.HiddenFor(modelItem => item.ConsFatta.consFattaFlagCons)
|
||||
|
||||
@if (item.ConsFatta.consFattaFlagCons!=null && item.ConsFatta.consFattaFlagCons.Contains("S"))
|
||||
{
|
||||
<img alt="cons" src="@Url.Content("~/images/Green.png")" style="width:16px;height:16px">
|
||||
}
|
||||
else
|
||||
{
|
||||
<img alt="nocons" src="@Url.Content("~/images/Red.png")" style="width:16px;height:16px;">
|
||||
}
|
||||
</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td>
|
||||
<img alt="notyet" src="@Url.Content("~/images/yellow.png")" style="width:16px;height:16px;">
|
||||
</td>
|
||||
}
|
||||
<td style="font-size:12px;"><i class="bx bxl-angular bx-sm text-danger me-3"></i>@Html.DisplayFor(modelItem => item.Seq)</td>
|
||||
<td>@Html.DisplayFor(modelItem => item.Committente)</td>
|
||||
<td>@*@Html.DisplayFor(modelItem => item.CodSede) - *@@Html.DisplayFor(modelItem => item.Sede)</td>
|
||||
<td>@Html.DisplayFor(modelItem => item.IndirizzoSede)</td>
|
||||
@if (item.Casse != null && item.Casse > 0)
|
||||
{
|
||||
int icasse = 0;
|
||||
icasse = Convert.ToInt32(item.Casse);
|
||||
<td style="font-size:12px;">
|
||||
@icasse
|
||||
</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td> </td>
|
||||
}
|
||||
@if (item.Trasf != null && item.Trasf > 0)
|
||||
{
|
||||
<td style="font-size:12px;">
|
||||
@Html.DisplayFor(modelItem => item.Trasf)
|
||||
</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td> </td>
|
||||
}
|
||||
@if (item.Colli != null && item.Colli > 0)
|
||||
{
|
||||
int icolli = 0;
|
||||
icolli = Convert.ToInt32(item.Colli);
|
||||
<td style="font-size:12px;">
|
||||
@icolli
|
||||
</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td> </td>
|
||||
}
|
||||
@if (item.num_cons != null && item.num_cons > 0)
|
||||
{
|
||||
<td style="font-size:12px;">
|
||||
@Html.DisplayFor(modelItem => item.num_cons)
|
||||
</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td> </td>
|
||||
}
|
||||
@if (item.Uova != null && item.Uova > 0)
|
||||
{
|
||||
<td style="font-size:12px;">
|
||||
@Html.DisplayFor(modelItem => item.Uova)
|
||||
</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td> </td>
|
||||
}
|
||||
@if (item.Cist != null && item.Cist > 0)
|
||||
{
|
||||
<td style="font-size:12px;">
|
||||
@Html.DisplayFor(modelItem => item.Cist)
|
||||
</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td> </td>
|
||||
}
|
||||
|
||||
<td style="font-size:12px;">
|
||||
@Html.DisplayFor(modelItem => item.Note)
|
||||
</td>
|
||||
@if (item.ConsFatta == null)
|
||||
{
|
||||
<td>
|
||||
@if (!string.IsNullOrEmpty(item.Prog))
|
||||
{
|
||||
<img alt="nocons" src="@Url.Content("~/images/warning.png")" style="width:16px;height:16px;">
|
||||
}
|
||||
|
||||
<a href="@Url.ActionLink("EliminaDestinazione", "Destinazioni", new { serial=item.Brserial })" title="Elimina Destinazione" class="links"><img alt="nocons" src="@Url.Content("~/images/icons8-rimuovere-24.png")" style="width:16px;height:16px;"></a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="@Url.ActionLink("ModificaDestinazione", "Destinazioni", new { serial=item.Brserial })" title="Modifica Destinazione" class="links"><img alt="nocons" src="@Url.Content("~/images/system.png")" style="width:16px;height:16px;"></a>
|
||||
</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
}
|
||||
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!--/ Striped Rows -->
|
||||
|
||||
@*<table class="table" style="width:100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th> </th>
|
||||
@ -169,7 +313,7 @@
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</table>*@
|
||||
<br />
|
||||
<nav>
|
||||
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, Model/* searchString = @ViewData["CurrentFilter"] */ }), new PagedListRenderOptions()
|
||||
|
||||
@ -5,11 +5,125 @@
|
||||
Layout = "~/Views/Shared/_LayoutAreaRis.cshtml";
|
||||
}
|
||||
|
||||
<h1>ModificaDestinazione</h1>
|
||||
|
||||
<h4>Destinazioni_Out</h4>
|
||||
<hr />
|
||||
<!-- Basic Layout -->
|
||||
<div class="row">
|
||||
<div class="col-xl">
|
||||
<div class="card mb-4">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h5 class="mb-0">Modifica destinazione</h5> <small class="text-muted float-end"></small>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form asp-action="ModificaDestinazionePost">
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.DataCarico)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.DataCarico)</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.Committente)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.CodCommittente) - @Html.DisplayFor(model => model.Committente)</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.Sede)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.CodSede) - @Html.DisplayFor(model => model.Sede)</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.IndirizzoSede)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.IndirizzoSede)</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-phone"><b>@Html.DisplayNameFor(model => model.DescAutomezzo)</b></label>
|
||||
@Html.DropDownList("CodAutomezzo", ViewBag.CodMezzo, null, new { @class = "agy-form-field require" })
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-phone"><b>@Html.DisplayNameFor(model => model.Autista)</b></label>
|
||||
@Html.DropDownList("codAutista", ViewBag.Autisti, null, new { @class = "agy-form-field require" })
|
||||
</div>
|
||||
|
||||
|
||||
@Html.HiddenFor(model => model.DescAutomezzo)
|
||||
@Html.HiddenFor(model => model.Brserial)
|
||||
@Html.HiddenFor(model => model.DataCarico)
|
||||
@Html.HiddenFor(model => model.CodCommittente)
|
||||
@Html.HiddenFor(model => model.Committente)
|
||||
@Html.HiddenFor(model => model.Autista)
|
||||
|
||||
@Html.HiddenFor(model => model.CodSede)
|
||||
@Html.HiddenFor(model => model.Sede)
|
||||
@Html.HiddenFor(model => model.IndirizzoSede)
|
||||
@Html.HiddenFor(model => model.Cproword)
|
||||
@Html.HiddenFor(model => model.Cprownum)
|
||||
@Html.HiddenFor(model => model.Brmerce)
|
||||
@Html.HiddenFor(model => model.Brnote)
|
||||
@Html.HiddenFor(model => model.ImportoDaRitirare)
|
||||
@Html.HiddenFor(model => model.ItemList)
|
||||
@Html.HiddenFor(model => model.serialeGiro)
|
||||
@Html.HiddenFor(model => model.Casse)
|
||||
@Html.HiddenFor(model => model.Trasf)
|
||||
@Html.HiddenFor(model => model.Colli)
|
||||
@Html.HiddenFor(model => model.num_cons)
|
||||
@Html.HiddenFor(model => model.Uova)
|
||||
@Html.HiddenFor(model => model.Cist)
|
||||
@Html.HiddenFor(model => model.Note)
|
||||
@Html.HiddenFor(model => model.Seq)
|
||||
@Html.HiddenFor(model => model.Prog)
|
||||
|
||||
<button type="submit" class="btn btn-primary">Salva</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl">
|
||||
<div class="card mb-4">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h5 class="mb-0">Dettaglio trasporto</h5> <small class="text-muted float-end"></small>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.Casse)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.Casse)</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.Trasf)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.Trasf)</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.Colli)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.Colli)</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.num_cons)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.num_cons)</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.Uova)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.Uova)</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.Cist)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.Cist)</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.Seq)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.Seq)</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="basic-default-fullname"><b>@Html.DisplayNameFor(model => model.Prog)</b> </label>
|
||||
<div class="form-text">@Html.DisplayFor(model => model.Prog)</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*<div class="row">
|
||||
<div class="col-md-4">
|
||||
<form asp-action="ModificaDestinazionePost">
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
@ -96,10 +210,10 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>*@
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
<a asp-action="Index" class="btn btn-primary">Torna alla Lista</a>
|
||||
</div>
|
||||
|
||||
@section Scripts {
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
<input asp-for="password" class="form-control" placeholder="" />
|
||||
<span asp-validation-for="password" class="text-danger"></span>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Send</button>
|
||||
<button type="submit" class="btn btn-primary">Entra</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -22,13 +22,6 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Giri" asp-action="Index">Giri di consegna</a>
|
||||
</li>
|
||||
|
||||
@* <li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Login" asp-action="Login">Accedi</a>
|
||||
</li> *@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -39,9 +39,10 @@
|
||||
}
|
||||
}
|
||||
@media (min-width: 1400px) {
|
||||
.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
|
||||
max-width: 1320px;
|
||||
}
|
||||
.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
|
||||
/*max-width: 1320px;*/
|
||||
max-width: 1520px;
|
||||
}
|
||||
}
|
||||
.row {
|
||||
--bs-gutter-x: 1.5rem;
|
||||
|
||||
7
wwwroot/lib/bootstrap/dist/css/bootstrap.css
vendored
7
wwwroot/lib/bootstrap/dist/css/bootstrap.css
vendored
@ -651,9 +651,10 @@ progress {
|
||||
}
|
||||
}
|
||||
@media (min-width: 1400px) {
|
||||
.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
|
||||
max-width: 1320px;
|
||||
}
|
||||
.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
|
||||
/*max-width: 1320px;*/
|
||||
max-width: 1520px;
|
||||
}
|
||||
}
|
||||
.row {
|
||||
--bs-gutter-x: 1.5rem;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user