This commit is contained in:
David Štaleker
2025-07-18 05:33:16 +02:00
parent 401a367e5d
commit db0cc8d3de
14776 changed files with 9251484 additions and 0 deletions

View 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>