X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fbilling.html;h=c5d4515e431d21464841649bef41a691512596ee;hb=0ad9546c81f6f59bb8cd0df50e4d8a778697f7da;hp=7bcca62ccca29a5be440a9d45bc9f05d24e97b7c;hpb=6caf1000dabee234d86457ff433268cebd8e0447;p=kivitendo-erp.git
diff --git a/templates/webpages/customer_vendor/tabs/billing.html b/templates/webpages/customer_vendor/tabs/billing.html
index 7bcca62cc..c5d4515e4 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 -%]
|
@@ -70,6 +74,8 @@
[% L.input_tag('cv.name', SELF.cv.name) %]
+
+ [% L.checkbox_tag('cv.natural_person', checked = SELF.cv.natural_person, for_submit=1) %]
|
@@ -172,7 +178,8 @@
[% IF ( SELF.is_customer() ) %]
[% 'Email of the invoice recipient' | $T8 %] |
- [% L.input_tag('cv.invoice_mail', SELF.cv.invoice_mail, size = 45) %] |
+ [% L.input_tag('cv.invoice_mail', SELF.cv.invoice_mail, size = 30) %]
+ [% L.checkbox_tag('cv.postal_invoice', checked = SELF.cv.postal_invoice, for_submit=1) %] |
[% 'Email of the delivery order recipient' | $T8 %] |
@@ -236,6 +243,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 %] |
@@ -249,34 +263,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 ) %]
@@ -370,13 +381,8 @@
[% L.checkbox_tag('cv.order_lock', checked = SELF.cv.order_lock, for_submit=1) %]
|
- [% LxERP.t8("Create sales invoices with ZUGFeRD data") %] |
- [% L.select_tag("cv.create_zugferd_invoices",
- [ [ -1, LxERP.t8('Use settings from client configuration') ],
- [ 0, LxERP.t8('Do not create ZUGFeRD invoices') ],
- [ 1, LxERP.t8('Create ZUGFeRD invoices') ],
- [ 2, LxERP.t8('Create ZUGFeRD invoices in test mode') ] ],
- default=SELF.cv.create_zugferd_invoices) %] |
+ [% LxERP.t8("Create sales invoices with Factur-X/ZUGFeRD data") %] |
+ [% L.select_tag("cv.create_zugferd_invoices", SELF.zugferd_settings, default=SELF.cv.create_zugferd_invoices) %] |
[% END %]