From 50a6450fe0ee8e4576e4de99185c2ba04b18a5c3 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 30 Nov 2020 10:48:46 +0100 Subject: [PATCH] Inventory: Fehlermeldung gefixt --- SL/Helper/Inventory.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Helper/Inventory.pm b/SL/Helper/Inventory.pm index 11857fecf..da3e5b1d8 100644 --- a/SL/Helper/Inventory.pm +++ b/SL/Helper/Inventory.pm @@ -152,8 +152,8 @@ sub get_onhand { sub allocate { my (%params) = @_; - croak('allocate needs a qty') unless $params{part}; - croak('allocate needs a qty') unless $params{qty}; + croak('allocate needs a part') unless $params{part}; + croak('allocate needs a qty') unless $params{qty}; my $part = $params{part}; my $qty = $params{qty}; -- 2.20.1