prvi
This commit is contained in:
67
EveryThing/Pages/Documents/IndexModal.cshtml
Normal file
67
EveryThing/Pages/Documents/IndexModal.cshtml
Normal file
@@ -0,0 +1,67 @@
|
||||
@model IList<Models.Document>
|
||||
|
||||
<p>
|
||||
<a asp-page="Create">Create New</a>
|
||||
</p>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model[0].IdReferenceFk)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model[0].ExpirationDate)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model[0].Number)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model[0].Reference)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model[0].Note)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model[0].Active)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model[0].DocumentType)
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.IdReferenceFk)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.ExpirationDate)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Number)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Reference)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Note)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Active)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.DocumentType.Title)
|
||||
</td>
|
||||
<td>
|
||||
<a asp-page="./Edit" asp-route-id="@item.IdDocument">Edit</a> |
|
||||
<a asp-page="./Details" asp-route-id="@item.IdDocument">Details</a> |
|
||||
<a asp-page="./Delete" asp-route-id="@item.IdDocument">Delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user