From: Moritz Bunkus
Date: Thu, 2 Dec 2010 08:59:05 +0000 (+0100)
Subject: Unterscheidung Bankeinzug/Überweisung in Suchmaske
X-Git-Tag: release-2.6.2beta1~73^2~5^2~9
X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=880ae1e54dc200a828feb8bb0a0af1218cf1f171;p=kivitendo-erp.git
Unterscheidung Bankeinzug/Überweisung in Suchmaske
---
diff --git a/bin/mozilla/sepa.pl b/bin/mozilla/sepa.pl
index aaa875d3e..440dc2e4b 100755
--- a/bin/mozilla/sepa.pl
+++ b/bin/mozilla/sepa.pl
@@ -149,8 +149,9 @@ sub bank_transfer_search {
my $form = $main::form;
my $locale = $main::locale;
+ my $vc = $form->{vc} eq 'customer' ? 'customer' : 'vendor';
- $form->{title} = $locale->text('List of bank transfers');
+ $form->{title} = $vc eq 'customer' ? $::locale->text('List of bank collections') : $locale->text('List of bank transfers');
$form->{jsscript} = 1;
$form->header();
diff --git a/locale/de/all b/locale/de/all
index fa9454671..883d661e5 100644
--- a/locale/de/all
+++ b/locale/de/all
@@ -957,6 +957,7 @@ $self->{texts} = {
'List bank accounts' => 'Bankkonten anzeigen',
'List export' => 'Export anzeigen',
'List of bank accounts' => 'Liste der Bankkonten',
+ 'List of bank collections' => 'Bankeinzugsliste',
'List of bank transfers' => 'Überweisungsliste',
'List of custom variables' => 'Liste der benutzerdefinierten Variablen',
'List open SEPA exports' => 'Noch nicht ausgeführte SEPA-Exporte anzeigen',
diff --git a/templates/webpages/sepa/bank_transfer_search.html b/templates/webpages/sepa/bank_transfer_search.html
index 306179fe5..bc60d8850 100644
--- a/templates/webpages/sepa/bank_transfer_search.html
+++ b/templates/webpages/sepa/bank_transfer_search.html
@@ -1,5 +1,5 @@
[%- USE T8 %]
-[% USE HTML %]
+[% USE HTML %][% USE LxERP %]
[% title %]
@@ -8,8 +8,8 @@