yavsc/Yavsc/Views/Estimate/Index.cshtml

62 lines
1.6 KiB
Text
Raw Normal View History

2016-07-27 11:09:49 +02:00
@model IEnumerable<Estimate>
2016-05-17 18:22:18 +02:00
@{
ViewData["Title"] = SR["My estimates"];
}
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<tr>
<th>
2017-02-22 22:58:02 +01:00
@Html.DisplayNameFor(model => model.Title)
2016-05-17 18:22:18 +02:00
</th>
<th>
2017-02-22 22:58:02 +01:00
@Html.DisplayNameFor(model => model.Description)
2016-05-17 18:22:18 +02:00
</th>
2016-11-03 17:34:19 +01:00
<th>
@Html.DisplayNameFor(model => model.Query.Client)
</th>
<th>
@SR["Performer"]
</th>
2017-02-22 22:58:02 +01:00
<th>
@Html.DisplayNameFor(model => model.ProviderValidationDate)
</th>
2016-11-03 17:34:19 +01:00
<th>
@SR["Id"]
</th>
2016-05-17 18:22:18 +02:00
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
2017-02-22 22:58:02 +01:00
@Html.DisplayFor(modelItem => item.Title)
2016-05-17 18:22:18 +02:00
</td>
<td>
2017-02-22 22:58:02 +01:00
@Html.DisplayFor(modelItem => item.Description)
2016-05-17 18:22:18 +02:00
</td>
2016-11-03 17:34:19 +01:00
<td>
@Html.DisplayFor(modelItem => item.Query.Client.UserName)
</td>
<td>
@Html.DisplayFor(modelItem => item.Query.PerformerProfile.Performer.UserName)
</td>
2017-02-22 22:58:02 +01:00
<td>
@Html.DisplayFor(modelItem => item.ProviderValidationDate)
</td>
2016-11-03 17:34:19 +01:00
<td>
@Html.DisplayFor(modelItem => item.Id)
</td>
2016-05-17 18:22:18 +02:00
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
</td>
</tr>
}
</table>