Revision dfe28d97
Von Werner Hahn vor etwa 1 Jahr hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
513 | 513 |
part_longdescription => '', |
514 | 514 |
lastcost => 0, |
515 | 515 |
sortorder => $position, |
516 |
min_order_qty => '1', |
|
516 | 517 |
) or die "Can't create MakeModel object"; |
517 | 518 |
|
518 | 519 |
my $row_as_html = $self->p->render('part/_makemodel_row', |
... | ... | |
986 | 987 |
|
987 | 988 |
my $position = 0; |
988 | 989 |
my $makemodels = delete($::form->{makemodels}) || []; |
990 |
$main::lxdebug->dump(0, 'WH:MMFORM ', $makemodels); |
|
989 | 991 |
foreach my $makemodel ( @{$makemodels} ) { |
990 | 992 |
next unless $makemodel->{make}; |
991 | 993 |
$position++; |
... | ... | |
1178 | 1180 |
my $position = 0; |
1179 | 1181 |
my @makemodel_array = (); |
1180 | 1182 |
my $makemodels = delete($::form->{makemodels}) || []; |
1183 |
$main::lxdebug->dump(0, 'WH:MM ', $makemodels); |
|
1181 | 1184 |
|
1182 | 1185 |
foreach my $makemodel ( @{$makemodels} ) { |
1183 | 1186 |
next unless $makemodel->{make}; |
... | ... | |
1190 | 1193 |
part_longdescription => $makemodel->{part_longdescription} || '', |
1191 | 1194 |
lastcost => $::form->parse_amount(\%::myconfig, $makemodel->{lastcost_as_number} || 0), |
1192 | 1195 |
sortorder => $position, |
1196 |
min_order_qty => $::form->parse_amount(\%::myconfig, $makemodel->{min_order_qty_as_number} || 0), |
|
1193 | 1197 |
) or die "Can't create mm"; |
1194 | 1198 |
# $mm->id($makemodel->{id}) if $makemodel->{id}; |
1195 | 1199 |
push(@makemodel_array, $mm); |
Auch abrufbar als: Unified diff
DispositionsManager: Prototyp ohne Auftrag erstellen