Revision 28b3d021
Von Sven Schöling vor fast 9 Jahren hinzugefügt
SL/Controller/CsvImport/ARTransaction.pm | ||
---|---|---|
540 | 540 |
$ar_entry = $entry; # remember as last ar_entry |
541 | 541 |
|
542 | 542 |
} elsif ( defined $ar_entry && $entry->{raw_data}->{datatype} eq $self->_transaction_column ) { |
543 |
push @{ $entry->{errors} }, $::locale->text('no tax_id in acc_trans') unless $entry->{object}->tax_id || $entry->{object}->tax_id == 0;
|
|
543 |
push @{ $entry->{errors} }, $::locale->text('no tax_id in acc_trans') if !defined $entry->{object}->tax_id;
|
|
544 | 544 |
next if @{ $entry->{errors} }; |
545 | 545 |
|
546 | 546 |
my $acc_trans_objects = $ar_entry->{object}->add_ar_amount_row( |
Auch abrufbar als: Unified diff
CsvImport/ARTransactions: fehlerhafter check auf undefinierte tax_id