Revision f9c86f3f
Von Bernd Blessmann vor etwa 13 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
684 | 684 |
# format amounts |
685 | 685 |
if ($form->{"paid_$i"}) { |
686 | 686 |
$form->{"paid_$i"} = |
687 |
$form->format_amount(\%myconfig, $form->{"paid_$i"}, 2); |
|
687 |
$form->format_amount(\%myconfig, $form->{"paid_$i"}, 2);
|
|
688 | 688 |
} |
689 |
$form->{"exchangerate_$i"} = |
|
690 |
$form->format_amount(\%myconfig, $form->{"exchangerate_$i"}); |
|
691 | 689 |
if ($form->{"exchangerate_$i"} == 0) { |
692 | 690 |
$form->{"exchangerate_$i"} = ""; |
691 |
} else { |
|
692 |
$form->{"exchangerate_$i"} = |
|
693 |
$form->format_amount(\%myconfig, $form->{"exchangerate_$i"}); |
|
693 | 694 |
} |
694 | 695 |
|
695 | 696 |
print qq|<input type=hidden name="gldate_$i" value=$form->{"gldate_$i"}>\n|; |
Auch abrufbar als: Unified diff
Wechselkurs ging bei Kreditoren/Debitoren-Buchungen verloren, wenn er kleiner 1 war.