Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8d926ab8

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

  • ID 8d926ab8c56f2bc652f355558225d5a522905ed6
  • Vorgänger 6d1ff65b
  • Nachfolger 4675fbfb

Form:check_exchangerate: Fall bank_transactions macht keinen Sinn

Unterschiede anzeigen:

SL/Form.pm
{ type => SCALAR, callbacks => { is_valid_kivi_date => sub { shift =~ m/\d+\d+\d+/ } } }, # we have three numers
{ type => SCALAR, callbacks => { is_buy_or_sell_rate => sub { shift =~ m/^buy|sell$/ } } },
{ type => SCALAR, callbacks => { is_current_form_id => sub { $_[0] == $_[1]->[0]->{id} } }, optional => 1 },
{ type => SCALAR, callbacks => { is_valid_fx_table => sub { shift =~ m/(ar|ap|bank_transactions)/ } }, optional => 1 }
{ type => SCALAR, callbacks => { is_valid_fx_table => sub { shift =~ m/(ar|ap)/ } }, optional => 1 }
);
my ($self, $myconfig, $currency, $transdate, $fld, $id, $record_table) = @_;

Auch abrufbar als: Unified diff