X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fbilling.html;h=43e1789e995d9efb838b62c0d0f2a2bf3f659063;hb=4dc48e117cfdb6e59c2d8b9d8087ef8a3bc245a4;hp=21697713a6721273fbbfb7a376e2dd3d10b7e2bd;hpb=761f4a3f4efbe238058efe99939698c0624d3181;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/tabs/billing.html b/templates/webpages/customer_vendor/tabs/billing.html index 21697713a..43e1789e9 100644 --- a/templates/webpages/customer_vendor/tabs/billing.html +++ b/templates/webpages/customer_vendor/tabs/billing.html @@ -242,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 %] @@ -255,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 ) %] @@ -376,13 +380,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 %]