Revision a8428264
Von Bernd Blessmann vor fast 14 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
&& ($form->{"description_$i"} eq "")) {
|
||
$form->{rowcount}--;
|
||
$form->{"discount_$i"} = "";
|
||
$form->{"not_discountable_$i"} = "";
|
||
display_form();
|
||
|
||
} else {
|
||
... | ... | |
|
||
for my $i (1 .. $form->{rowcount}) {
|
||
# für bug 1284
|
||
if ($form->{discount}){ # Falls wir einen Lieferanten-/Kundenrabatt haben
|
||
# und keinen anderen discount wert an $i ...
|
||
$form->{"discount_$i"} ||= $form->{discount}*100; # ... nehmen wir diesen Rabatt
|
||
unless ($form->{"ordnumber"}) {
|
||
if ($form->{discount}) { # Falls wir einen Lieferanten-/Kundenrabatt haben
|
||
# und rabattfähig sind, dann
|
||
unless ($form->{"not_discountable_$i"}) {
|
||
$form->{"discount_$i"} = $form->{discount}*100; # ... nehmen wir diesen Rabatt
|
||
}
|
||
}
|
||
}
|
||
map { $form->{"${_}_${i}"} = $form->parse_amount(\%myconfig, $form->{"${_}_${i}"}) if $form->{"${_}_${i}"} } qw(ship qty sellprice listprice lastcost basefactor);
|
||
}
|
bin/mozilla/io.pl | ||
---|---|---|
|
||
if ($is_delivery_order) {
|
||
map { $form->{"${_}_${i}"} = $form->format_amount(\%myconfig, $form->{"${_}_${i}"}) } qw(sellprice discount lastcost);
|
||
push @hidden_vars, qw(sellprice discount price_factor_id lastcost);
|
||
push @hidden_vars, qw(sellprice discount not_discountable price_factor_id lastcost);
|
||
push @hidden_vars, "stock_${stock_in_out}_sum_qty", "stock_${stock_in_out}";
|
||
}
|
||
|
doc/changelog | ||
---|---|---|
- Bugfix 1633: Stammdatenaufruf aus SEPA-Modul
|
||
- Bugfix 1575: Kundenrabatt geht verloren
|
||
- Bugfix 1647: Lieferanten-Einkaufspreise verlieren Nachkommastellen
|
||
- Bugfix 1630: Rabatt wird auf der Rechnung auch auf nicht rabattierfähige Artikel gewährt
|
||
|
||
2011-02-02 - Release 2.6.2
|
||
|
Auch abrufbar als: Unified diff
Bug 1630: kein Rabatt auf nicht rabattierfähige Artikel
im workflow (Auftrag->)Lieferschein->Rechnung