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