Projekt

Allgemein

Profil

Fehler #6 » marge.patch

Bernd Bleßmann, 30.11.2018 10:11

Unterschiede anzeigen:

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

  
    (1-1/1)