Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 146e2f51

Von Jan Büren vor fast 2 Jahren hinzugefügt

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

update_exchangerate für Zahlungen auch bei manueller Verbuchung

Unterschiede anzeigen:

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

Auch abrufbar als: Unified diff