Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5d5a1646

Von Jan Büren vor mehr als 2 Jahren hinzugefügt

  • ID 5d5a164618fcb23f0e6460c886043a09520d0dcd
  • Vorgänger 05f6df1e
  • Nachfolger f1967be8

update_exchangerate für Zahlungen auch bei manueller Verbuchung

Unterschiede anzeigen:

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