Revision fcd7e932
Von Moritz Bunkus vor mehr als 18 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
# # get pricegroups for parts
|
||
# IS->get_pricegroups_for_parts(\%myconfig, \%$form);
|
||
|
||
my $i = 0;
|
||
|
||
foreach $ref (@{ $form->{invoice_details} }) {
|
||
$i++;
|
||
|
||
|
||
map { $form->{"${_}_$i"} = $ref->{$_} } keys %{$ref};
|
||
$form->{"discount_$i"} =
|
||
$form->format_amount(\%myconfig, $form->{"discount_$i"} * 100);
|
Auch abrufbar als: Unified diff
Keine globalen Variablen benutzen/überschreiben. Fix für Bugzilla #450.