Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b82722d0

Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt

Margenberechnung mit Preisfaktor: Ek-Preis nicht durch Preisfaktor teilen, …

… denn dieser gilt ja weiterhin pro Stück (bzw. Einheit).

Behebt #6 (redmine)

Unterschiede anzeigen:

bin/mozilla/io.pl
} else {
$real_sellprice = $linetotal;
};
my $real_lastcost = $form->round_amount($form->{"lastcost_$i"} * $form->{"qty_$i"} / $price_factor, 2);
my $real_lastcost = $form->round_amount($form->{"lastcost_$i"} * $form->{"qty_$i"}, 2);
my $marge_percent_warn = $myconfig{marge_percent_warn} * 1 || 15;
my $marge_adjust_credit_note = $form->{type} eq 'credit_note' ? -1 : 1;

Auch abrufbar als: Unified diff