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:

SL/Form.pm
1435 1435
                 { type => SCALAR, callbacks  => { is_valid_kivi_date => sub { shift =~ m/\d+\d+\d+/ } } }, # we have three numers
1436 1436
                 { type => SCALAR, callbacks  => { is_null_or_ar_int  => sub {    $_[0] == 0
1437 1437
                                                                               || $_[0] >  0
1438
                                                                               && $_[1]->[0]->{script} =~ m/ar\.pl|is\.pl/ } } }, # value buy fxrate
1438
                                                                               && $_[1]->[0]->{script} =~ m/cp\.pl|ar\.pl|is\.pl/ } } }, # value buy fxrate
1439 1439
                 { type => SCALAR, callbacks  => { is_null_or_ap_int  => sub {    $_[0] == 0
1440 1440
                                                                               || $_[0] >  0
1441
                                                                               && $_[1]->[0]->{script} =~ m/ap\.pl|ir\.pl/  } } }, # value sell fxrate
1441
                                                                               && $_[1]->[0]->{script} =~ m/cp\.pl|ap\.pl|ir\.pl/  } } }, # value sell fxrate
1442 1442
                 { type => SCALAR, callbacks  => { is_current_form_id => sub { $_[0] == $_[1]->[0]->{id} } },              optional => 1 },
1443 1443
                 { type => SCALAR, callbacks  => { is_valid_fx_table  => sub { shift =~ m/(ar|ap|bank_transactions)/  } }, optional => 1 }
1444 1444
              );

Auch abrufbar als: Unified diff