Revision 422f2f17
Von Rolf Fluehmann vor mehr als 8 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
533 | 533 |
</tr> |; |
534 | 534 |
} |
535 | 535 |
} |
536 |
|
|
537 |
# $form->{invsubtotal} = $form->format_amount(\%myconfig, $form->{invsubtotal}, 2, 0); # template does this |
|
538 |
|
|
539 | 536 |
} else { |
540 | 537 |
foreach my $item (split / /, $form->{taxaccounts}) { |
541 | 538 |
if ($form->{"${item}_base"}) { |
... | ... | |
557 | 554 |
} |
558 | 555 |
} |
559 | 556 |
|
557 |
$form->{rounding} = $form->round_amount( |
|
558 |
$form->round_amount($form->{invtotal}, 2, 1) - $form->round_amount($form->{invtotal}, 2) |
|
559 |
); |
|
560 |
$form->{invtotal} = $form->round_amount( $form->{invtotal}, 2, 1); |
|
560 | 561 |
$form->{oldinvtotal} = $form->{invtotal}; |
561 | 562 |
|
562 | 563 |
$TMPL_VAR{ALL_DELIVERY_TERMS} = SL::DB::Manager::DeliveryTerm->get_all_sorted(); |
Auch abrufbar als: Unified diff
Belege runden, und Rundungsdifferenzen auf Extrakonten buchen.