From: Moritz Bunkus Date: Mon, 30 Nov 2020 09:48:46 +0000 (+0100) Subject: Inventory: Fehlermeldung gefixt X-Git-Tag: kivitendo-mebil_0.1-0~9^2~584 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=50a6450fe0ee8e4576e4de99185c2ba04b18a5c3;p=kivitendo-erp.git Inventory: Fehlermeldung gefixt --- 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};