From: Holger Lindemann Date: Mon, 29 Jan 2007 13:41:28 +0000 (+0000) Subject: Rundungsfehler invtotal - paid X-Git-Tag: release-2.4.2~223 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1faf637bfd4e9c4c4470a595b83ca8c44128f911;p=kivitendo-erp.git Rundungsfehler invtotal - paid --- diff --git a/SL/IS.pm b/SL/IS.pm index 68989b372..57d4a6c92 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -355,11 +355,11 @@ sub invoice_details { $form->{invtotal} = ($form->{taxincluded}) ? $form->{total} : $form->{total} + $tax; + $form->{invtotal} = $form->format_amount($myconfig, $form->{invtotal}, 2); + $form->{paid} = $form->format_amount($myconfig, $form->{paid}, 2); $form->{total} = $form->format_amount($myconfig, $form->{invtotal} - $form->{paid}, 2); - $form->{invtotal} = $form->format_amount($myconfig, $form->{invtotal}, 2); $form->set_payment_options($myconfig, $form->{invdate}); - $form->{paid} = $form->format_amount($myconfig, $form->{paid}, 2); $form->{username} = $myconfig->{name};