Revision 04aaacef
Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt
SL/Controller/CustomDataExport.pm | ||
---|---|---|
sub action_list {
|
||
my ($self) = @_;
|
||
|
||
$self->render('custom_data_export/list', title => $::locale->text('Execute a custom data export query'));
|
||
$self->render('custom_data_export/list', title => $::locale->text('Execute a custom report query'));
|
||
}
|
||
|
||
sub action_export {
|
||
... | ... | |
|
||
if (!$::form->{parameters_set}) {
|
||
$self->setup_export_action_bar;
|
||
return $self->render('custom_data_export/export', title => t8("Execute custom data export '#1'", $self->query->name));
|
||
return $self->render('custom_data_export/export', title => t8("Execute custom report '#1'", $self->query->name));
|
||
}
|
||
|
||
$self->execute_query;
|
||
|
||
if (scalar(@{ $self->rows // [] }) == 1) {
|
||
$self->setup_empty_result_set_action_bar;
|
||
return $self->render('custom_data_export/empty_result_set', title => t8("Execute custom data export '#1'", $self->query->name));
|
||
return $self->render('custom_data_export/empty_result_set', title => t8("Execute custom report '#1'", $self->query->name));
|
||
}
|
||
|
||
my $report = SL::ReportGenerator->new(\%::myconfig, $::form);
|
||
... | ... | |
for my $bar ($::request->layout->get('actionbar')) {
|
||
$bar->add(
|
||
action => [
|
||
t8('Export'),
|
||
t8('Execute'),
|
||
submit => [ '#form', { action => 'CustomDataExport/export' } ],
|
||
checks => [ 'kivi.validate_form' ],
|
||
],
|
SL/Controller/CustomDataExportDesigner.pm | ||
---|---|---|
my ($self) = @_;
|
||
|
||
$self->setup_list_action_bar;
|
||
$self->render('custom_data_export_designer/list', title => $::locale->text('Design custom data export queries'));
|
||
$self->render('custom_data_export_designer/list', title => $::locale->text('Design custom report queries'));
|
||
}
|
||
|
||
sub action_edit {
|
||
my ($self) = @_;
|
||
|
||
my $title = $self->query->id ? t8('Edit custom data export query') : t8('Add custom data export query');
|
||
my $title = $self->query->id ? t8('Edit custom report query') : t8('Add custom report query');
|
||
|
||
$self->setup_edit_action_bar;
|
||
$self->render('custom_data_export_designer/edit', title => $title);
|
||
... | ... | |
sub action_edit_parameters {
|
||
my ($self) = @_;
|
||
|
||
my $title = $self->query->id ? t8('Edit custom data export query') : t8('Add custom data export query');
|
||
my $title = $self->query->id ? t8('Edit custom report query') : t8('Add custom report query');
|
||
my @parameters = $self->gather_query_data;
|
||
|
||
$self->setup_edit_parameters_action_bar;
|
||
... | ... | |
|
||
$self->query->save;
|
||
|
||
flash_later('info', t8('The custom data export has been saved.'));
|
||
flash_later('info', t8('The custom report has been saved.'));
|
||
|
||
$self->redirect_to($self->url_for(action => 'list'));
|
||
}
|
||
... | ... | |
|
||
$self->query->delete;
|
||
|
||
flash_later('info', t8('The custom data export has been deleted.'));
|
||
flash_later('info', t8('The custom report has been deleted.'));
|
||
|
||
$self->redirect_to($self->url_for(action => 'list'));
|
||
}
|
locale/de/all | ||
---|---|---|
'Add business' => 'Kunden-/Lieferantentyp hinzufügen',
|
||
'Add complexity' => 'Komplexitätsgrad hinzufügen',
|
||
'Add counted' => 'Hinzufügen',
|
||
'Add custom data export query' => 'Benutzerdefinierte Datenexport-Abfrage erfassen',
|
||
'Add custom report query' => 'Benutzerdefinierte Berichts-Abfrage erfassen',
|
||
'Add custom variable' => 'Benutzerdefinierte Variable erfassen',
|
||
'Add department' => 'Abteilung hinzufügen',
|
||
'Add document for' => 'Dokument hinzügen für ',
|
||
... | ... | |
'Custom Variable' => 'Benutzerdefinierte Variable',
|
||
'Custom Variables' => 'Benutzerdefinierte Variablen',
|
||
'Custom Variables (Abbreviation)' => '(BDV)',
|
||
'Custom data export' => 'Benutzerdefinierter Datenexport',
|
||
'Custom report' => 'Benutzerdefinierter Bericht',
|
||
'Custom shipto' => 'Individuelle Lieferadresse',
|
||
'Custom variables for module' => 'Benutzerdefinierte Variablen für Modul',
|
||
'Customer' => 'Kunde',
|
||
... | ... | |
'Description missing!' => 'Beschreibung fehlt.',
|
||
'Description must not be empty.' => 'Beschreibung darf nicht leer sein.',
|
||
'Description of #1' => 'Beschreibung von #1',
|
||
'Design custom data export queries' => 'Benutzerdefinierte Datenexport-Abfragen designen',
|
||
'Design custom report queries' => 'Benutzerdefinierte Berichts-Abfragen designen',
|
||
'Destination BIC' => 'Ziel-BIC',
|
||
'Destination IBAN' => 'Ziel-IBAN',
|
||
'Destination bin' => 'Ziellagerplatz',
|
||
... | ... | |
'Edit booking group' => 'Buchungsgruppe bearbeiten',
|
||
'Edit business' => 'Kunden-/Lieferantentyp bearbeiten',
|
||
'Edit complexity' => 'Komplexitätsgrad bearbeiten',
|
||
'Edit custom data export query' => 'Benutzerdefinierte Datenexport-Abfrage bearbeiten',
|
||
'Edit custom report query' => 'Benutzerdefinierte Berichts-Abfrage bearbeiten',
|
||
'Edit custom shipto' => 'Individuelle Lieferadresse bearbeiten',
|
||
'Edit custom variable' => 'Benutzerdefinierte Variable bearbeiten',
|
||
'Edit delivery term' => 'Lieferbedingungen bearbeiten',
|
||
... | ... | |
'Exchangerate for payment missing!' => 'Es fehlt der Wechselkurs für die Bezahlung!',
|
||
'Exchangerate missing!' => 'Es fehlt der Wechselkurs!',
|
||
'Execute' => 'Ausführen',
|
||
'Execute a custom data export query' => 'Benutzerdefinierte Datenexport-Abfrage ausführen',
|
||
'Execute custom data export \'#1\'' => 'Benutzerdefinierter Datenexport »#1« ausführen',
|
||
'Execute a custom report query' => 'Benutzerdefinierte Berichts-Abfrage ausführen',
|
||
'Execute custom report \'#1\'' => 'Benutzerdefinierten Bericht »#1« ausführen',
|
||
'Executed' => 'Ausgeführt',
|
||
'Execution Date = Invoice Duedate' => 'Ausführungsdatum = Fälligkeitsdatum',
|
||
'Execution Date = Skonto Date' => 'Ausführungsdatum = Skonto-Datum',
|
||
... | ... | |
'No clients have been created yet.' => 'Es wurden noch keine Mandanten angelegt.',
|
||
'No contact selected to delete' => 'Keine Ansprechperson zum Löschen ausgewählt',
|
||
'No contra account selected!' => 'Kein Gegenkonto ausgewählt!',
|
||
'No custom data exports have been created yet.' => 'Es wurden noch keine benutzerdefinierten Datenexporte angelegt.',
|
||
'No custom reports have been created yet.' => 'Es wurden noch keine benutzerdefinierten Berichte angelegt.',
|
||
'No customer email' => 'Die E-Mail-Adresse des Kunden fehlt',
|
||
'No customer has been selected yet.' => 'Es wurde noch kein Kunde ausgewählt.',
|
||
'No customer selected or found!' => 'Kein Kunde selektiert oder keinen gefunden!',
|
||
... | ... | |
'The creation of the authentication database failed:' => 'Das Anlegen der Authentifizierungsdatenbank schlug fehl:',
|
||
'The credentials (username & password) for connecting database are wrong.' => 'Die Daten (Benutzername & Passwort) für das Login zur Datenbank sind falsch.',
|
||
'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.',
|
||
'The custom data export has been deleted.' => 'Der benutzerdefinierte Datenexport wurde gelöscht.',
|
||
'The custom data export has been saved.' => 'Der benutzerdefinierte Datenexport wurde gespeichert.',
|
||
'The custom report has been deleted.' => 'Der benutzerdefinierte Bericht wurde gelöscht.',
|
||
'The custom report has been saved.' => 'Der benutzerdefinierte Bericht wurde gespeichert.',
|
||
'The custom variable has been created.' => 'Die benutzerdefinierte Variable wurde erfasst.',
|
||
'The custom variable has been deleted.' => 'Die benutzerdefinierte Variable wurde gelöscht.',
|
||
'The custom variable has been saved.' => 'Die benutzerdefinierte Variable wurde gespeichert.',
|
||
... | ... | |
'You cannot modify individual assigments from additional articles to line items.' => 'Eine individuelle Zuordnung der zusätzlichen Artikel zu Positionen kann nicht vorgenommen werden.',
|
||
'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.',
|
||
'You cannot use a negative amount with debit/credit!' => 'Sie dürfen für Soll/Haben keine negativen Werte benutzen!',
|
||
'You do not have access to any custom data export.' => 'Sie haben auf keine benutzerdefinierten Datenexporte Zugriff.',
|
||
'You do not have access to any custom report.' => 'Sie haben auf keine benutzerdefinierten Berichte Zugriff.',
|
||
'You do not have permission to access this entry.' => 'Sie verfügen nicht über die Berechtigung, auf diesen Eintrag zuzugreifen.',
|
||
'You do not have the permissions to access this function.' => 'Sie verfügen nicht über die notwendigen Rechte, um auf diese Funktion zuzugreifen.',
|
||
'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 | ||
---|---|---|
'Add business' => '',
|
||
'Add complexity' => '',
|
||
'Add counted' => '',
|
||
'Add custom data export query' => '',
|
||
'Add custom report query' => '',
|
||
'Add custom variable' => '',
|
||
'Add department' => '',
|
||
'Add document for' => '',
|
||
... | ... | |
'Custom Variable' => '',
|
||
'Custom Variables' => '',
|
||
'Custom Variables (Abbreviation)' => '',
|
||
'Custom data export' => '',
|
||
'Custom report' => '',
|
||
'Custom shipto' => '',
|
||
'Custom variables for module' => '',
|
||
'Customer' => '',
|
||
... | ... | |
'Description missing!' => '',
|
||
'Description must not be empty.' => '',
|
||
'Description of #1' => '',
|
||
'Design custom data export queries' => '',
|
||
'Design custom report queries' => '',
|
||
'Destination BIC' => '',
|
||
'Destination IBAN' => '',
|
||
'Destination bin' => '',
|
||
... | ... | |
'Edit booking group' => '',
|
||
'Edit business' => '',
|
||
'Edit complexity' => '',
|
||
'Edit custom data export query' => '',
|
||
'Edit custom report query' => '',
|
||
'Edit custom shipto' => '',
|
||
'Edit custom variable' => '',
|
||
'Edit delivery term' => '',
|
||
... | ... | |
'Exchangerate for payment missing!' => '',
|
||
'Exchangerate missing!' => '',
|
||
'Execute' => '',
|
||
'Execute a custom data export query' => '',
|
||
'Execute custom data export \'#1\'' => '',
|
||
'Execute a custom report query' => '',
|
||
'Execute custom report \'#1\'' => '',
|
||
'Executed' => '',
|
||
'Execution Date = Invoice Duedate' => '',
|
||
'Execution Date = Skonto Date' => '',
|
||
... | ... | |
'No clients have been created yet.' => '',
|
||
'No contact selected to delete' => '',
|
||
'No contra account selected!' => '',
|
||
'No custom data exports have been created yet.' => '',
|
||
'No custom reports have been created yet.' => '',
|
||
'No customer email' => '',
|
||
'No customer has been selected yet.' => '',
|
||
'No customer selected or found!' => '',
|
||
... | ... | |
'The creation of the authentication database failed:' => '',
|
||
'The credentials (username & password) for connecting database are wrong.' => '',
|
||
'The currency "#1" cannot be mapped to an ISO 4217 currency code.' => '',
|
||
'The custom data export has been deleted.' => '',
|
||
'The custom data export has been saved.' => '',
|
||
'The custom report has been deleted.' => '',
|
||
'The custom report has been saved.' => '',
|
||
'The custom variable has been created.' => '',
|
||
'The custom variable has been deleted.' => '',
|
||
'The custom variable has been saved.' => '',
|
||
... | ... | |
'You cannot modify individual assigments from additional articles to line items.' => '',
|
||
'You cannot paste function blocks or sub function blocks if there is no section.' => '',
|
||
'You cannot use a negative amount with debit/credit!' => '',
|
||
'You do not have access to any custom data export.' => '',
|
||
'You do not have access to any custom report.' => '',
|
||
'You do not have permission to access this entry.' => '',
|
||
'You do not have the permissions to access this function.' => '',
|
||
'You don\'t have the rights to edit this customer.' => '',
|
menus/user/10-custom-data-export.yaml | ||
---|---|---|
---
|
||
- parent: reports
|
||
id: custom_data_export
|
||
name: Custom data export
|
||
name: Custom report
|
||
order: 9000
|
||
params:
|
||
action: CustomDataExport/list
|
||
- parent: system
|
||
id: custom_data_export_designer
|
||
name: Custom data export
|
||
name: Custom report
|
||
order: 2250
|
||
access: custom_data_export_designer
|
||
params:
|
templates/design40_webpages/custom_data_export/list.html | ||
---|---|---|
|
||
[% IF !SELF.queries.size %]
|
||
<p>
|
||
[%- LxERP.t8("You do not have access to any custom data export.") %]
|
||
[%- LxERP.t8("You do not have access to any custom report.") %]
|
||
</p>
|
||
|
||
[%- ELSE %]
|
templates/design40_webpages/custom_data_export_designer/list.html | ||
---|---|---|
|
||
[% IF !SELF.queries.size %]
|
||
<p>
|
||
[%- LxERP.t8("No custom data exports have been created yet.") %]
|
||
[%- LxERP.t8("No custom reports have been created yet.") %]
|
||
</p>
|
||
|
||
[%- ELSE %]
|
templates/webpages/custom_data_export/list.html | ||
---|---|---|
|
||
[% IF !SELF.queries.size %]
|
||
<p>
|
||
[%- LxERP.t8("You do not have access to any custom data export.") %]
|
||
[%- LxERP.t8("You do not have access to any custom report.") %]
|
||
</p>
|
||
|
||
[%- ELSE %]
|
templates/webpages/custom_data_export_designer/list.html | ||
---|---|---|
|
||
[% IF !SELF.queries.size %]
|
||
<p>
|
||
[%- LxERP.t8("No custom data exports have been created yet.") %]
|
||
[%- LxERP.t8("No custom reports have been created yet.") %]
|
||
</p>
|
||
|
||
[%- ELSE %]
|
Auch abrufbar als: Unified diff
"Benutzerdefinierte Datenexporte" in "Benutzerdefinierte Berichte" umbenannt
Nur Texte und Übersetzungen - nicht die Module und Routinen.