Web: Lagerort-Inhalt ansehen + von dort einlagern

Der Lagerort-QR (/l/<code>) zeigt jetzt, was am Ort (inkl. Unterorte) liegt -
Artikel mit Bestand, jeweils verlinkt - statt nur den Namen. "Hier einlagern"
springt ins Einlagern mit vorbelegtem Lagerort (?location=). In der Lagerorte-
Verwaltung fuehrt ein neues Lupensymbol zur Inhaltsansicht.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Scarriffle
2026-07-29 13:37:34 +02:00
parent 85ab62359a
commit d448754d2a
4 changed files with 71 additions and 14 deletions

View File

@@ -231,6 +231,8 @@ export const api = {
// Stammdaten
listLocations: () => request("/locations"),
// Was liegt an einem Lagerort (inkl. Unterorte)? Ziel des Lagerort-QR.
locationContents: (code) => request(`/location/${encodeURIComponent(code)}`),
createLocation: (body) => request("/locations", { method: "POST", body }),
updateLocation: (id, body) => request(`/locations/${id}`, { method: "PATCH", body }),
deleteLocation: (id) => request(`/locations/${id}`, { method: "DELETE" }),