X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcustom_variable_config%2Fform.html;h=a33d9dfb1834340da9b46792e5d8e60c77380d11;hb=8e77bd29b697f3a86f9376e2b733b064712a6ff6;hp=2703cdc1d13999d06dcd501cdcdab85f50833557;hpb=8abd9ce32e946691e0953f9a8e2c183183d7854e;p=kivitendo-erp.git diff --git a/templates/webpages/custom_variable_config/form.html b/templates/webpages/custom_variable_config/form.html index 2703cdc1d..a33d9dfb1 100644 --- a/templates/webpages/custom_variable_config/form.html +++ b/templates/webpages/custom_variable_config/form.html @@ -1,6 +1,6 @@ [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%]

[% HTML.escape(title) %]

-
+ [%- L.hidden_tag("id", SELF.config.id) %]

@@ -67,19 +67,39 @@ [% L.radio_button_tag('config.flag_editable', value='0', id='config.flag_editable_0', label=LxERP.t8('No'), checked=(SELF.flags.editable ? '' : 1)) %] + + [% 'Deactivate by default' | $T8 %](7) + + [% L.radio_button_tag('config.flag_defaults_to_invalid', value='1', id='config.flag_defaults_to_invalid_1', label=LxERP.t8('Yes'), checked=(SELF.flags.defaults_to_invalid ? 1 : '')) %] + [% 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)) %] + + + + [% 'Filter by Partsgroups' | $T8 %] + + [% L.radio_button_tag('config.flag_partsgroup_filter', value='1', id='config_flag_partsgroup_filter_1', label=LxERP.t8('Yes'), checked=(SELF.flags.partsgroup_filter ? 1 : ''), onclick='update_pg_filter_row()') %] + [% L.radio_button_tag('config.flag_partsgroup_filter', value='0', id='config_flag_partsgroup_filter_0', label=LxERP.t8('No'), checked=(SELF.flags.partsgroup_filter ? '' : 1), onclick='update_pg_filter_row()') %] + + + + + + [% L.select_tag('config.partsgroups[]', + all_partsgroups, + id => "partsgroups", + value_key => "id", + title_key => "partsgroup", + default => SELF.config.partsgroups, + default_value_key => "id", + multiple => 1) %] + [% L.multiselect2side("partsgroups", + labelsx => LxERP.t8("All partsgroups"), + labeldx => LxERP.t8("Partsgroups where variables are shown")) %] + +

-

- [% L.hidden_tag("action", "CustomVariableConfig/dispatch") %] - [% L.submit_tag("action_" _ (SELF.config.id ? "update" : "create"), LxERP.t8('Save'), onclick="return check_prerequisites();") %] - [%- IF SELF.config.id %] - [% L.submit_tag("action_create", LxERP.t8('Save as new'), onclick="return check_prerequisites();") %] - [% L.submit_tag("action_destroy", LxERP.t8('Delete'), confirm=LxERP.t8('Are you sure?')) %] - [%- END %] - [%- LxERP.t8("Cancel") %] -

-

[% 'Annotations' | $T8 %]

@@ -126,6 +146,12 @@ [% 'Otherwise the variable is only available for printing.' | $T8 %]

+

+ (7) + + [%- 'A variable marked as \'Deactivate by default\' isn\'t automatically added to all articles, and has to be explicitly added for each desired article in its master data tab. Only then can the variable be used for that article in the records.' | $T8 %] +

+