Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 96e97847

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

  • ID 96e97847ecc967803f0472b34af40a7e7e735c9a
  • Vorgänger 954a2c95
  • Nachfolger 86e1ecf3

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