show units in [Add Stock] modal (fixes #4351) (#4352)

This commit is contained in:
simonkuehling 2023-02-16 21:25:09 +01:00 committed by GitHub
parent 45d50fc618
commit b02ce1f01e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1046,6 +1046,10 @@ function adjustStock(action, items, options={}) {
var quantity = item.quantity;
if (item.part_detail.units != null) {
quantity += ` ${item.part_detail.units}`;
}
var location = locationDetail(item, false);
if (item.location_detail) {