From: Bernd Bleßmann Date: Wed, 22 Dec 2021 13:18:40 +0000 (+0100) Subject: Anzahlungs-Rg.: Druckvariblen: Schlussbetrag X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~217^2~13 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2ed8c38bee7f054cc7f10a7e029009125a119eb6;p=kivitendo-erp.git Anzahlungs-Rg.: Druckvariblen: Schlussbetrag --- diff --git a/SL/IS.pm b/SL/IS.pm index 4c3e6ff72..f2e0f77f9 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -567,6 +567,11 @@ sub invoice_details { 2 ); + $form->{rounding_nofmt} = $form->{rounding}; + $form->{total_nofmt} = $form->{total}; + $form->{invtotal_nofmt} = $form->{invtotal}; + $form->{paid_nofmt} = $form->{paid}; + $form->{rounding} = $form->format_amount($myconfig, $form->{rounding}, 2); $form->{total} = $form->format_amount($myconfig, $form->{invtotal} - $form->{paid}, 2); $form->{invtotal} = $form->format_amount($myconfig, $form->{invtotal}, 2); @@ -610,6 +615,9 @@ sub invoice_details { $form->{iap_taxamount} = $form->format_amount($myconfig, $form->{iap_taxamount_nofmt}, 2); $form->{iap_open_amount} = $form->format_amount($myconfig, $form->{iap_open_amount_nofmt}, 2); + $form->{iap_final_amount_nofmt} = $form->{invtotal_nofmt} - $form->{iap_amount_nofmt}; + $form->{iap_final_amount} = $form->format_amount($myconfig, $form->{iap_final_amount_nofmt}, 2); + $main::lxdebug->leave_sub(); }