Revision 2740f3f0
Von Sven Schöling vor mehr als 16 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
2328 | 2328 |
if ($params{groups}) { |
2329 | 2329 |
$self->_get_groups($dbh, $params{groups}); |
2330 | 2330 |
} |
2331 |
if ($params{partsgroup}) { |
|
2332 |
$self->get_partsgroup(\%main::myconfig, { all => 1, target => $params{partsgroup} }); |
|
2333 |
} |
|
2331 | 2334 |
|
2332 | 2335 |
$main::lxdebug->leave_sub(); |
2333 | 2336 |
} |
... | ... | |
3117 | 3120 |
$main::lxdebug->enter_sub(); |
3118 | 3121 |
|
3119 | 3122 |
my ($self, $myconfig, $p) = @_; |
3123 |
my $target = $p->{target} || 'all_partsgroup'; |
|
3120 | 3124 |
|
3121 | 3125 |
my $dbh = $self->get_standard_dbh($myconfig); |
3122 | 3126 |
|
... | ... | |
3155 | 3159 |
@values = ($p->{language_code}); |
3156 | 3160 |
} |
3157 | 3161 |
|
3158 |
$self->{all_partsgroup} = selectall_hashref_query($self, $dbh, $query, @values);
|
|
3162 |
$self->{$target} = selectall_hashref_query($self, $dbh, $query, @values);
|
|
3159 | 3163 |
|
3160 | 3164 |
$main::lxdebug->leave_sub(); |
3161 | 3165 |
} |
bin/mozilla/ic.pl | ||
---|---|---|
1467 | 1467 |
map { $form->{"is_$_"} = ($form->{item} eq $_) } qw(part service assembly); |
1468 | 1468 |
map { $form->{$_} =~ s/"/"/g; } qw(unit); |
1469 | 1469 |
|
1470 |
$form->get_lists('price_factors' => 'ALL_PRICE_FACTORS'); |
|
1470 |
$form->get_lists('price_factors' => 'ALL_PRICE_FACTORS', |
|
1471 |
'partsgroup' => 'all_partsgroup'); |
|
1471 | 1472 |
|
1472 | 1473 |
$rows = 4 if $rows = $form->numtextrows($form->{notes}, 40) < 2; |
1473 | 1474 |
$form->{notes_rows} = $rows; |
Auch abrufbar als: Unified diff
Bugfix: Update im Warendialog hatte die Warengruppe verschluckt.