X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8c89bb02f1e21e7f1d0d0152ef992b137dc47068..d05eb259dd6b68cc75c29aa32961cdfce40bc45e:/SL/IS.pm 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};