Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8c99664a

Von Philip Reetz vor mehr als 18 Jahren hinzugefügt

  • ID 8c99664a860b4aeef74c2311121134e8f01a69e2
  • Vorgänger b8008d65
  • Nachfolger 9dffa52a

Rabatt wurde fehlerhaft uebernommen beim Umwandeln von Angebot in Auftrag. Fixes Bug#270

Unterschiede anzeigen:

bin/mozilla/oe.pl
231 231
    }
232 232
    
233 233
    for my $i (1 .. $form->{rowcount}) {
234
       $form->{"discount_$i"} =
235
        $form->format_amount(\%myconfig, $form->{"discount_$i"} * 100);
236

  
234
      if ($form->{id}) {
235
        $form->{"discount_$i"} =
236
          $form->format_amount(\%myconfig, $form->{"discount_$i"} * 100);
237
      }
237 238
      ($dec) = ($form->{"sellprice_$i"} =~ /\.(\d+)/);    
238 239
      $dec           = length $dec;
239 240
      $decimalplaces = ($dec > 2) ? $dec : 2;

Auch abrufbar als: Unified diff