my $rows = SL::DB::Manager::CsvImportReportRow ->get_all(query => \@query);
my $status = SL::DB::Manager::CsvImportReportStatus->get_all(query => \@query);
+ $self->{num_errors} = SL::DB::Manager::CsvImportReportStatus->get_all_count(query => [csv_import_report_id => $report_id, type => 'errors']);
$self->{report_rows} = $self->{report}->folded_rows(rows => $rows);
$self->{report_status} = $self->{report}->folded_status(status => $status);
'Error: this feature requires that articles with a time-based unit (e.g. \'h\' or \'min\') exist.' => 'Fehler: dieses Feature setzt voraus, dass Artikel mit einer Zeit-basierenden Einheit (z.B. "Std") existieren.',
'Error: unknown local bank account' => 'Fehler: unbekannte Kontnummer',
'Error: unknown local bank account id' => 'Fehler: unbekannte Bankkonto-ID',
+ 'Errors' => 'Fehler',
'Errors during conversion:' => 'Umwandlungsfehler:',
'Errors during printing:' => 'Druckfehler:',
'Errors in GL transaction:' => 'Fehler in Dialogbuchung:',
'Error: this feature requires that articles with a time-based unit (e.g. \'h\' or \'min\') exist.' => '',
'Error: unknown local bank account' => '',
'Error: unknown local bank account id' => '',
+ 'Errors' => '',
'Errors during conversion:' => '',
'Errors during printing:' => '',
'Errors in GL transaction:' => '',
[%- ELSE %]
[%- LxERP.t8('Import result') %]
[%- END %]
+ [%- IF SELF.num_errors -%]
+ <font color="red">([%- SELF.num_errors -%] [%- LxERP.t8('Errors') -%])</font>
+ [%- END -%]
</h2>
[%- IF SELF.report.test_mode %]