From 880ae1e54dc200a828feb8bb0a0af1218cf1f171 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 2 Dec 2010 09:59:05 +0100 Subject: [PATCH] =?utf8?q?Unterscheidung=20Bankeinzug/=C3=9Cberweisung=20i?= =?utf8?q?n=20Suchmaske?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/sepa.pl | 3 ++- locale/de/all | 1 + templates/webpages/sepa/bank_transfer_search.html | 7 ++++--- 3 files changed, 7 insertions(+), 4 deletions(-) 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 @@

- - + + @@ -86,6 +86,7 @@

+

-- 2.20.1
[% 'Vendor' | $T8 %][%- IF vc == 'vendor' %][% 'Vendor' | $T8 %][%- ELSE %][%- LxERP.t8('Customer') %][%- END %]