Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2b88ba77

Von Jan Büren vor mehr als 14 Jahren hinzugefügt

  • ID 2b88ba777cb754d5576107db85e7301020e51724
  • Vorgänger f28ad035
  • Nachfolger 79783496

Endlich der Bugfix für 1284. Kundenrabatt wird nicht aus dem Lieferschein übernommen.

Unterschiede anzeigen:

SL/DO.pm
280 280
    $form->{"lastcost_$i"} *= 1;
281 281

  
282 282
    # set values to 0 if nothing entered
283
    $form->{"discount_$i"}  = $form->parse_amount($myconfig, $form->{"discount_$i"}) / 100;
283
    $form->{"discount_$i"}  = $form->parse_amount($myconfig, $form->{"discount_$i"});
284 284
    $form->{"sellprice_$i"} = $form->parse_amount($myconfig, $form->{"sellprice_$i"});
285 285

  
286 286
    $price_factor = $price_factors{ $form->{"price_factor_id_$i"} } || 1;
......
295 295
    @values = (conv_i($item_id), conv_i($form->{id}), conv_i($form->{"id_$i"}),
296 296
               $form->{"description_$i"}, $form->{"longdescription_$i"},
297 297
               $form->{"qty_$i"}, $baseqty,
298
               $form->{"sellprice_$i"}, $form->{"discount_$i"},
298
               $form->{"sellprice_$i"}, $form->{"discount_$i"} / 100,
299 299
               $form->{"unit_$i"}, conv_date($reqdate), conv_i($form->{"project_id_$i"}),
300 300
               $form->{"serialnumber_$i"},
301 301
               $form->{"ordnumber_$i"}, conv_date($form->{"transdate_$i"}),

Auch abrufbar als: Unified diff