Revision 8e258f81
Von Bernd Bleßmann vor mehr als 4 Jahren hinzugefügt
SL/Controller/CsvImport.pm | ||
---|---|---|
205 | 205 |
|
206 | 206 |
my $rows = SL::DB::Manager::CsvImportReportRow ->get_all(query => \@query); |
207 | 207 |
my $status = SL::DB::Manager::CsvImportReportStatus->get_all(query => \@query); |
208 |
$self->{num_errors} = SL::DB::Manager::CsvImportReportStatus->get_all_count(query => [csv_import_report_id => $report_id, type => 'errors']); |
|
208 | 209 |
|
209 | 210 |
$self->{report_rows} = $self->{report}->folded_rows(rows => $rows); |
210 | 211 |
$self->{report_status} = $self->{report}->folded_status(status => $status); |
locale/de/all | ||
---|---|---|
1355 | 1355 |
'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.', |
1356 | 1356 |
'Error: unknown local bank account' => 'Fehler: unbekannte Kontnummer', |
1357 | 1357 |
'Error: unknown local bank account id' => 'Fehler: unbekannte Bankkonto-ID', |
1358 |
'Errors' => 'Fehler', |
|
1358 | 1359 |
'Errors during conversion:' => 'Umwandlungsfehler:', |
1359 | 1360 |
'Errors during printing:' => 'Druckfehler:', |
1360 | 1361 |
'Errors in GL transaction:' => 'Fehler in Dialogbuchung:', |
locale/en/all | ||
---|---|---|
1355 | 1355 |
'Error: this feature requires that articles with a time-based unit (e.g. \'h\' or \'min\') exist.' => '', |
1356 | 1356 |
'Error: unknown local bank account' => '', |
1357 | 1357 |
'Error: unknown local bank account id' => '', |
1358 |
'Errors' => '', |
|
1358 | 1359 |
'Errors during conversion:' => '', |
1359 | 1360 |
'Errors during printing:' => '', |
1360 | 1361 |
'Errors in GL transaction:' => '', |
templates/webpages/csv_import/report.html | ||
---|---|---|
7 | 7 |
[%- ELSE %] |
8 | 8 |
[%- LxERP.t8('Import result') %] |
9 | 9 |
[%- END %] |
10 |
[%- IF SELF.num_errors -%] |
|
11 |
<font color="red">([%- SELF.num_errors -%] [%- LxERP.t8('Errors') -%])</font> |
|
12 |
[%- END -%] |
|
10 | 13 |
</h2> |
11 | 14 |
|
12 | 15 |
[%- IF SELF.report.test_mode %] |
Auch abrufbar als: Unified diff
CsvImport: Anzahl der Fehler beim Ergebnis anzeigen