Revision d98812a8
Von Jan Büren vor mehr als 10 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
1591 | 1591 |
next unless ($form->{"id_$i"}); |
1592 | 1592 |
my $base_unit_factor = $units->{ $part_info_map{$form->{"id_$i"}}->{unit} }->{factor} || 1; |
1593 | 1593 |
my $qty = $form->parse_amount(\%myconfig, $form->{"qty_$i"}) * $units->{$form->{"unit_$i"}}->{factor} / $base_unit_factor; |
1594 |
|
|
1595 |
# if we do not want to transfer services and this part is a service, set qty to zero |
|
1596 |
$qty = 0 if (!$::instance_conf->get_transfer_default_services && !defined($part_info_map{$form->{"id_$i"}}->{inventory_accno_id}) && !$part_info_map{$form->{"id_$i"}}->{assembly}); |
|
1594 | 1597 |
$qty_parts{$form->{"id_$i"}} += $qty; |
1595 | 1598 |
|
1596 | 1599 |
|
Auch abrufbar als: Unified diff
Standardmässiges Ein- und Auslagern von Dienstleistungen per Mandantenkonfiguration eingestellt