transitive commit
This commit is contained in:
@@ -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>
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user