Revision 030c2086
Von Rolf Fluehmann vor mehr als 8 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
539 | 539 |
</tr> |; |
540 | 540 |
} |
541 | 541 |
} |
542 |
|
|
543 |
# $form->{invsubtotal} = $form->format_amount(\%myconfig, $form->{invsubtotal}, 2, 0); # template does this |
|
544 |
|
|
545 | 542 |
} else { |
546 | 543 |
foreach my $item (split / /, $form->{taxaccounts}) { |
547 | 544 |
if ($form->{"${item}_base"}) { |
... | ... | |
563 | 560 |
} |
564 | 561 |
} |
565 | 562 |
|
563 |
my $grossamount = $form->{invtotal}; |
|
564 |
$form->{invtotal} = $form->round_amount( $form->{invtotal}, 2, 1); |
|
565 |
$form->{rounding} = $form->round_amount( |
|
566 |
$form->{invtotal} - $form->round_amount($grossamount, 2), |
|
567 |
2 |
|
568 |
); |
|
566 | 569 |
$form->{oldinvtotal} = $form->{invtotal}; |
567 | 570 |
|
568 | 571 |
$TMPL_VAR{ALL_DELIVERY_TERMS} = SL::DB::Manager::DeliveryTerm->get_all_sorted(); |
Auch abrufbar als: Unified diff
Belege runden, und Rundungsdifferenzen auf Extrakonten buchen.