projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Projektbericht - Sortierung nach Status und Typ repariert
[kivitendo-erp.git]
/
SL
/
Controller
/
Inventory.pm
diff --git
a/SL/Controller/Inventory.pm
b/SL/Controller/Inventory.pm
index
0a41f0b
..
5bc780b
100644
(file)
--- a/
SL/Controller/Inventory.pm
+++ b/
SL/Controller/Inventory.pm
@@
-59,6
+59,7
@@
sub action_stock {
unit => $self->unit,
transfer_type => 'stock',
chargenumber => $::form->{chargenumber},
unit => $self->unit,
transfer_type => 'stock',
chargenumber => $::form->{chargenumber},
+ bestbefore => $::form->{bestbefore},
ean => $::form->{ean},
comment => $::form->{comment},
});
ean => $::form->{ean},
comment => $::form->{comment},
});
@@
-243,7
+244,7
@@
sub show_no_warehouses_error {
my $msg = t8('No warehouse has been created yet or the quantity of the bins is not configured yet.') . ' ';
my $msg = t8('No warehouse has been created yet or the quantity of the bins is not configured yet.') . ' ';
- if ($::auth->check_right($::
form->
{login}, 'config')) { # TODO wut?
+ if ($::auth->check_right($::
myconfig
{login}, 'config')) { # TODO wut?
$msg .= t8('You can create warehouses and bins via the menu "System -> Warehouses".');
} else {
$msg .= t8('Please ask your administrator to create warehouses and bins.');
$msg .= t8('You can create warehouses and bins via the menu "System -> Warehouses".');
} else {
$msg .= t8('Please ask your administrator to create warehouses and bins.');