Revision 146e2f51
Von Jan Büren vor fast 2 Jahren hinzugefügt
bin/mozilla/cp.pl | ||
---|---|---|
235 | 235 |
if (!$form->{forex}) { # read exchangerate from input field (not hidden) |
236 | 236 |
$form->{exchangerate} = $form->parse_amount(\%myconfig, $form->{exchangerate}); |
237 | 237 |
} |
238 |
$form->{forex} = $form->check_exchangerate( \%myconfig, $form->{currency}, $form->{datepaid}, $buysell); |
|
238 |
$form->{forex} = $form->check_exchangerate( \%myconfig, $form->{currency}, $form->{datepaid}, $buysell) |
|
239 |
if $form->{defaultcurrency} ne $form->{currency} && $form->{datepaid}; |
|
239 | 240 |
$form->{exchangerate} = $form->{forex} if $form->{forex}; |
240 | 241 |
|
241 | 242 |
$amount = $form->{amount} = $form->parse_amount(\%myconfig, $form->{amount}); |
Auch abrufbar als: Unified diff
update_exchangerate für Zahlungen auch bei manueller Verbuchung