X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FIS.pm;h=f546b51078036e56789b0f11d09c5b27debdca39;hb=2b664a1f4dd6615a44d6b6aeafca35dc7c6c7984;hp=57d4a6c92c192bd9dadfb69e433d7c26999ea176;hpb=1faf637bfd4e9c4c4470a595b83ca8c44128f911;p=kivitendo-erp.git diff --git a/SL/IS.pm b/SL/IS.pm index 57d4a6c92..f546b5107 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -355,10 +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->{paid} = $form->format_amount($myconfig, $form->{paid}, 2); $form->set_payment_options($myconfig, $form->{invdate}); $form->{username} = $myconfig->{name};