mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Added inventory information to assets detail view
This commit is contained in:
@@ -692,7 +692,21 @@ function registerRowDetailviewClick(row) {
|
||||
<button id="printBtn" class="form-control my-2 btn btn-primary">@T["Add Barcode to print batch"]</button>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="my-3" />
|
||||
<div class="row g-3">
|
||||
<h6 class="fw-bold">@T["Inventory"]</h6>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">@T["Name"]</label>
|
||||
<input type="text" class="form-control" name="Name" value="${asset.Description.Inventory.PersonUid || ''}" disabled />
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">@T["Date"]</label>
|
||||
<input type="text" class="form-control" name="Name" value="${new Intl.DateTimeFormat('de-DE', {year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit"}).format(new Date(asset.Description.Inventory.Date)) || ''}" disabled />
|
||||
</div>
|
||||
</div>
|
||||
<hr class="my-3" />
|
||||
<div class="row g-3">
|
||||
<h6 class="fw-bold">@T["Information"]</h6>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">@T["Name"]</label>
|
||||
<input type="text" class="form-control" name="Name" value="${asset.Name || ''}" disabled />
|
||||
|
||||
Reference in New Issue
Block a user