]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Helper/Inventory.pm
Zeiterfassung: Datum/Dauer statt Start/Ende wählbar (Benutzereinstellung)
[mfinanz.git] / SL / Helper / Inventory.pm
index 11857fecf2e20b36adbcfa81fbbea2f5f275a2bb..da3e5b1d8dbf0720fe832349c401365c18aac08b 100644 (file)
@@ -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};