From: G. Richardson Date: Mon, 6 Jan 2014 18:16:39 +0000 (+0100) Subject: Bug #2042 - Unterschiedliche Anzeige Debitorenbuchung/Kreditorenbuchung X-Git-Tag: release-3.1.0beta1~22^2~40^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2b36e231155cdc8d2cc4c0fe2b515237bf40bf45;p=kivitendo-erp.git Bug #2042 - Unterschiedliche Anzeige Debitorenbuchung/Kreditorenbuchung es wurde ein nie gesetztes $taxincluded benutzt, um $form->{taxincluded} zu setzen. In AR und AP. behebt #2042 --- diff --git a/SL/AP.pm b/SL/AP.pm index 9215ab710..8c49bb35f 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -703,7 +703,7 @@ sub setup_form { my ($self, $form, $for_post_payments) = @_; my ($exchangerate, $i, $j, $k, $key, $akey, $ref, $index, $taxamount, $totalamount, $totaltax, $totalwithholding, $withholdingrate, - $taxincluded, $tax, $diff); + $tax, $diff); # forex $form->{forex} = $form->{exchangerate}; @@ -807,7 +807,6 @@ sub setup_form { } } - $form->{taxincluded} = $taxincluded if ($form->{id}); $form->{paidaccounts} = 1 if not defined $form->{paidaccounts}; if ($form->{taxincluded} && $form->{taxrate} && $totalamount) { diff --git a/SL/AR.pm b/SL/AR.pm index adffeb6bc..80fc8ef7a 100644 --- a/SL/AR.pm +++ b/SL/AR.pm @@ -638,7 +638,7 @@ sub setup_form { my ($self, $form, $for_post_payments) = @_; my ($exchangerate, $akey, $j, $k, $index, $taxamount, $totaltax, $taxrate, $diff, $totalwithholding, $withholdingrate, - $totalamount, $taxincluded, $tax); + $totalamount, $tax); # forex $form->{forex} = $form->{exchangerate}; @@ -722,7 +722,6 @@ sub setup_form { } } - $form->{taxincluded} = $taxincluded if ($form->{id}); $form->{paidaccounts} = 1 if not defined $form->{paidaccounts}; if ($form->{taxincluded} && $form->{taxrate} && $totalamount) {