yavsc/src/Yavsc/Views/Estimate/Index.cshtml

62 lines
1.5 KiB
Text
Raw Normal View History

2019-01-01 16:28:47 +00:00
@model IEnumerable<Estimate>
@{
2023-03-20 19:38:50 +00:00
ViewData["Title"] = "My estimates";
2019-01-01 16:28:47 +00:00
}
2023-03-20 09:13:16 +00:00
<h2>Index</h2>
2019-01-01 16:28:47 +00:00
<p>
2023-03-20 09:13:16 +00:00
<a asp-action="Create">Create New</a>
2019-01-01 16:28:47 +00:00
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.Title)
</th>
<th>
@Html.DisplayNameFor(model => model.Description)
</th>
<th>
@Html.DisplayNameFor(model => model.Query.Client)
</th>
<th>
2023-03-20 09:13:16 +00:00
Performer"]
2019-01-01 16:28:47 +00:00
</th>
<th>
@Html.DisplayNameFor(model => model.ProviderValidationDate)
</th>
<th>
2023-03-20 09:13:16 +00:00
Id"]
2019-01-01 16:28:47 +00:00
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.Title)
</td>
<td>
@Html.DisplayFor(modelItem => item.Description)
</td>
<td>
@Html.DisplayFor(modelItem => item.Query.Client.UserName)
</td>
<td>
@Html.DisplayFor(modelItem => item.Query.PerformerProfile.Performer.UserName)
</td>
<td>
@Html.DisplayFor(modelItem => item.ProviderValidationDate)
</td>
<td>
@Html.DisplayFor(modelItem => item.Id)
</td>
<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>