transitive commit

This commit is contained in:
2025-09-25 13:53:36 +04:00
parent 95456cb956
commit 559a579867
2 changed files with 13 additions and 6 deletions

View File

@@ -12,11 +12,18 @@
</div>
<div class="list-group">
@if (User.IsInRole("Worker")){
<a asp-page="/Views/Comments/Index" class="list-group-item list-group-item-action">Comments</a>
<a asp-page="/Views/ProductSets/Index" class="list-group-item list-group-item-action">Product Sets</a>
<a asp-page="/Views/Purchases/Index" class="list-group-item list-group-item-action">Purchases</a>
}
@if (User.IsInRole("Storekeeper"))
{
<a asp-page="/Views/Components/Index" class="list-group-item list-group-item-action">Components</a>
<a asp-page="/Views/Products/Index" class="list-group-item list-group-item-action">Products</a>
<a asp-page="/Views/ProductSets/Index" class="list-group-item list-group-item-action">Product Sets</a>
<a asp-page="/Views/ProductOrders/Index" class="list-group-item list-group-item-action">Product Orders</a>
<a asp-page="/Views/Purchases/Index" class="list-group-item list-group-item-action">Purchases</a>
}
<a asp-page="/Views/Reports/Index" class="list-group-item list-group-item-action">Reports</a>
</div>