Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 146e2f51

Von Jan Büren vor mehr als 1 Jahr hinzugefügt

  • ID 146e2f511315475d62898adcb8732ba398402577
  • Vorgänger 78182bba
  • Nachfolger 9a703fae

update_exchangerate für Zahlungen auch bei manueller Verbuchung

Unterschiede anzeigen:

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