Revision 137c9df3
Von Moritz Bunkus vor mehr als 16 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
756 | 756 |
return ''; |
757 | 757 |
} |
758 | 758 |
|
759 |
AM->retrieve_all_units(); |
|
760 |
|
|
759 | 761 |
my $in_out = $form->{type} =~ /^sales/ ? 'out' : 'in'; |
760 | 762 |
my $sinfo = DO->unpack_stock_information('packed' => $form->{"stock_${in_out}_${i}"}); |
761 | 763 |
|
... | ... | |
763 | 765 |
|
764 | 766 |
my $content = $form->format_amount_units('amount' => $sum * 1, |
765 | 767 |
'part_unit' => $form->{"partunit_$i"}, |
766 |
'amount_unit' => $units->{$form->{"partunit_$i"}}->{base_unit}, |
|
768 |
'amount_unit' => $all_units->{$form->{"partunit_$i"}}->{base_unit},
|
|
767 | 769 |
'conv_units' => 'convertible_not_smaller', |
768 | 770 |
'max_places' => 2); |
769 | 771 |
$content .= qq| <input type="button" onclick="open_stock_in_out_window('${in_out}', $i);" value="?">|; |
Auch abrufbar als: Unified diff
Fehler in der Berechnung des angezeigten Lagerausgangs/Lagereingangs in Lieferscheinen.