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:
e5610b4
)
Kosmetik: CVars für Lagerbestand: Variablendeklaration näher an Verwendung
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Tue, 31 Aug 2021 06:53:41 +0000
(08:53 +0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Tue, 31 Aug 2021 06:53:41 +0000
(08:53 +0200)
bin/mozilla/wh.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/wh.pl
b/bin/mozilla/wh.pl
index
b7750f2
..
017e4a2
100644
(file)
--- a/
bin/mozilla/wh.pl
+++ b/
bin/mozilla/wh.pl
@@
-817,8
+817,6
@@
sub generate_report {
my %myconfig = %main::myconfig;
my $locale = $main::locale;
my %myconfig = %main::myconfig;
my $locale = $main::locale;
- my $cvar_configs = CVar->get_configs('module' => 'IC');
-
$form->{title} = $locale->text("Report about warehouse contents");
$form->{sort} ||= 'partnumber';
my $sort_col = $form->{sort};
$form->{title} = $locale->text("Report about warehouse contents");
$form->{sort} ||= 'partnumber';
my $sort_col = $form->{sort};
@@
-894,6
+892,7
@@
sub generate_report {
my $report = SL::ReportGenerator->new(\%myconfig, $form);
my $report = SL::ReportGenerator->new(\%myconfig, $form);
+ my $cvar_configs = CVar->get_configs('module' => 'IC');
my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs };
push @columns, map { "cvar_$_->{name}" } @includeable_custom_variables;
my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs };
push @columns, map { "cvar_$_->{name}" } @includeable_custom_variables;