Revision 04aaacef
Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt
SL/Controller/CustomDataExport.pm | ||
---|---|---|
31 | 31 |
sub action_list { |
32 | 32 |
my ($self) = @_; |
33 | 33 |
|
34 |
$self->render('custom_data_export/list', title => $::locale->text('Execute a custom data export query'));
|
|
34 |
$self->render('custom_data_export/list', title => $::locale->text('Execute a custom report query'));
|
|
35 | 35 |
} |
36 | 36 |
|
37 | 37 |
sub action_export { |
... | ... | |
39 | 39 |
|
40 | 40 |
if (!$::form->{parameters_set}) { |
41 | 41 |
$self->setup_export_action_bar; |
42 |
return $self->render('custom_data_export/export', title => t8("Execute custom data export '#1'", $self->query->name));
|
|
42 |
return $self->render('custom_data_export/export', title => t8("Execute custom report '#1'", $self->query->name));
|
|
43 | 43 |
} |
44 | 44 |
|
45 | 45 |
$self->execute_query; |
46 | 46 |
|
47 | 47 |
if (scalar(@{ $self->rows // [] }) == 1) { |
48 | 48 |
$self->setup_empty_result_set_action_bar; |
49 |
return $self->render('custom_data_export/empty_result_set', title => t8("Execute custom data export '#1'", $self->query->name));
|
|
49 |
return $self->render('custom_data_export/empty_result_set', title => t8("Execute custom report '#1'", $self->query->name));
|
|
50 | 50 |
} |
51 | 51 |
|
52 | 52 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
... | ... | |
139 | 139 |
for my $bar ($::request->layout->get('actionbar')) { |
140 | 140 |
$bar->add( |
141 | 141 |
action => [ |
142 |
t8('Export'),
|
|
142 |
t8('Execute'),
|
|
143 | 143 |
submit => [ '#form', { action => 'CustomDataExport/export' } ], |
144 | 144 |
checks => [ 'kivi.validate_form' ], |
145 | 145 |
], |
SL/Controller/CustomDataExportDesigner.pm | ||
---|---|---|
27 | 27 |
my ($self) = @_; |
28 | 28 |
|
29 | 29 |
$self->setup_list_action_bar; |
30 |
$self->render('custom_data_export_designer/list', title => $::locale->text('Design custom data export queries'));
|
|
30 |
$self->render('custom_data_export_designer/list', title => $::locale->text('Design custom report queries'));
|
|
31 | 31 |
} |
32 | 32 |
|
33 | 33 |
sub action_edit { |
34 | 34 |
my ($self) = @_; |
35 | 35 |
|
36 |
my $title = $self->query->id ? t8('Edit custom data export query') : t8('Add custom data export query');
|
|
36 |
my $title = $self->query->id ? t8('Edit custom report query') : t8('Add custom report query');
|
|
37 | 37 |
|
38 | 38 |
$self->setup_edit_action_bar; |
39 | 39 |
$self->render('custom_data_export_designer/edit', title => $title); |
... | ... | |
42 | 42 |
sub action_edit_parameters { |
43 | 43 |
my ($self) = @_; |
44 | 44 |
|
45 |
my $title = $self->query->id ? t8('Edit custom data export query') : t8('Add custom data export query');
|
|
45 |
my $title = $self->query->id ? t8('Edit custom report query') : t8('Add custom report query');
|
|
46 | 46 |
my @parameters = $self->gather_query_data; |
47 | 47 |
|
48 | 48 |
$self->setup_edit_parameters_action_bar; |
... | ... | |
58 | 58 |
|
59 | 59 |
$self->query->save; |
60 | 60 |
|
61 |
flash_later('info', t8('The custom data export has been saved.'));
|
|
61 |
flash_later('info', t8('The custom report has been saved.'));
|
|
62 | 62 |
|
63 | 63 |
$self->redirect_to($self->url_for(action => 'list')); |
64 | 64 |
} |
... | ... | |
68 | 68 |
|
69 | 69 |
$self->query->delete; |
70 | 70 |
|
71 |
flash_later('info', t8('The custom data export has been deleted.'));
|
|
71 |
flash_later('info', t8('The custom report has been deleted.'));
|
|
72 | 72 |
|
73 | 73 |
$self->redirect_to($self->url_for(action => 'list')); |
74 | 74 |
} |
locale/de/all | ||
---|---|---|
225 | 225 |
'Add business' => 'Kunden-/Lieferantentyp hinzufügen', |
226 | 226 |
'Add complexity' => 'Komplexitätsgrad hinzufügen', |
227 | 227 |
'Add counted' => 'Hinzufügen', |
228 |
'Add custom data export query' => 'Benutzerdefinierte Datenexport-Abfrage erfassen',
|
|
228 |
'Add custom report query' => 'Benutzerdefinierte Berichts-Abfrage erfassen',
|
|
229 | 229 |
'Add custom variable' => 'Benutzerdefinierte Variable erfassen', |
230 | 230 |
'Add department' => 'Abteilung hinzufügen', |
231 | 231 |
'Add document for' => 'Dokument hinzügen für ', |
... | ... | |
950 | 950 |
'Custom Variable' => 'Benutzerdefinierte Variable', |
951 | 951 |
'Custom Variables' => 'Benutzerdefinierte Variablen', |
952 | 952 |
'Custom Variables (Abbreviation)' => '(BDV)', |
953 |
'Custom data export' => 'Benutzerdefinierter Datenexport',
|
|
953 |
'Custom report' => 'Benutzerdefinierter Bericht',
|
|
954 | 954 |
'Custom shipto' => 'Individuelle Lieferadresse', |
955 | 955 |
'Custom variables for module' => 'Benutzerdefinierte Variablen für Modul', |
956 | 956 |
'Customer' => 'Kunde', |
... | ... | |
1177 | 1177 |
'Description missing!' => 'Beschreibung fehlt.', |
1178 | 1178 |
'Description must not be empty.' => 'Beschreibung darf nicht leer sein.', |
1179 | 1179 |
'Description of #1' => 'Beschreibung von #1', |
1180 |
'Design custom data export queries' => 'Benutzerdefinierte Datenexport-Abfragen designen',
|
|
1180 |
'Design custom report queries' => 'Benutzerdefinierte Berichts-Abfragen designen',
|
|
1181 | 1181 |
'Destination BIC' => 'Ziel-BIC', |
1182 | 1182 |
'Destination IBAN' => 'Ziel-IBAN', |
1183 | 1183 |
'Destination bin' => 'Ziellagerplatz', |
... | ... | |
1386 | 1386 |
'Edit booking group' => 'Buchungsgruppe bearbeiten', |
1387 | 1387 |
'Edit business' => 'Kunden-/Lieferantentyp bearbeiten', |
1388 | 1388 |
'Edit complexity' => 'Komplexitätsgrad bearbeiten', |
1389 |
'Edit custom data export query' => 'Benutzerdefinierte Datenexport-Abfrage bearbeiten',
|
|
1389 |
'Edit custom report query' => 'Benutzerdefinierte Berichts-Abfrage bearbeiten',
|
|
1390 | 1390 |
'Edit custom shipto' => 'Individuelle Lieferadresse bearbeiten', |
1391 | 1391 |
'Edit custom variable' => 'Benutzerdefinierte Variable bearbeiten', |
1392 | 1392 |
'Edit delivery term' => 'Lieferbedingungen bearbeiten', |
... | ... | |
1598 | 1598 |
'Exchangerate for payment missing!' => 'Es fehlt der Wechselkurs für die Bezahlung!', |
1599 | 1599 |
'Exchangerate missing!' => 'Es fehlt der Wechselkurs!', |
1600 | 1600 |
'Execute' => 'Ausführen', |
1601 |
'Execute a custom data export query' => 'Benutzerdefinierte Datenexport-Abfrage ausführen',
|
|
1602 |
'Execute custom data export \'#1\'' => 'Benutzerdefinierter Datenexport »#1« ausführen',
|
|
1601 |
'Execute a custom report query' => 'Benutzerdefinierte Berichts-Abfrage ausführen',
|
|
1602 |
'Execute custom report \'#1\'' => 'Benutzerdefinierten Bericht »#1« ausführen',
|
|
1603 | 1603 |
'Executed' => 'Ausgeführt', |
1604 | 1604 |
'Execution Date = Invoice Duedate' => 'Ausführungsdatum = Fälligkeitsdatum', |
1605 | 1605 |
'Execution Date = Skonto Date' => 'Ausführungsdatum = Skonto-Datum', |
... | ... | |
2387 | 2387 |
'No clients have been created yet.' => 'Es wurden noch keine Mandanten angelegt.', |
2388 | 2388 |
'No contact selected to delete' => 'Keine Ansprechperson zum Löschen ausgewählt', |
2389 | 2389 |
'No contra account selected!' => 'Kein Gegenkonto ausgewählt!', |
2390 |
'No custom data exports have been created yet.' => 'Es wurden noch keine benutzerdefinierten Datenexporte angelegt.',
|
|
2390 |
'No custom reports have been created yet.' => 'Es wurden noch keine benutzerdefinierten Berichte angelegt.',
|
|
2391 | 2391 |
'No customer email' => 'Die E-Mail-Adresse des Kunden fehlt', |
2392 | 2392 |
'No customer has been selected yet.' => 'Es wurde noch kein Kunde ausgewählt.', |
2393 | 2393 |
'No customer selected or found!' => 'Kein Kunde selektiert oder keinen gefunden!', |
... | ... | |
3817 | 3817 |
'The creation of the authentication database failed:' => 'Das Anlegen der Authentifizierungsdatenbank schlug fehl:', |
3818 | 3818 |
'The credentials (username & password) for connecting database are wrong.' => 'Die Daten (Benutzername & Passwort) für das Login zur Datenbank sind falsch.', |
3819 | 3819 |
'The currency "#1" cannot be mapped to an ISO 4217 currency code.' => 'Die Währung "#1" kann keinem der bekannten ISO 4217-Codes zugeordnet werden.', |
3820 |
'The custom data export has been deleted.' => 'Der benutzerdefinierte Datenexport wurde gelöscht.',
|
|
3821 |
'The custom data export has been saved.' => 'Der benutzerdefinierte Datenexport wurde gespeichert.',
|
|
3820 |
'The custom report has been deleted.' => 'Der benutzerdefinierte Bericht wurde gelöscht.',
|
|
3821 |
'The custom report has been saved.' => 'Der benutzerdefinierte Bericht wurde gespeichert.',
|
|
3822 | 3822 |
'The custom variable has been created.' => 'Die benutzerdefinierte Variable wurde erfasst.', |
3823 | 3823 |
'The custom variable has been deleted.' => 'Die benutzerdefinierte Variable wurde gelöscht.', |
3824 | 3824 |
'The custom variable has been saved.' => 'Die benutzerdefinierte Variable wurde gespeichert.', |
... | ... | |
4629 | 4629 |
'You cannot modify individual assigments from additional articles to line items.' => 'Eine individuelle Zuordnung der zusätzlichen Artikel zu Positionen kann nicht vorgenommen werden.', |
4630 | 4630 |
'You cannot paste function blocks or sub function blocks if there is no section.' => 'Sie können keine Funktionsblöcke oder Unterfunktionsblöcke einfügen, wenn es noch keinen Abschnitt gibt.', |
4631 | 4631 |
'You cannot use a negative amount with debit/credit!' => 'Sie dürfen für Soll/Haben keine negativen Werte benutzen!', |
4632 |
'You do not have access to any custom data export.' => 'Sie haben auf keine benutzerdefinierten Datenexporte Zugriff.',
|
|
4632 |
'You do not have access to any custom report.' => 'Sie haben auf keine benutzerdefinierten Berichte Zugriff.',
|
|
4633 | 4633 |
'You do not have permission to access this entry.' => 'Sie verfügen nicht über die Berechtigung, auf diesen Eintrag zuzugreifen.', |
4634 | 4634 |
'You do not have the permissions to access this function.' => 'Sie verfügen nicht über die notwendigen Rechte, um auf diese Funktion zuzugreifen.', |
4635 | 4635 |
'You don\'t have the rights to edit this customer.' => 'Sie verfügen nicht über die erforderlichen Rechte, um diesen Kunden zu bearbeiten.', |
locale/en/all | ||
---|---|---|
225 | 225 |
'Add business' => '', |
226 | 226 |
'Add complexity' => '', |
227 | 227 |
'Add counted' => '', |
228 |
'Add custom data export query' => '',
|
|
228 |
'Add custom report query' => '',
|
|
229 | 229 |
'Add custom variable' => '', |
230 | 230 |
'Add department' => '', |
231 | 231 |
'Add document for' => '', |
... | ... | |
950 | 950 |
'Custom Variable' => '', |
951 | 951 |
'Custom Variables' => '', |
952 | 952 |
'Custom Variables (Abbreviation)' => '', |
953 |
'Custom data export' => '',
|
|
953 |
'Custom report' => '',
|
|
954 | 954 |
'Custom shipto' => '', |
955 | 955 |
'Custom variables for module' => '', |
956 | 956 |
'Customer' => '', |
... | ... | |
1177 | 1177 |
'Description missing!' => '', |
1178 | 1178 |
'Description must not be empty.' => '', |
1179 | 1179 |
'Description of #1' => '', |
1180 |
'Design custom data export queries' => '',
|
|
1180 |
'Design custom report queries' => '',
|
|
1181 | 1181 |
'Destination BIC' => '', |
1182 | 1182 |
'Destination IBAN' => '', |
1183 | 1183 |
'Destination bin' => '', |
... | ... | |
1386 | 1386 |
'Edit booking group' => '', |
1387 | 1387 |
'Edit business' => '', |
1388 | 1388 |
'Edit complexity' => '', |
1389 |
'Edit custom data export query' => '',
|
|
1389 |
'Edit custom report query' => '',
|
|
1390 | 1390 |
'Edit custom shipto' => '', |
1391 | 1391 |
'Edit custom variable' => '', |
1392 | 1392 |
'Edit delivery term' => '', |
... | ... | |
1598 | 1598 |
'Exchangerate for payment missing!' => '', |
1599 | 1599 |
'Exchangerate missing!' => '', |
1600 | 1600 |
'Execute' => '', |
1601 |
'Execute a custom data export query' => '',
|
|
1602 |
'Execute custom data export \'#1\'' => '',
|
|
1601 |
'Execute a custom report query' => '',
|
|
1602 |
'Execute custom report \'#1\'' => '',
|
|
1603 | 1603 |
'Executed' => '', |
1604 | 1604 |
'Execution Date = Invoice Duedate' => '', |
1605 | 1605 |
'Execution Date = Skonto Date' => '', |
... | ... | |
2386 | 2386 |
'No clients have been created yet.' => '', |
2387 | 2387 |
'No contact selected to delete' => '', |
2388 | 2388 |
'No contra account selected!' => '', |
2389 |
'No custom data exports have been created yet.' => '',
|
|
2389 |
'No custom reports have been created yet.' => '',
|
|
2390 | 2390 |
'No customer email' => '', |
2391 | 2391 |
'No customer has been selected yet.' => '', |
2392 | 2392 |
'No customer selected or found!' => '', |
... | ... | |
3815 | 3815 |
'The creation of the authentication database failed:' => '', |
3816 | 3816 |
'The credentials (username & password) for connecting database are wrong.' => '', |
3817 | 3817 |
'The currency "#1" cannot be mapped to an ISO 4217 currency code.' => '', |
3818 |
'The custom data export has been deleted.' => '',
|
|
3819 |
'The custom data export has been saved.' => '',
|
|
3818 |
'The custom report has been deleted.' => '',
|
|
3819 |
'The custom report has been saved.' => '',
|
|
3820 | 3820 |
'The custom variable has been created.' => '', |
3821 | 3821 |
'The custom variable has been deleted.' => '', |
3822 | 3822 |
'The custom variable has been saved.' => '', |
... | ... | |
4627 | 4627 |
'You cannot modify individual assigments from additional articles to line items.' => '', |
4628 | 4628 |
'You cannot paste function blocks or sub function blocks if there is no section.' => '', |
4629 | 4629 |
'You cannot use a negative amount with debit/credit!' => '', |
4630 |
'You do not have access to any custom data export.' => '',
|
|
4630 |
'You do not have access to any custom report.' => '',
|
|
4631 | 4631 |
'You do not have permission to access this entry.' => '', |
4632 | 4632 |
'You do not have the permissions to access this function.' => '', |
4633 | 4633 |
'You don\'t have the rights to edit this customer.' => '', |
menus/user/10-custom-data-export.yaml | ||
---|---|---|
1 | 1 |
--- |
2 | 2 |
- parent: reports |
3 | 3 |
id: custom_data_export |
4 |
name: Custom data export
|
|
4 |
name: Custom report
|
|
5 | 5 |
order: 9000 |
6 | 6 |
params: |
7 | 7 |
action: CustomDataExport/list |
8 | 8 |
- parent: system |
9 | 9 |
id: custom_data_export_designer |
10 |
name: Custom data export
|
|
10 |
name: Custom report
|
|
11 | 11 |
order: 2250 |
12 | 12 |
access: custom_data_export_designer |
13 | 13 |
params: |
templates/design40_webpages/custom_data_export/list.html | ||
---|---|---|
6 | 6 |
|
7 | 7 |
[% IF !SELF.queries.size %] |
8 | 8 |
<p> |
9 |
[%- LxERP.t8("You do not have access to any custom data export.") %]
|
|
9 |
[%- LxERP.t8("You do not have access to any custom report.") %]
|
|
10 | 10 |
</p> |
11 | 11 |
|
12 | 12 |
[%- ELSE %] |
templates/design40_webpages/custom_data_export_designer/list.html | ||
---|---|---|
7 | 7 |
|
8 | 8 |
[% IF !SELF.queries.size %] |
9 | 9 |
<p> |
10 |
[%- LxERP.t8("No custom data exports have been created yet.") %]
|
|
10 |
[%- LxERP.t8("No custom reports have been created yet.") %]
|
|
11 | 11 |
</p> |
12 | 12 |
|
13 | 13 |
[%- ELSE %] |
templates/webpages/custom_data_export/list.html | ||
---|---|---|
6 | 6 |
|
7 | 7 |
[% IF !SELF.queries.size %] |
8 | 8 |
<p> |
9 |
[%- LxERP.t8("You do not have access to any custom data export.") %]
|
|
9 |
[%- LxERP.t8("You do not have access to any custom report.") %]
|
|
10 | 10 |
</p> |
11 | 11 |
|
12 | 12 |
[%- ELSE %] |
templates/webpages/custom_data_export_designer/list.html | ||
---|---|---|
6 | 6 |
|
7 | 7 |
[% IF !SELF.queries.size %] |
8 | 8 |
<p> |
9 |
[%- LxERP.t8("No custom data exports have been created yet.") %]
|
|
9 |
[%- LxERP.t8("No custom reports have been created yet.") %]
|
|
10 | 10 |
</p> |
11 | 11 |
|
12 | 12 |
[%- ELSE %] |
Auch abrufbar als: Unified diff
"Benutzerdefinierte Datenexporte" in "Benutzerdefinierte Berichte" umbenannt
Nur Texte und Übersetzungen - nicht die Module und Routinen.