Revision 2b36e231
Von Kivitendo Admin vor fast 11 Jahren hinzugefügt
SL/AP.pm | ||
---|---|---|
703 | 703 |
my ($self, $form, $for_post_payments) = @_; |
704 | 704 |
|
705 | 705 |
my ($exchangerate, $i, $j, $k, $key, $akey, $ref, $index, $taxamount, $totalamount, $totaltax, $totalwithholding, $withholdingrate, |
706 |
$taxincluded, $tax, $diff);
|
|
706 |
$tax, $diff); |
|
707 | 707 |
|
708 | 708 |
# forex |
709 | 709 |
$form->{forex} = $form->{exchangerate}; |
... | ... | |
807 | 807 |
} |
808 | 808 |
} |
809 | 809 |
|
810 |
$form->{taxincluded} = $taxincluded if ($form->{id}); |
|
811 | 810 |
$form->{paidaccounts} = 1 if not defined $form->{paidaccounts}; |
812 | 811 |
|
813 | 812 |
if ($form->{taxincluded} && $form->{taxrate} && $totalamount) { |
SL/AR.pm | ||
---|---|---|
638 | 638 |
my ($self, $form, $for_post_payments) = @_; |
639 | 639 |
|
640 | 640 |
my ($exchangerate, $akey, $j, $k, $index, $taxamount, $totaltax, $taxrate, $diff, $totalwithholding, $withholdingrate, |
641 |
$totalamount, $taxincluded, $tax);
|
|
641 |
$totalamount, $tax); |
|
642 | 642 |
|
643 | 643 |
# forex |
644 | 644 |
$form->{forex} = $form->{exchangerate}; |
... | ... | |
722 | 722 |
} |
723 | 723 |
} |
724 | 724 |
|
725 |
$form->{taxincluded} = $taxincluded if ($form->{id}); |
|
726 | 725 |
$form->{paidaccounts} = 1 if not defined $form->{paidaccounts}; |
727 | 726 |
|
728 | 727 |
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