X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fbilling.html;h=21697713a6721273fbbfb7a376e2dd3d10b7e2bd;hb=bd3ddb3abf7d621a428b2da42e378324ac417acc;hp=c39287841376b86eb7248f2ee25f413661760ad0;hpb=f7bab9572ec83c3f6c0ab8070925ed8df1eb47dd;p=kivitendo-erp.git
diff --git a/templates/webpages/customer_vendor/tabs/billing.html b/templates/webpages/customer_vendor/tabs/billing.html
index c39287841..21697713a 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) %]
|
@@ -169,10 +175,19 @@
[% L.input_tag('cv.bcc', SELF.cv.bcc, size = 45) %]
-
+ [% IF ( SELF.is_customer() ) %]
+
+ [% 'Email of the invoice recipient' | $T8 %] |
+ [% L.input_tag('cv.invoice_mail', SELF.cv.invoice_mail, size = 45) %] |
+
+
+ [% 'Email of the delivery order recipient' | $T8 %] |
+ [% L.input_tag('cv.delivery_order_mail', SELF.cv.delivery_order_mail, size = 45) %] |
+
+ [% END %]
- [% IF homepage %]
+ [% IF SELF.cv.homepage %]
[% 'Homepage' | $T8 %]
[% ELSE %]
[% 'Homepage' | $T8 %]
@@ -255,16 +270,20 @@
[%- END %]
|
- [% IF ( SELF.all_currencies.size ) %]
+ [% IF ( SELF.is_customer() ) %]
+ [% 'Commercial court' | $T8 %] |
+
+ [% L.input_tag('cv.commercial_court', SELF.cv.commercial_court, size = 20) %]
+ |
+ [% END %]
+ [% 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 ) %]
@@ -314,17 +333,17 @@
[% IF ( SELF.is_customer() ) %]
- | [% 'Preisklasse' | $T8 %] |
+ [% 'Price group' | $T8 %] |
- [% L.select_tag('cv.klass', SELF.all_pricegroups, default = SELF.cv.klass, value_key = 'id', title_key = 'pricegroup', with_empty = 1) %]
+ [% L.select_tag('cv.pricegroup_id', SELF.all_pricegroups, default = SELF.cv.pricegroup_id, value_key = 'id', title_key = 'pricegroup', with_empty = 1) %]
|
[% END %]
- [% 'Steuersatz' | $T8 %] |
+ [% 'Tax rate' | $T8 %] |
[% L.select_tag('cv.taxzone_id', SELF.all_taxzones, default = SELF.cv.taxzone_id, value_key = 'id', title_key = 'description') %]
@@ -353,6 +372,17 @@
|
[%- LxERP.t8("Hourly rate") %] |
[% L.input_tag("cv.hourly_rate_as_number", SELF.cv.hourly_rate_as_number) %] |
+ [% 'Shoporderlock' | $T8 %] |
+
+ [% 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) %] |
[% END %]
@@ -360,12 +390,19 @@
[% 'Internal Notes' | $T8 %] |
+ [% IF ( SELF.is_customer() ) %]
+ [% 'Origin of personal data' | $T8 %] |
+ [% END %]
-
[% L.textarea_tag('cv.notes', SELF.cv.notes, rows = 3 cols = 60 wrap = soft) %]
|
+ [% IF ( SELF.is_customer() ) %]
+
+ [% L.textarea_tag('cv.contact_origin', SELF.cv.contact_origin, rows = 3 cols = 60 wrap = soft) %]
+ |
+ [% END %]