X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Fcustom_variable_config%2Fform.html;h=eb6aee74062fa3dc94999078eae8a240ff3dfe3e;hb=9589ecd776677cdeb2fbaf8de211963d24cf5aa1;hp=a34dd5da151a459931c705a1539f2c9357f37e7e;hpb=75855995cd0b3213b764b2b54fe1d2c18d4b7fde;p=kivitendo-erp.git 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() {