mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Merge pull request #215 from LD-Reborn/195-feature-add-inventory-information-to-detail-view
Added inventory information to assets detail view
This commit is contained in:
@@ -151,6 +151,12 @@
|
||||
<data name="Barcode" xml:space="preserve">
|
||||
<value>Barcode</value>
|
||||
</data>
|
||||
<data name="Inventory" xml:space="preserve">
|
||||
<value>Inventur</value>
|
||||
</data>
|
||||
<data name="Information" xml:space="preserve">
|
||||
<value>Informationen</value>
|
||||
</data>
|
||||
<data name="Download Barcode" xml:space="preserve">
|
||||
<value>Barcode herunterladen</value>
|
||||
</data>
|
||||
|
||||
@@ -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