4 [%- USE L %][%- USE P -%]
8 <form method="post" action="am.pl" name="Form" id="form">
9 <div class="tabwidget">
11 <li><a href="#page_personal_settings">[% 'Personal settings' | $T8 %]</a></li>
12 <li><a href="#page_display_options">[% 'Display options' | $T8 %]</a></li>
13 <li><a href="#page_print_options">[% 'Print options' | $T8 %]</a></li>
14 <li><a href="#page_todo_list_options">[% 'TODO list options' | $T8 %]</a></li>
15 <li><a href="#page_follow_up_options">[% 'Follow-up options' | $T8 %]</a></li>
18 <div id="page_personal_settings">
22 <th align="right">[% 'Name' | $T8 %]</th>
23 <td><input name="name" size="15" value="[% HTML.escape(MYCONFIG.name) %]"></td>
27 <th align="right">[% 'Password' | $T8 %]</th>
29 [%- IF CAN_CHANGE_PASSWORD %]
30 <input type="password" name="new_password" size="10" value="********">
32 <input type="hidden" name="new_password" value="********">
38 <th align="right">[% 'Email address' | $T8 %]</th>
39 <td><input name="email" size="30" value="[% HTML.escape(MYCONFIG.email) %]"></td>
43 <th align="right">[% 'Email signature' | $T8 %]</th>
45 [% P.textarea_tag("signature", MYCONFIG.signature, class="texteditor", rows="5", cols="50") %]
50 <th align="right">[% "Company's email signature" | $T8 %]</th>
51 <td>[% P.restricted_html(company_signature) %]</td>
55 <th align="right">[% 'Phone' | $T8 %]</th>
56 <td><input name="tel" size="14" value="[% HTML.escape(MYCONFIG.tel) %]"></td>
60 <th align="right">[% 'Fax' | $T8 %]</th>
61 <td><input name="fax" size="14" value="[% HTML.escape(MYCONFIG.fax) %]"></td>
65 <th align="right">[% 'taxincluded checked' | $T8 %]</th>
67 [% L.yes_no_tag('taxincluded_checked', MYCONFIG.taxincluded_checked) %]
72 <th align="right">[% 'Focus position after update' | $T8 %]</th>
77 ['new_description', LxERP.t8('New row, description')],
78 ['new_partnumber', LxERP.t8('New row, partnumber')],
79 ['new_qty', LxERP.t8('New row, qty')],
80 ['last_description', LxERP.t8('Last row, description')],
81 ['last_partnumber', LxERP.t8('Last row, partnumber')],
82 ['last_qty', LxERP.t8('Last row, qty')],
84 default => MYCONFIG.focus_position)
90 <th align="right">[% 'Item multi selection with qty' | $T8 %]</th>
92 [% L.yes_no_tag('item_multiselect', MYCONFIG.item_multiselect) %]
97 <th align="right">[% 'Use date and duration for time recordings' | $T8 %]</th>
99 [% L.yes_no_tag('time_recording_use_duration', time_recording_use_duration) %]
106 <div id="page_display_options">
110 <th align="right">[% 'Date Format' | $T8 %]</th>
112 [% L.select_tag('dateformat', DATEFORMATS, value_key = 'value', title_key = 'name') %]
116 <th align="right">[% 'Time Format' | $T8 %]</th>
118 [% L.select_tag('timeformat', TIMEFORMATS, value_key = 'value', title_key = 'name') %]
122 <th align="right">[% 'Output Number Format' | $T8 %]</th>
124 [% L.select_tag('numberformat', NUMBERFORMATS, value_key = 'value', title_key = 'name') %]
129 <th align="right">[% 'Language' | $T8 %]</th>
131 [% L.select_tag('countrycode', COUNTRYCODES, value_key = 'value', title_key = 'name') %]
136 <th align="right">[% 'Forced Layout Style' | $T8 %]</th>
138 [% L.select_tag('layout_style', [['', LxERP.t8('Use settings from client configuration')], ['auto', LxERP.t8('Automatic')], ['desktop', LxERP.t8('desktop version')]], default=layout_style, with_empty=0) %]
143 <th align="right">[% 'Stylesheet' | $T8 %]</th>
145 [% L.select_tag('usestylesheet', STYLESHEETS, value_key = 'value', title_key = 'name') %]
150 <th align="right">[% 'Setup Menu' | $T8 %]</th>
152 <select name="menustyle">
153 <option value="old"[% IF MYCONFIG.menustyle == 'old' %] selected[% END %]>[% 'Old (on the side)' | $T8 %]</option>
154 <option value="v3"[% IF MYCONFIG.menustyle == 'v3' %] selected[% END %]>[% 'Top (CSS)' | $T8 %]</option>
155 <option value="neu"[% IF MYCONFIG.menustyle == 'neu' %] selected[% END %]>[% 'Top (Javascript)' | $T8 %]</option>
161 <th align="right">[% 'Form details (second row)' | $T8 %]</th>
163 <select name="show_form_details">
164 <option value="1"[% IF MYCONFIG.show_form_details %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
165 <option value="0"[% IF !MYCONFIG.show_form_details %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
171 <th align="right">[% 'Longdescription dialog size percentage from main window (0 means fix values)' | $T8 %]</th>
173 [% L.input_tag('longdescription_dialog_size_percentage', longdescription_dialog_size_percentage, size = 5) %]
177 <th align="right">[% 'Scrollbar height percentage for form postion area (0 means no scrollbar)' | $T8 %]</th>
179 [% L.input_tag('positions_scrollbar_height', positions_scrollbar_height, size = 5) %]
183 <th align="right">[% 'Search parts by vendor partnumber (model) in purchase order forms' | $T8 %]</th>
185 [% L.yes_no_tag('purchase_search_makemodel', purchase_search_makemodel) %]
186 [%- 'This also enables displaying a column with the vendor partnumber (model) (new order controller).' | $T8 %]
190 <th align="right">[% 'Search parts by customer partnumber in sales order forms' | $T8 %]</th>
192 [% L.yes_no_tag('sales_search_customer_partnumber', sales_search_customer_partnumber) %]
193 [%- 'This also enables displaying a column with the customer partnumber (new order controller).' | $T8 %]
197 <th align="right">[% 'Show update button for positions in order forms' | $T8 %]</th>
199 [% L.yes_no_tag('positions_show_update_button', positions_show_update_button) %]
204 <th align="right">[% 'Show custom variable search inputs' | $T8 %]</th>
206 <select name="hide_cvar_search_options">
207 <option value="0"[% IF !MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
208 <option value="1"[% IF MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
214 <th align="right">[% 'Number of columns of custom variables in form details (second row)' | $T8 %]</th>
216 [% L.input_tag('form_cvars_nr_cols', MYCONFIG.form_cvars_nr_cols || 3, size = 5) %]
221 <th align="right">[% 'Quick Searches that will be shown in the header for this user' | $T8 %]</th>
223 <div class="clearfix">
224 [% L.select_tag("quick_search_modules[]",
225 enabled_quick_searchmodules,
227 title_key = "description_config",
228 id = "quick_searches",
231 size = enabled_quick_searchmodules.size,
232 default = default_quick_searchmodules) %]
238 <th align="right">[% 'Displayable Name Preferences' | $T8 %]</th>
241 [% FOREACH module=displayable_name_specs_by_module.keys.sort %]
242 [%- SET spec=displayable_name_specs_by_module.$module -%]
244 <td align="right">[% spec.specs.title %]</td>
248 <th align="left" class="listheading">[% 'Option' | $T8 %]</th>
249 <th align="left" class="listheading">[% 'Name' | $T8 %]</th>
251 [% FOREACH option=spec.specs.options %]
253 <td>[% option.title %]</td>
254 <td>[% option.name %]</td>
258 <th align="left">[% 'Display' | $T8 %]:</th>
260 [% L.hidden_tag("displayable_name_specs[+].module", module) %]
261 [% L.input_tag("displayable_name_specs[].value", spec.prefs.get, size=50) %]
272 <th align="right">[% 'Part picker search dialog (magnifying glass): "all as list" defaults to on' | $T8 %]</th>
274 [% L.yes_no_tag('part_picker_search_all_as_list_default', part_picker_search_all_as_list_default) %]
279 <th align="right">[% 'Item input position for quotations and orders' | $T8 %]</th>
281 [% L.select_tag('order_item_input_position', [ [ 'default', LxERP.t8('Use settings from client configuration') ], [ 0, LxERP.t8('above the positions') ], [ 1, LxERP.t8('below the positions') ] ], default=order_item_input_position) %]
288 <div id="page_print_options">
291 <input name="printer" type="hidden" value="[% HTML.escape(MYCONFIG.printer) %]">
294 <th align="right">[% 'Default template format' | $T8 %]</th>
296 [% L.select_tag('template_format', TEMPLATE_FORMATS, value_key = 'value', title_key = 'name') %]
301 <th align="right">[% 'Default output medium' | $T8 %]</th>
303 [% L.select_tag('default_media', MEDIA, value_key = 'value', title_key = 'name') %]
308 <th align="right">[% 'Default printer' | $T8 %]</th>
310 [% L.select_tag('default_printer_id', PRINTERS, default = MYCONFIG.default_printer_id, title_key = 'printer_description', with_empty = 1) %]
315 <th align="right">[% 'Number of copies' | $T8 %]</th>
316 <td><input name="copies" size="10" value="[% HTML.escape(MYCONFIG.copies) %]"></td>
321 <div id="page_todo_list_options">
325 <th align="right">[% 'Show your TODO list after logging in' | $T8 %]</th>
327 <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_1" value="1"[% IF todo_cfg.show_after_login %] checked[% END %]>
328 <label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label>
329 <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_0" value="0"[% IF !todo_cfg.show_after_login %] checked[% END %]>
330 <label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label>
334 <tr class="listheading">
335 <th colspan="3">[% 'Configuration of individual TODO items' | $T8 %]</th>
339 <th align="right">[% 'Show follow ups...' | $T8 %]</th>
341 <input type="checkbox" name="todo_cfg.show_follow_ups" id="todo_cfg_show_follow_ups" value="1"[% IF todo_cfg.show_follow_ups %] checked[% END %]>
342 <label for="todo_cfg_show_follow_ups">[% '...on the TODO list' | $T8 %]</label>
345 <input type="checkbox" name="todo_cfg.show_follow_ups_login" id="todo_cfg_show_follow_ups_login" value="1"[% IF todo_cfg.show_follow_ups_login %] checked[% END %]>
346 <label for="todo_cfg_show_follow_ups_login">[% '...after logging in' | $T8 %]</label>
350 [%- IF AUTH.assert('sales_quotation_edit', 'may_fail') %]
352 <th align="right">[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th>
354 <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations" id="todo_cfg_show_overdue_sales_quotations" value="1"[% IF todo_cfg.show_overdue_sales_quotations %] checked[% END %]>
355 <label for="todo_cfg_show_overdue_sales_quotations">[% '...on the TODO list' | $T8 %]</label>
358 <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations_login" id="todo_cfg_show_overdue_sales_quotations_login" value="1"[% IF todo_cfg.show_overdue_sales_quotations_login %] checked[% END %]>
359 <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after logging in' | $T8 %]</label>
366 <div id="page_follow_up_options">
369 <th align="right">[% 'Notify me by email for follow-ups' | $T8 %]</th>
371 <input type="radio" name="follow_up_notify_by_email" id="follow_up_notify_by_email_1" value="1"[% IF follow_up_notify_by_email %] checked[% END %]>
372 <label for="follow_up_notify_by_email_1">[% 'Yes' | $T8 %]</label>
373 <input type="radio" name="follow_up_notify_by_email" id="follow_up_notify_by_email_0" value="0"[% IF !follow_up_notify_by_email %] checked[% END %]>
374 <label for="follow_up_notify_by_email_0">[% 'No' | $T8 %]</label>