Revision fb37acdc
Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt
bin/mozilla/ar.pl | ||
---|---|---|
232 | 232 |
s/option>\Q$form->{$item}\E/option selected>$form->{$item}/; |
233 | 233 |
} |
234 | 234 |
|
235 |
$form->{exchangerate} = $exchangerate |
|
236 |
if ( |
|
237 |
$form->{forex} = ( |
|
238 |
$exchangerate = |
|
239 |
$form->check_exchangerate( |
|
240 |
\%myconfig, $form->{currency}, $form->{transdate}, 'buy' |
|
241 |
))); |
|
242 |
|
|
235 | 243 |
# format amounts |
236 | 244 |
$form->{exchangerate} = |
237 | 245 |
$form->format_amount(\%myconfig, $form->{exchangerate}); |
238 | 246 |
|
247 |
if ($form->{exchangerate} == 0) { |
|
248 |
$form->{exchangerate} = ""; |
|
249 |
} |
|
250 |
|
|
239 | 251 |
$form->{creditlimit} = |
240 | 252 |
$form->format_amount(\%myconfig, $form->{creditlimit}, 0, "0"); |
241 | 253 |
$form->{creditremaining} = |
... | ... | |
678 | 690 |
$form->{"exchangerate_$i"} = |
679 | 691 |
$form->format_amount(\%myconfig, $form->{"exchangerate_$i"}); |
680 | 692 |
|
693 |
if ($form->{"exchangerate_$i"} == 0) { |
|
694 |
$form->{"exchangerate_$i"} = ""; |
|
695 |
} |
|
696 |
|
|
681 | 697 |
$exchangerate = qq| |; |
682 | 698 |
if ($form->{currency} ne $form->{defaultcurrency}) { |
683 | 699 |
if ($form->{"forex_$i"}) { |
Auch abrufbar als: Unified diff
Probleme mit mehreren Währungen und Wechselkursen behoben.