projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7230b95
)
Inventory: Fehlermeldung gefixt
author
Moritz Bunkus
<m.bunkus@linet.de>
Mon, 30 Nov 2020 09:48:46 +0000
(10:48 +0100)
committer
Moritz Bunkus
<m.bunkus@linet.de>
Mon, 30 Nov 2020 09:48:46 +0000
(10:48 +0100)
SL/Helper/Inventory.pm
patch
|
blob
|
history
diff --git
a/SL/Helper/Inventory.pm
b/SL/Helper/Inventory.pm
index
11857fe
..
da3e5b1
100644
(file)
--- 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};