X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FHelper%2FInventory.pm;h=da3e5b1d8dbf0720fe832349c401365c18aac08b;hb=874cdb18bd95f7a63accd77d6828cf54c320406f;hp=11857fecf2e20b36adbcfa81fbbea2f5f275a2bb;hpb=f27b1f4819fac91b1dce3a7bf25945f479b7b908;p=kivitendo-erp.git 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};