grafiche varie 4

This commit is contained in:
Marco Audiffredi 2024-07-19 11:56:37 +02:00
parent f52bc427ce
commit 1294e6026f

View File

@ -21,6 +21,7 @@
</p> </p>
<a asp-action="Index" asp-controller="Giri" value="Torna alla lista" class="btn btn-primary">Torna alla lista</a> <a asp-action="Index" asp-controller="Giri" value="Torna alla lista" class="btn btn-primary">Torna alla lista</a>
<br /> <br />
<br />
<!-- Striped Rows --> <!-- Striped Rows -->
<div class="card" > <div class="card" >
<h5 class="card-header">Lista destinazioni</h5> <h5 class="card-header">Lista destinazioni</h5>
@ -28,7 +29,7 @@
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th>&nbsp;</th> @*<th>&nbsp;</th>*@
<th>S.</th> <th>S.</th>
<th>Committente</th> <th>Committente</th>
<th>Sede</th> <th>Sede</th>
@ -46,10 +47,36 @@
</thead> </thead>
<tbody class="table-border-bottom-0"> <tbody class="table-border-bottom-0">
@foreach (var item in Model) { @foreach (var item in Model) {
<tr>
string cl = string.Empty;
@if (item.ConsFatta != null) @if (item.ConsFatta != null)
{
@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">*@
cl = "table-success";
}
else
{
cl = "table-danger";
@*<img alt="nocons" src="@Url.Content("~/images/Red.png")" style="width:16px;height:16px;">*@
}
}
else
{
@* <td>
<img alt="notyet" src="@Url.Content("~/images/yellow.png")" style="width:16px;height:16px;">
</td>*@
}
<tr class="@cl">
@* @if (item.ConsFatta != null)
{ {
<td > <td >
@Html.HiddenFor(modelItem => item.ConsFatta.consFattaFlagCons) @Html.HiddenFor(modelItem => item.ConsFatta.consFattaFlagCons)
@ -69,7 +96,9 @@
<td> <td>
<img alt="notyet" src="@Url.Content("~/images/yellow.png")" style="width:16px;height:16px;"> <img alt="notyet" src="@Url.Content("~/images/yellow.png")" style="width:16px;height:16px;">
</td> </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 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.Committente)</td>
<td>@*@Html.DisplayFor(modelItem => item.CodSede) - *@@Html.DisplayFor(modelItem => item.Sede)</td> <td>@*@Html.DisplayFor(modelItem => item.CodSede) - *@@Html.DisplayFor(modelItem => item.Sede)</td>
@ -168,6 +197,25 @@
</table> </table>
</div> </div>
</div> </div>
<br />
<span style=" height: 16px;
width: 16px;
background-color: #dfc2c4;
border-radius: 50%;
display: inline-block;"></span>
<span>&nbsp;Consegna non effettuata</span>
<span style=" height: 16px;
width: 16px;
background-color: #c7dbd2;
border-radius: 50%;
display: inline-block;"></span>
<span>&nbsp;Consegna completata</span>
<span style=" height: 16px;
width: 16px;
background-color: #dee2e6;
border-radius: 50%;
display: inline-block;"></span>
<span>&nbsp;Consegna da effettuare</span>
<!--/ Striped Rows --> <!--/ Striped Rows -->
@*<table class="table" style="width:100%"> @*<table class="table" style="width:100%">