[%- USE T8 %] [%- USE HTML %]
[% title %]

[%- IF module == 'IC' %] [%- END %]
[% 'Module' | $T8 %] [%- INCLUDE generic/multibox.html name = 'module', id_key = 'module', label_key = 'description', DATA = MODULES, onChange = "document.getElementById('update_button').click();" %]
[% 'Variable Name' | $T8 %](1)
[% 'Variable Description' | $T8 %](2)
[% 'Type' | $T8 %](3)
[% 'Default value' | $T8 %](4)
[% 'Options' | $T8 %](5)
[% 'Is Searchable' | $T8 %]
[% 'Includeable in reports' | $T8 %]
[% 'Editable' | $T8 %](5)

[%- IF id %] [%- END %]


[% 'Annotations' | $T8 %]

(1) [% 'The variable name must only consist of letters, numbers and underscores. It must begin with a letter. Example: send_christmas_present' | $T8 %]

(2) [% 'The description is shown on the form. Chose something short and descriptive.' | $T8 %]

(3) [% 'For type "customer" the perl module JSON is required. Please check this on system level: $ ./scripts/installation_check.pl' | $T8 %]

(4) [% 'The default value depends on the variable type:' | $T8 %]

(5) [% 'The available options depend on the varibale type:' | $T8 %]


[% 'Other values are ignored.' | $T8 %]

[%- IF module == 'IC' %]

(6) [%- 'A variable marked as \'editable\' can be changed in each quotation, order, invoice etc.' | $T8 %] [% 'Otherwise the variable is only available for printing.' | $T8 %]

[%- END %]