X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fconfig.html;h=6e65c4d571e589cef9108a9cf3b8f72e4fa472e2;hb=8e258f81fb2bae3ca0014fe61bd5a9515b114b71;hp=e215590e5232522d55bc66fe251955bbb2d466e0;hpb=2fe6237c8b09d2f5a83145673c15be84bdfadf8a;p=kivitendo-erp.git diff --git a/templates/webpages/am/config.html b/templates/webpages/am/config.html index e215590e5..6e65c4d57 100644 --- a/templates/webpages/am/config.html +++ b/templates/webpages/am/config.html @@ -2,7 +2,7 @@ [%- USE LxERP %] [%- USE HTML %] [%- USE L %] -[% USE Dumper %] +

[% title %]

@@ -147,6 +147,35 @@ + [%- IF INSTANCE_CONF.get_feature_experimental_order -%] + + [% 'Scrollbar height percentage for form postion area (0 means no scrollbar)' | $T8 %] + + [% L.input_tag('positions_scrollbar_height', positions_scrollbar_height, size = 5) %] + + + + [% 'Search parts by vendor partnumber (model) in purchase order forms' | $T8 %] + + [% L.yes_no_tag('purchase_search_makemodel', purchase_search_makemodel) %] + [%- 'This also enables displaying a column with the vendor partnumber (model) (new order controller).' | $T8 %] + + + + [% 'Search parts by customer partnumber in sales order forms' | $T8 %] + + [% L.yes_no_tag('sales_search_customer_partnumber', sales_search_customer_partnumber) %] + [%- 'This also enables displaying a column with the customer partnumber (new order controller).' | $T8 %] + + + + [% 'Show update button for positions in order forms' | $T8 %] + + [% L.yes_no_tag('positions_show_update_button', positions_show_update_button) %] + + + [%- END -%] + [% 'Show custom variable search inputs' | $T8 %] @@ -163,22 +192,58 @@ [% L.input_tag('form_cvars_nr_cols', MYCONFIG.form_cvars_nr_cols || 3, size = 5) %] + [% 'Quick Searches that will be shown in the header for this user' | $T8 %]
[% L.select_tag("quick_search_modules[]", - ENABLED_QUICK_SEARCHMODULES, - value_key = "name", - title_key = "description_config", - id = "quick_searches", - multiple = 1, - size = ENABLED_QUICK_SEARCHMODULES.size, - default = DEFAULT_QUICK_SEARCHMODULES) %] - [% # L.multiselect2side("quick_searches", labelsx=LxERP.t8("All modules"), labeldx=LxERP.t8("Enabled modules")) %] + enabled_quick_searchmodules, + value_key = "name", + title_key = "description_config", + id = "quick_searches", + multiple = 1, + with_empty = 1 + size = enabled_quick_searchmodules.size, + default = default_quick_searchmodules) %]
+ + + [% 'Displayable Name Preferences' | $T8 %] + + + [% FOREACH module=displayable_name_specs_by_module.keys.sort %] + [%- SET spec=displayable_name_specs_by_module.$module -%] + + + + + [% END %] +
[% spec.specs.title %] + + + + + + [% FOREACH option=spec.specs.options %] + + + + + [% END %] + + + + +
[% 'Option' | $T8 %][% 'Name' | $T8 %]
[% option.title %][% option.name %]
[% 'Display' | $T8 %]: + [% L.hidden_tag("displayable_name_specs[+].module", module) %] + [% L.input_tag("displayable_name_specs[].value", spec.prefs.get, size=50) %] +
+
+ +