Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f2576234

Von Philip Reetz vor mehr als 19 Jahren hinzugefügt

  • ID f257623461bda92a232a238a322f207b8964faab
  • Vorgänger cc63261c
  • Nachfolger 138a2f8d

Neue Variable p_discount = Rabattprozente pro Position fuer Rechnungen, Auftraege und Angebote eingefuert. Die Variable discount enthaelt den als Rabatt gewaehrten Betrag

Unterschiede anzeigen:

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