mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Added link to add new assets from Inventory
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
<data name="Scan barcode" xml:space="preserve">
|
||||
<value>Barcode scannen</value>
|
||||
</data>
|
||||
<data name="Add a new asset" xml:space="preserve">
|
||||
<value>Asset hinzufügen</value>
|
||||
</data>
|
||||
<data name="Asset Details" xml:space="preserve">
|
||||
<value>Asset Details</value>
|
||||
</data>
|
||||
|
||||
@@ -19,6 +19,10 @@
|
||||
<button id="enterAssetIdManuallyButton" class="btn btn-secondary mt-3">@T["Enter asset ID manually"]</button>
|
||||
<div id="reader" style="display:none" class="mt-3"></div>
|
||||
<button id="scanBarcodeButton" class="btn btn-primary mt-3">@T["Scan barcode"]</button>
|
||||
@if (User.IsInRole("CanManageAssets"))
|
||||
{
|
||||
<a asp-controller="Home" asp-action="Assets" class="mt-3" style="display: block;">@T["Add a new asset"]</a>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user