From 7a64a31eaa7e82d23f1caab65f72d886ba21b781 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 7 Jan 2014 17:22:03 +0100 Subject: [PATCH] Kunden-/Lieferantenstammdaten: Bankkonto auf eigenen Tab verschoben --- locale/de/all | 1 + templates/webpages/customer_vendor/form.html | 3 +- .../webpages/customer_vendor/tabs/bank.html | 44 +++++++++++++++++++ .../customer_vendor/tabs/billing.html | 39 +--------------- 4 files changed, 49 insertions(+), 38 deletions(-) create mode 100644 templates/webpages/customer_vendor/tabs/bank.html diff --git a/locale/de/all b/locale/de/all index 052823046..14fdcf7d0 100755 --- a/locale/de/all +++ b/locale/de/all @@ -278,6 +278,7 @@ $self->{texts} = { 'Bank Code Number' => 'Bankleitzahl', 'Bank Connection Tax Office' => 'Bankverbindung des Finanzamts', 'Bank Connections' => 'Bankverbindungen', + 'Bank account' => 'Bankkonto', 'Bank accounts' => 'Bankkonten', 'Bank code' => 'Bankleitzahl', 'Bank collection amount' => 'Einzugsbetrag', diff --git a/templates/webpages/customer_vendor/form.html b/templates/webpages/customer_vendor/form.html index a0d1ab951..ad2da05ab 100644 --- a/templates/webpages/customer_vendor/form.html +++ b/templates/webpages/customer_vendor/form.html @@ -16,6 +16,7 @@
[% PROCESS "customer_vendor/tabs/billing.html" %] + [% PROCESS "customer_vendor/tabs/bank.html" %] [% PROCESS "customer_vendor/tabs/shipto.html" %] [% PROCESS "customer_vendor/tabs/contacts.html" %] [% IF ( SELF.cv.id && AUTH.assert('sales_all_edit', 1) ) %] @@ -102,4 +104,3 @@ } --> - diff --git a/templates/webpages/customer_vendor/tabs/bank.html b/templates/webpages/customer_vendor/tabs/bank.html new file mode 100644 index 000000000..fce1d61f1 --- /dev/null +++ b/templates/webpages/customer_vendor/tabs/bank.html @@ -0,0 +1,44 @@ +[%- USE T8 %] +[%- USE HTML %] +[%- USE LxERP %] +[%- USE L %] + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
[% 'Account Number' | $T8 %] + [% L.input_tag('cv.account_number', SELF.cv.account_number, size = 20, maxlength = 100) %] + [% 'Bank Code Number' | $T8 %] + [% L.input_tag('cv.bank_code', SELF.cv.bank_code, size = 20, maxlength = 100) %] + [% 'Bank' | $T8 %] + [% L.input_tag('cv.bank', SELF.cv.bank, size = 20) %] +
[% 'IBAN' | $T8 %] + [% L.input_tag('cv.iban', SELF.cv.iban, size = 34, maxlength = 100) %] + [% 'BIC' | $T8 %] + [% L.input_tag('cv.bic', SELF.cv.bic, size = 20, maxlength = 100) %] +
+
diff --git a/templates/webpages/customer_vendor/tabs/billing.html b/templates/webpages/customer_vendor/tabs/billing.html index 5c036e070..c65bed08f 100644 --- a/templates/webpages/customer_vendor/tabs/billing.html +++ b/templates/webpages/customer_vendor/tabs/billing.html @@ -246,50 +246,15 @@ [%- END %] + [% IF ( SELF.all_currencies.size ) %] - [% 'Account Number' | $T8 %] - - - [% L.input_tag('cv.account_number', SELF.cv.account_number, size = 20, maxlength = 100) %] - - - - [% 'Bank Code Number' | $T8 %] - - - [% L.input_tag('cv.bank_code', SELF.cv.bank_code, size = 20, maxlength = 100) %] - - - - [% 'Bank' | $T8 %] - - - [% L.input_tag('cv.bank', SELF.cv.bank, size = 20) %] - - - - - [% 'IBAN' | $T8 %] - - - [% L.input_tag('cv.iban', SELF.cv.iban, size = 34, maxlength = 100) %] - - - - [% 'BIC' | $T8 %] - - [% L.input_tag('cv.bic', SELF.cv.bic, size = 11, maxlength = 100) %] - - - - [% IF ( SELF.all_currencies.size ) %] [% 'Currency' | $T8 %] [% L.select_tag('cv.currency_id', SELF.all_currencies, title_key = 'name', value_key = 'id', default = SELF.cv.currency_id) %] - [% END %] + [% END %] [% IF ( !INSTANCE_CONF.get_vertreter ) %] -- 2.20.1