link buono su pagina lista chiamate
This commit is contained in:
parent
a7a9f4d49c
commit
2dc6c74bae
@ -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 }) |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user