projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Undefined chart bei taxkey 0 und 1
[kivitendo-erp.git]
/
SL
/
Form.pm
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
989a568
..
f946606
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-3474,9
+3474,9
@@
sub calculate_arap {
if ( $selected_tax ) {
if ( $buysell eq 'sell' ) {
if ( $selected_tax ) {
if ( $buysell eq 'sell' ) {
- $self->{AR_amounts}{"tax_$i"} = $selected_tax->chart->accno
unless $selected_tax->taxkey == 0
;
+ $self->{AR_amounts}{"tax_$i"} = $selected_tax->chart->accno
if defined $selected_tax->chart
;
} else {
} else {
- $self->{AP_amounts}{"tax_$i"} = $selected_tax->chart->accno
unless $selected_tax->taxkey == 0
;
+ $self->{AP_amounts}{"tax_$i"} = $selected_tax->chart->accno
if defined $selected_tax->chart
;
};
$self->{"taxkey_$i"} = $selected_tax->taxkey;
};
$self->{"taxkey_$i"} = $selected_tax->taxkey;