Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 87f31c6c

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

  • ID 87f31c6cf05add07e658c6d62774c1bc1b96e5d3
  • Vorgänger 58d7ffe9

Auswahlliste Skonto soll keinen Fehler an der Oberfläche werfen

Unterschiede anzeigen:

SL/DB/Helper/Payment.pm
741 741
  my $bt = SL::DB::BankTransaction->new(id => $bt_id)->load;
742 742
  croak "No Bank Transaction with ID $bt_id found" unless ref $bt eq 'SL::DB::BankTransaction';
743 743

  
744
  if ($self->within_skonto_period(transdate => $bt->transdate)) {
744
  if (eval { $self->within_skonto_period(transdate => $bt->transdate); 1; } ) {
745 745
    push(@options, { payment_type => 'without_skonto', display => t8('without skonto') });
746 746
    push(@options, { payment_type => 'with_skonto_pt', display => t8('with skonto acc. to pt'), selected => 1 });
747 747
  } else {

Auch abrufbar als: Unified diff