projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dokumentation für Flags in Variablen in Druckvorlagen
[kivitendo-erp.git]
/
bin
/
mozilla
/
wh.pl
diff --git
a/bin/mozilla/wh.pl
b/bin/mozilla/wh.pl
index
fc34ba6
..
2b49ba0
100644
(file)
--- a/
bin/mozilla/wh.pl
+++ b/
bin/mozilla/wh.pl
@@
-176,7
+176,9
@@
sub transfer_or_removal_prepare_contents {
"ean" => $form->{ean},
"description" => $form->{description});
"ean" => $form->{ean},
"description" => $form->{description});
- $form->show_generic_error($locale->text("The selected warehouse is empty.")) if (0 == scalar(@contents));
+ if (0 == scalar(@contents)) {
+ $form->show_generic_error($locale->text("The selected warehouse is empty, or no stocked items where found that match the filter settings."));
+ }
my $all_units = AM->retrieve_units(\%myconfig, $form);
my $all_units = AM->retrieve_units(\%myconfig, $form);
@@
-436,7
+438,7
@@
sub create_assembly {
$form->error($locale->text('The warehouse or the bin is missing.'));
}
$form->error($locale->text('The warehouse or the bin is missing.'));
}
- if (!$
main::show_best_before
) {
+ if (!$
::lx_office_conf{features}->{show_best_before}
) {
$form->{bestbefore} = '';
}
$form->{bestbefore} = '';
}