mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 15:01:56 +00:00
Added inventory information to assets detail view
This commit is contained in:
@@ -151,6 +151,12 @@
|
|||||||
<data name="Barcode" xml:space="preserve">
|
<data name="Barcode" xml:space="preserve">
|
||||||
<value>Barcode</value>
|
<value>Barcode</value>
|
||||||
</data>
|
</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">
|
<data name="Download Barcode" xml:space="preserve">
|
||||||
<value>Barcode herunterladen</value>
|
<value>Barcode herunterladen</value>
|
||||||
</data>
|
</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>
|
<button id="printBtn" class="form-control my-2 btn btn-primary">@T["Add Barcode to print batch"]</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<hr class="my-3" />
|
||||||
<div class="row g-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">
|
<div class="col-md-6">
|
||||||
<label class="form-label">@T["Name"]</label>
|
<label class="form-label">@T["Name"]</label>
|
||||||
<input type="text" class="form-control" name="Name" value="${asset.Name || ''}" disabled />
|
<input type="text" class="form-control" name="Name" value="${asset.Name || ''}" disabled />
|
||||||
|
|||||||
Reference in New Issue
Block a user