X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/86b6ff8a570d2fdc5fa53ba3dc9b3833e657e2e6..a809ab0a8e5c2f991ebbad1ccda9f31f1c009c7c:/templates/webpages/custom_variable_config/form.html diff --git a/templates/webpages/custom_variable_config/form.html b/templates/webpages/custom_variable_config/form.html index a34dd5da1..eb6aee740 100644 --- a/templates/webpages/custom_variable_config/form.html +++ b/templates/webpages/custom_variable_config/form.html @@ -74,6 +74,29 @@ [% L.radio_button_tag('config.flag_defaults_to_invalid', value='0', id='config.flag_defaults_to_invalid_0', label=LxERP.t8('No'), checked=(SELF.flags.defaults_to_invalid ? '' : 1)) %] +
+ @@ -149,6 +172,11 @@ function update_included_by_default() { function update_ic_rows() { $('[data-show-for="IC"]').toggle($('#module').val() === "IC"); + $('[data-show-for="IC+PGFILTER"]').toggle($('#module').val() === "IC" && $('#config_flag_partsgroup_filter_1').prop('checked')); +} + +function update_pg_filter_row() { + $('[data-show-for="IC+PGFILTER"]').toggle($('#module').val() === "IC" && $('#config_flag_partsgroup_filter_1').prop('checked')); } function check_prerequisites() {