Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e9b48f2e

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

  • ID e9b48f2e341ecccf81d7c34825760bf1c808aab4
  • Vorgänger 3ac8234a
  • Nachfolger d73d1806

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