Revision cc3a0a33
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
337 | 337 |
if $form->{"id_$i"} && ($form->{type} =~ /^sales_/ || $form->{type} =~ /invoice/) && !$is_delivery_order; |
338 | 338 |
# / marge calculations ending |
339 | 339 |
|
340 |
# calculate onhand |
|
341 |
if ($form->{"id_$i"}) { |
|
342 |
my $part = IC->get_basic_part_info(id => $form->{"id_$i"}); |
|
343 |
my $onhand_color = 'color="#ff0000"' if $part->{onhand} < $part->{rop}; |
|
344 |
push @ROW2, { value => sprintf "<b>%s</b> <font %s>%s %s</font>", |
|
345 |
$locale->text('On Hand'), |
|
346 |
$onhand_color, |
|
347 |
$form->format_amount(\%myconfig, $part->{onhand}, 2), |
|
348 |
$part->{unit} |
|
349 |
}; |
|
350 |
} |
|
351 |
# / calculate onhand |
|
352 |
|
|
340 | 353 |
my @hidden_vars; |
341 | 354 |
|
342 | 355 |
if ($is_delivery_order) { |
Auch abrufbar als: Unified diff
Lagerbestandanzeige in OE Masken