Revision f6a19bfe
SL/DATEV.pm | ||
---|---|---|
991 | 991 |
# set lock for each transaction |
992 | 992 |
$datev_data{locked} = $self->locked; |
993 | 993 |
# add guids if datev export with documents is requested |
994 |
# no records for bank transactions with ar or ap |
|
995 |
# die Dumper($transaction->[$haben]->{link}) if $transaction->[$haben]->{link} =~ m/paid/; |
|
996 |
if ( $self->documents && ($transaction->[$haben]->{table} eq 'gl' |
|
997 |
|| ($datev_data{konto} !~ m/(1810|1370)/ && $datev_data{gegenkonto} !~ m/(1810|1370)/ )) ) { |
|
994 |
if ($self->documents) { |
|
998 | 995 |
# add all document links for the latest created/uploaded document |
999 | 996 |
my $latest_document = SL::DB::Manager::File->get_first(query => |
1000 | 997 |
[ |
... | ... | |
1025 | 1022 |
# } |
1026 | 1023 |
} |
1027 | 1024 |
} |
1028 |
# keine kommerzbank daten exportieren |
|
1029 |
next if ($datev_data{konto} eq '1800' || $datev_data{gegenkonto} eq '1800'); |
|
1030 | 1025 |
|
1031 | 1026 |
push(@datev_lines, \%datev_data) if $datev_data{umsatz}; |
1032 | 1027 |
} |
Auch abrufbar als: Unified diff
Dokumente unabhängig von Umlaufkonten raussuchen