Revision 2b36e231
Von Kivitendo Admin vor etwa 11 Jahren hinzugefügt
SL/AP.pm | ||
---|---|---|
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};
|
||
... | ... | |
}
|
||
}
|
||
|
||
$form->{taxincluded} = $taxincluded if ($form->{id});
|
||
$form->{paidaccounts} = 1 if not defined $form->{paidaccounts};
|
||
|
||
if ($form->{taxincluded} && $form->{taxrate} && $totalamount) {
|
SL/AR.pm | ||
---|---|---|
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};
|
||
... | ... | |
}
|
||
}
|
||
|
||
$form->{taxincluded} = $taxincluded if ($form->{id});
|
||
$form->{paidaccounts} = 1 if not defined $form->{paidaccounts};
|
||
|
||
if ($form->{taxincluded} && $form->{taxrate} && $totalamount) {
|
Auch abrufbar als: Unified diff
Bug #2042 - Unterschiedliche Anzeige Debitorenbuchung/Kreditorenbuchung
es wurde ein nie gesetztes $taxincluded benutzt, um $form->{taxincluded}
zu setzen. In AR und AP.
behebt #2042