Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 22e89662

Von Sven Schöling vor mehr als 12 Jahren hinzugefügt

  • ID 22e896625b26471f6b91834d97eb8c8d2ca1f1e3
  • Vorgänger 9f4817cd
  • Nachfolger 919aac79

oldinvtotal wurde zu früh kopiert, so dass die Steuern nicht mitgeschleift wurden

Fix zu Bug 1413.

Unterschiede anzeigen:

bin/mozilla/is.pl
387 387
  $main::auth->assert('invoice_edit');
388 388

  
389 389
  $form->{invtotal}    = $form->{invsubtotal};
390
  $form->{oldinvtotal} = $form->{invtotal};
391 390

  
392 391
  # note rows
393 392
  $form->{rows} = max 2,
......
447 446
    $totalpaid += $form->{"paid_$i"};
448 447
  }
449 448

  
449
  $form->{oldinvtotal} = $form->{invtotal};
450

  
450 451
  print $form->parse_html_template('is/form_footer', {
451 452
    is_type_credit_note => ($form->{type} eq "credit_note"),
452 453
    totalpaid           => $totalpaid,

Auch abrufbar als: Unified diff