X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fbilling.html;h=5c036e070e096a9d1d82905bcfff0a2568757058;hb=0f0cb3b708f9078b774a07cecd996e5bdc5fac63;hp=f666b5a9c5c399ea2aec11757943185857fc99cb;hpb=4b6c74e54767a40be404a9a1068aa0ad9da6c799;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/tabs/billing.html b/templates/webpages/customer_vendor/tabs/billing.html index f666b5a9c..5c036e070 100644 --- a/templates/webpages/customer_vendor/tabs/billing.html +++ b/templates/webpages/customer_vendor/tabs/billing.html @@ -8,7 +8,7 @@ - [% IF ( conf_vertreter ) %] + [% IF ( INSTANCE_CONF.get_vertreter ) %] [% IF SELF.is_vendor() %] @@ -29,8 +29,7 @@ - - [% L.select_tag('cv.salesman_id', SELF.all_employees, value_key = 'id', title_key = 'safe_name', with_empty = 1) %] + [% L.select_tag('cv.salesman_id', SELF.all_salesman_customers, default = SELF.cv.salesman_id, value_key = 'id', title_key = 'name', with_empty = 1) %] @@ -86,10 +85,14 @@ [% 'Street' | $T8 %] - [% L.input_tag('cv.street', SELF.cv.street) %] - - [% 'Map' | $T8 %] - + [% L.input_tag('cv.street', SELF.cv.street, size = 35, maxlength = 75) %] + + @@ -142,6 +145,22 @@ + + [% 'Cc E-mail' | $T8 %] + + + [% L.input_tag('cv.cc', SELF.cv.cc, size = 45) %] + + + + + [% 'Bcc E-mail' | $T8 %] + + + [% L.input_tag('cv.bcc', SELF.cv.bcc, size = 45) %] + + + [% IF homepage %] @@ -194,7 +213,7 @@ [% 'Discount' | $T8 %] - [% L.input_tag('cv.discount_as_percent', SELF.cv.discount_as_percent, size = 4) %] + [% L.input_tag('cv.discount_as_percent', SELF.cv.discount_as_percent, size = 4) %]% @@ -231,14 +250,14 @@ [% 'Account Number' | $T8 %] - [% L.input_tag('cv.account_number', SELF.cv.account_number, size = 10, maxlength = 100) %] + [% 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 = 10, maxlength = 100) %] + [% L.input_tag('cv.bank_code', SELF.cv.bank_code, size = 20, maxlength = 100) %] @@ -253,13 +272,13 @@ [% 'IBAN' | $T8 %] - [% L.input_tag('cv.iban', SELF.cv.iban, size = 10, maxlength = 100) %] + [% L.input_tag('cv.iban', SELF.cv.iban, size = 34, maxlength = 100) %] [% 'BIC' | $T8 %] - [% L.input_tag('cv.bic', SELF.cv.bic, size = 10, maxlength = 100) %] + [% L.input_tag('cv.bic', SELF.cv.bic, size = 11, maxlength = 100) %] @@ -267,13 +286,13 @@ [% 'Currency' | $T8 %] - [% L.select_tag('cv.currency_id', SELF.all_currencies, title_key = 'name', value_key = 'id', default = SELF.cv.currency_id, with_empty = 1) %] + [% L.select_tag('cv.currency_id', SELF.all_currencies, title_key = 'name', value_key = 'id', default = SELF.cv.currency_id) %] [% END %] - [% IF ( !conf_vertreter ) %] + [% IF ( !INSTANCE_CONF.get_vertreter ) %] [% IF ( SELF.is_vendor() ) %] [% 'Type of Vendor' | $T8 %] @@ -294,21 +313,12 @@ [% L.select_tag('cv.language_id', SELF.all_languages, default = SELF.cv.language_id, value_key = 'id', title_key = 'description', with_empty = 1) %] - - [% 'Bcc' | $T8 %] + [% 'Delivery Terms' | $T8 %] - [% L.input_tag('cv.bcc', SELF.cv.bcc, size = 40) %] + [% L.select_tag('cv.delivery_term_id', SELF.all_delivery_terms, default = SELF.cv.delivery_term_id, value_key = 'id', title_key = 'description', with_empty = 1) %] - - [% IF ( SELF.is_customer() ) %] - [% 'Preisklasse' | $T8 %] - - - [% L.select_tag('cv.klass', SELF.all_pricegroups, default = SELF.cv.klass, value_key = 'id', title_key = 'pricegroup', with_empty = 1) %] - - [% END %] @@ -317,7 +327,7 @@ - [% L.checkbox_tag('cv.obsolete', checked = SELF.cv.obsolete) %] + [% L.checkbox_tag('cv.obsolete', checked = SELF.cv.obsolete, for_submit=1) %] @@ -326,8 +336,17 @@ - [% L.checkbox_tag('cv.direct_debit', checked = SELF.cv.direct_debit) %] + [% L.checkbox_tag('cv.direct_debit', checked = SELF.cv.direct_debit, for_submit=1) %] + + [% IF ( SELF.is_customer() ) %] + [% 'Preisklasse' | $T8 %] + + + [% L.select_tag('cv.klass', SELF.all_pricegroups, default = SELF.cv.klass, value_key = 'id', title_key = 'pricegroup', with_empty = 1) %] + + [% END %] + @@ -338,20 +357,22 @@ - [% IF ( SELF.is_customer() && !conf_vertreter ) %] + [% IF ( SELF.is_customer() && !INSTANCE_CONF.get_vertreter ) %] [% 'Salesman' | $T8 %] - - [% L.select_tag('cv.salesman_id', SELF.all_employees, default = salesman_id, value_key = 'id', title_key = 'safe_name', with_empty = 1) %] + [% L.select_tag('cv.salesman_id', SELF.all_salesmen, default = SELF.cv.salesman_id, value_key = 'id', title_key = 'safe_name', with_empty = 1) %] + [%- END %] + [% IF ( SELF.is_customer() ) %] [% 'taxincluded checked' | $T8 %] [% L.select_tag('cv.taxincluded_checked', [[undef, LxERP.t8('use user config')], ['1', LxERP.t8('Yes')], ['0', LxERP.t8('No')]], default = SELF.cv.taxincluded_checked) %] - [%- END %] + [% END %] +