Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b15c7890

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

  • ID b15c78907e6ff932a93752bc2e89b3b7488d9b50
  • Vorgänger 36a93d2e
  • Nachfolger 913d1c30

Wechselkurs verbuchen erstmal nicht mit Skonto-Verbuchen komibinierbar

Unterschiede anzeigen:

SL/DB/Helper/Payment.pm
my @options;
# 1. no skonto available -> done
if(!$self->skonto_date) {
# 1. no sane skonto support for foreign currency yet
if ($self->forex) {
push(@options, { payment_type => 'without_skonto', display => t8('without skonto'), selected => 1 });
return @options;
}
# 2. no skonto available -> done
if (!$self->skonto_date) {
push(@options, { payment_type => 'without_skonto', display => t8('without skonto'), selected => 1 });
push(@options, { payment_type => 'free_skonto', display => t8('free skonto') });
return @options;

Auch abrufbar als: Unified diff