Merge branch 'master' of 10.0.0.83:/usr/local/git/VirtualTask

This commit is contained in:
michele 2023-10-20 09:31:31 +02:00
commit 8cc6268931
2 changed files with 20 additions and 5 deletions

View File

@ -115,7 +115,7 @@ namespace VirtualTask.Controllers
model.chdata = adesso;
model.chdtass = adesso;
model.chdtapp = adesso;
model.chtipo = "X";//X=creato da app, A creato da adhoc. NON SERVE
model.chtipo = "A";//X=creato da app, A creato da adhoc. DEVO METTERE A perche altrimenti l'app lo tratta come una chiamata da commessa
model.chmodrac = "EMAIL";
int year=adesso.Year;
int ora = adesso.Hour;

View File

@ -4,7 +4,7 @@
@using X.PagedList;
<link href="~/Content/PagedList.css" rel="stylesheet" type="text/css" />
@{
ViewData["Title"] = "Index";
ViewData["Title"] = "Chiamate";
}
<h1>Chiamate</h1>
@ -31,7 +31,7 @@
<th>Stato</th>
<th>R</th>
<th>IC</th>
<th>C</th>
<th>Buono</th>
<th></th>
</tr>
</thead>
@ -62,8 +62,23 @@
<td>@Html.DisplayFor(modelItem => item.chstato) - @Html.DisplayFor(modelItem => item.descStato)</td>
<td>@Html.DisplayFor(modelItem => item.rif)</td>
<td>@Html.DisplayFor(modelItem => item.ic)</td>
<td>@Html.DisplayFor(modelItem => item.ser_buono_chiu)</td>
@{
string link = string.Empty;
if (!string.IsNullOrEmpty(item.ser_buono_chiu))
{
link = "http://testapi.poloinformatico.it:9001/VIRTU/";
link = link + item.ser_buono_chiu + ".jpg";
<td><a href="@link" target="_blank">@item.ser_buono_chiu</a></td>
}
else
{
<td></td>
}
}
<td>
@Html.ActionLink("Modifica", "Edit", new { id=item.chserial }) |
@Html.ActionLink("Dettaglio", "Details", new { id=item.chserial }) |