Revision f2576234
Von Philip Reetz vor mehr als 19 Jahren hinzugefügt
SL/IS.pm | ||
---|---|---|
$linetotal = ($linetotal != 0) ? $linetotal : " ";
|
||
|
||
push(@{ $form->{discount} }, $discount);
|
||
push(@{ $form->{p_discount} }, $form->{"discount_$i"});
|
||
|
||
$form->{total} += $linetotal;
|
||
|
SL/OE.pm | ||
---|---|---|
$linetotal = ($linetotal != 0) ? $linetotal : " ";
|
||
|
||
push(@{ $form->{discount} }, $discount);
|
||
push(@{ $form->{p_discount} }, $form->{"discount_$i"});
|
||
|
||
$form->{ordtotal} += $linetotal;
|
||
|
Auch abrufbar als: Unified diff
Neue Variable p_discount = Rabattprozente pro Position fuer Rechnungen, Auftraege und Angebote eingefuert. Die Variable discount enthaelt den als Rabatt gewaehrten Betrag