X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fbilling.html;h=861298aa60b8b6cc95a2f2b95e73960cd9dc5059;hb=f24cf1f5ab8428ced545a382d0f0179ae6f40a81;hp=cb10dc9435800df3faee57fd52317987c24c5bdf;hpb=906b288941c636d4a348fabe55c91b932bb112a2;p=kivitendo-erp.git
diff --git a/templates/webpages/customer_vendor/tabs/billing.html b/templates/webpages/customer_vendor/tabs/billing.html
index cb10dc943..861298aa6 100644
--- a/templates/webpages/customer_vendor/tabs/billing.html
+++ b/templates/webpages/customer_vendor/tabs/billing.html
@@ -54,8 +54,12 @@
[% 'Greeting' | $T8 %] |
- [% L.input_tag('cv.greeting', SELF.cv.greeting) %]
- [% L.select_tag('cv_greeting_select', SELF.all_greetings, default = SELF.cv.greeting, with_empty = 1, onchange = '$("#cv_greeting").val(this.value);') %]
+ [%- IF INSTANCE_CONF.get_vc_greetings_use_textfield -%]
+ [% L.input_tag('cv.greeting', SELF.cv.greeting) %]
+ [% L.select_tag('cv_greeting_select', SELF.all_greetings, default = SELF.cv.greeting, value_key = 'description', title_key = 'description', with_empty = 1, onchange = '$("#cv_greeting").val(this.value);') %]
+ [%- ELSE -%]
+ [% L.select_tag('cv.greeting', SELF.all_greetings, default = SELF.cv.greeting, value_key = 'description', title_key = 'description', with_empty = 1) %]
+ [%- END -%]
|
@@ -238,6 +242,13 @@
+ [% 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 %]
+
[% 'Tax Number / SSN' | $T8 %] |
@@ -251,34 +262,31 @@
|
[% L.input_tag('cv.ustid', SELF.cv.ustid, size = 20 ) %]
|
+
-
- [%- IF ( SELF.is_vendor() ) %]
- [% 'Customer Number' | $T8 %] |
+
+ [% IF ( SELF.is_customer() ) %]
+ [% 'Commercial court' | $T8 %] |
- [% L.input_tag('cv.v_customer_id', SELF.cv.v_customer_id, size = 10) %]
+ [% L.input_tag('cv.commercial_court', SELF.cv.commercial_court, size = 20) %]
|
- [%- ELSE %]
+
[% 'our vendor number at customer' | $T8 %] |
- [% L.input_tag('cv.c_vendor_id', SELF.cv.c_vendor_id, size = 10) %]
+ [% L.input_tag('cv.c_vendor_id', SELF.cv.c_vendor_id, size = 20) %]
|
- [%- END %]
-
-
- [% IF ( SELF.is_customer() ) %]
- [% 'Commercial court' | $T8 %] |
+ [% 'Our routing id at customer' | $T8 %] |
- [% L.input_tag('cv.commercial_court', SELF.cv.commercial_court, size = 20) %]
+ [% L.input_tag('cv.c_vendor_routing_id', SELF.cv.c_vendor_routing_id, size = 20) %]
|
- [% END %]
- [% IF ( SELF.all_currencies.size ) %]
- [% 'Currency' | $T8 %] |
+
+ [%- ELSE %]
+ [% 'Customer Number' | $T8 %] |
- [% L.select_tag('cv.currency_id', SELF.all_currencies, title_key = 'name', value_key = 'id', default = SELF.cv.currency_id) %]
+ [% L.input_tag('cv.v_customer_id', SELF.cv.v_customer_id, size = 20) %]
|
- [% END %]
+ [%- END %]
[% IF ( !INSTANCE_CONF.get_vertreter ) %]