kivitendo/templates/webpages/am/config.html @ 2366d0bd
dfee9199 | Sven Schöling | [%- USE T8 %]
|
||
0a4163f7 | Sven Schöling | [%- USE LxERP %]
|
||
2fe6237c | Werner Hahn | [%- USE HTML %]
|
||
601f4f28 | Moritz Bunkus | [%- USE L %][%- USE P -%]
|
||
1edebcf0 | Werner Hahn | |||
3aa5cee2 | Sven Schöling | <h1>[% title %]</h1>
|
||
553e3b0e | Moritz Bunkus | |||
8651e027 | Moritz Bunkus | <form method="post" action="am.pl" name="Form" id="form">
|
||
5f68c975 | Moritz Bunkus | <div class="tabwidget">
|
||
<ul>
|
||||
<li><a href="#page_personal_settings">[% 'Personal settings' | $T8 %]</a></li>
|
||||
<li><a href="#page_display_options">[% 'Display options' | $T8 %]</a></li>
|
||||
<li><a href="#page_print_options">[% 'Print options' | $T8 %]</a></li>
|
||||
<li><a href="#page_todo_list_options">[% 'TODO list options' | $T8 %]</a></li>
|
||||
</ul>
|
||||
553e3b0e | Moritz Bunkus | |||
5f68c975 | Moritz Bunkus | <div id="page_personal_settings">
|
||
553e3b0e | Moritz Bunkus | |||
0642b9ee | Moritz Bunkus | <table>
|
||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Name' | $T8 %]</th>
|
||
debc9175 | Sven Schöling | <td><input name="name" size="15" value="[% HTML.escape(MYCONFIG.name) %]"></td>
|
||
0642b9ee | Moritz Bunkus | </tr>
|
||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Password' | $T8 %]</th>
|
||
0642b9ee | Moritz Bunkus | <td>
|
||
[%- IF CAN_CHANGE_PASSWORD %]
|
||||
<input type="password" name="new_password" size="10" value="********">
|
||||
[%- ELSE %]
|
||||
<input type="hidden" name="new_password" value="********">
|
||||
[%- END %]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
601f4f28 | Moritz Bunkus | <th align="right">[% 'Email address' | $T8 %]</th>
|
||
debc9175 | Sven Schöling | <td><input name="email" size="30" value="[% HTML.escape(MYCONFIG.email) %]"></td>
|
||
0642b9ee | Moritz Bunkus | </tr>
|
||
3a476fcc | Thomas Heck | |||
0642b9ee | Moritz Bunkus | <tr valign="top">
|
||
601f4f28 | Moritz Bunkus | <th align="right">[% 'Email signature' | $T8 %]</th>
|
||
<td>
|
||||
[% P.textarea_tag("signature", MYCONFIG.signature, class="toggletextarea texteditor", rows="5", cols="50") %]
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<th align="right">[% "Company's email signature" | $T8 %]</th>
|
||||
<td>[% P.restricted_html(company_signature) %]</td>
|
||||
</tr>
|
||||
0642b9ee | Moritz Bunkus | <tr>
|
||
dfee9199 | Sven Schöling | <th align="right">[% 'Phone' | $T8 %]</th>
|
||
debc9175 | Sven Schöling | <td><input name="tel" size="14" value="[% HTML.escape(MYCONFIG.tel) %]"></td>
|
||
0642b9ee | Moritz Bunkus | </tr>
|
||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Fax' | $T8 %]</th>
|
||
debc9175 | Sven Schöling | <td><input name="fax" size="14" value="[% HTML.escape(MYCONFIG.fax) %]"></td>
|
||
0642b9ee | Moritz Bunkus | </tr>
|
||
7bff84cb | Thomas Heck | |||
2fcb9a09 | Thomas Heck | <tr>
|
||
<th align="right">[% 'taxincluded checked' | $T8 %]</th>
|
||||
7bff84cb | Thomas Heck | <td>
|
||
debc9175 | Sven Schöling | [% L.yes_no_tag('taxincluded_checked', MYCONFIG.taxincluded_checked) %]
|
||
7bff84cb | Thomas Heck | </td>
|
||
</tr>
|
||||
3a476fcc | Thomas Heck | <tr>
|
||
<th align="right">[% 'Focus position after update' | $T8 %]</th>
|
||||
<td>
|
||||
[% L.select_tag(
|
||||
'focus_position',
|
||||
[
|
||||
03319ef8 | Sven Schöling | ['new_description', LxERP.t8('New row, description')],
|
||
['new_partnumber', LxERP.t8('New row, partnumber')],
|
||||
['new_qty', LxERP.t8('New row, qty')],
|
||||
3a476fcc | Thomas Heck | ['last_description', LxERP.t8('Last row, description')],
|
||
03319ef8 | Sven Schöling | ['last_partnumber', LxERP.t8('Last row, partnumber')],
|
||
['last_qty', LxERP.t8('Last row, qty')],
|
||||
3a476fcc | Thomas Heck | ],
|
||
debc9175 | Sven Schöling | default => MYCONFIG.focus_position)
|
||
3a476fcc | Thomas Heck | %]
|
||
</td>
|
||||
</tr>
|
||||
6ea1dd9b | Bernd Bleßmann | <tr>
|
||
<th align="right">[% 'Item multi selection with qty' | $T8 %]</th>
|
||||
<td>
|
||||
debc9175 | Sven Schöling | [% L.yes_no_tag('item_multiselect', MYCONFIG.item_multiselect) %]
|
||
6ea1dd9b | Bernd Bleßmann | </td>
|
||
</tr>
|
||||
33823a77 | Bernd Bleßmann | <tr>
|
||
<th align="right">[% 'Use date and duration for time recordings' | $T8 %]</th>
|
||||
<td>
|
||||
[% L.yes_no_tag('time_recording_use_duration', time_recording_use_duration) %]
|
||||
</td>
|
||||
</tr>
|
||||
0642b9ee | Moritz Bunkus | </table>
|
||
</div>
|
||||
5f68c975 | Moritz Bunkus | <div id="page_display_options">
|
||
0642b9ee | Moritz Bunkus | |||
<table>
|
||||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Date Format' | $T8 %]</th>
|
||
0642b9ee | Moritz Bunkus | <td>
|
||
58966151 | Thomas Heck | [% L.select_tag('dateformat', DATEFORMATS, value_key = 'value', title_key = 'name') %]
|
||
0642b9ee | Moritz Bunkus | </td>
|
||
</tr>
|
||||
2fcb9a09 | Thomas Heck | <tr>
|
||
<th align="right">[% 'Time Format' | $T8 %]</th>
|
||||
<td>
|
||||
[% L.select_tag('timeformat', TIMEFORMATS, value_key = 'value', title_key = 'name') %]
|
||||
</td>
|
||||
</tr>
|
||||
0642b9ee | Moritz Bunkus | <tr>
|
||
dfee9199 | Sven Schöling | <th align="right">[% 'Output Number Format' | $T8 %]</th>
|
||
0642b9ee | Moritz Bunkus | <td>
|
||
58966151 | Thomas Heck | [% L.select_tag('numberformat', NUMBERFORMATS, value_key = 'value', title_key = 'name') %]
|
||
0642b9ee | Moritz Bunkus | </td>
|
||
</tr>
|
||||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Language' | $T8 %]</th>
|
||
0642b9ee | Moritz Bunkus | <td>
|
||
58966151 | Thomas Heck | [% L.select_tag('countrycode', COUNTRYCODES, value_key = 'value', title_key = 'name') %]
|
||
0642b9ee | Moritz Bunkus | </td>
|
||
</tr>
|
||||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Stylesheet' | $T8 %]</th>
|
||
0642b9ee | Moritz Bunkus | <td>
|
||
58966151 | Thomas Heck | [% L.select_tag('usestylesheet', STYLESHEETS, value_key = 'value', title_key = 'name') %]
|
||
0642b9ee | Moritz Bunkus | </td>
|
||
</tr>
|
||||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Setup Menu' | $T8 %]</th>
|
||
0642b9ee | Moritz Bunkus | <td>
|
||
5bb3340b | Moritz Bunkus | <select name="menustyle">
|
||
debc9175 | Sven Schöling | <option value="old"[% IF MYCONFIG.menustyle == 'old' %] selected[% END %]>[% 'Old (on the side)' | $T8 %]</option>
|
||
<option value="v3"[% IF MYCONFIG.menustyle == 'v3' %] selected[% END %]>[% 'Top (CSS)' | $T8 %]</option>
|
||||
<option value="neu"[% IF MYCONFIG.menustyle == 'neu' %] selected[% END %]>[% 'Top (Javascript)' | $T8 %]</option>
|
||||
5bb3340b | Moritz Bunkus | </select>
|
||
0642b9ee | Moritz Bunkus | </td>
|
||
</tr>
|
||||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Form details (second row)' | $T8 %]</th>
|
||
0642b9ee | Moritz Bunkus | <td>
|
||
5bb3340b | Moritz Bunkus | <select name="show_form_details">
|
||
debc9175 | Sven Schöling | <option value="1"[% IF MYCONFIG.show_form_details %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
|
||
<option value="0"[% IF !MYCONFIG.show_form_details %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
|
||||
5bb3340b | Moritz Bunkus | </select>
|
||
</td>
|
||||
0642b9ee | Moritz Bunkus | </tr>
|
||
c1e220bf | Sven Schöling | |||
ede5fa54 | Bernd Bleßmann | [%- IF INSTANCE_CONF.get_feature_experimental_order -%]
|
||
<tr>
|
||||
<th align="right">[% 'Scrollbar height percentage for form postion area (0 means no scrollbar)' | $T8 %]</th>
|
||||
<td>
|
||||
[% L.input_tag('positions_scrollbar_height', positions_scrollbar_height, size = 5) %]
|
||||
</td>
|
||||
</tr>
|
||||
549bce5b | Bernd Bleßmann | <tr>
|
||
<th align="right">[% 'Search parts by vendor partnumber (model) in purchase order forms' | $T8 %]</th>
|
||||
<td>
|
||||
[% L.yes_no_tag('purchase_search_makemodel', purchase_search_makemodel) %]
|
||||
a66591cc | Bernd Bleßmann | [%- 'This also enables displaying a column with the vendor partnumber (model) (new order controller).' | $T8 %]
|
||
549bce5b | Bernd Bleßmann | </td>
|
||
</tr>
|
||||
<tr>
|
||||
<th align="right">[% 'Search parts by customer partnumber in sales order forms' | $T8 %]</th>
|
||||
<td>
|
||||
[% L.yes_no_tag('sales_search_customer_partnumber', sales_search_customer_partnumber) %]
|
||||
a66591cc | Bernd Bleßmann | [%- 'This also enables displaying a column with the customer partnumber (new order controller).' | $T8 %]
|
||
549bce5b | Bernd Bleßmann | </td>
|
||
</tr>
|
||||
486d0a3b | Bernd Bleßmann | <tr>
|
||
<th align="right">[% 'Show update button for positions in order forms' | $T8 %]</th>
|
||||
<td>
|
||||
[% L.yes_no_tag('positions_show_update_button', positions_show_update_button) %]
|
||||
</td>
|
||||
</tr>
|
||||
ede5fa54 | Bernd Bleßmann | [%- END -%]
|
||
c1e220bf | Sven Schöling | <tr>
|
||
dfee9199 | Sven Schöling | <th align="right">[% 'Show custom variable search inputs' | $T8 %]</th>
|
||
c1e220bf | Sven Schöling | <td>
|
||
<select name="hide_cvar_search_options">
|
||||
debc9175 | Sven Schöling | <option value="0"[% IF !MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
|
||
<option value="1"[% IF MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
|
||||
c1e220bf | Sven Schöling | </select>
|
||
</td>
|
||||
</tr>
|
||||
0cb6e3af | Bernd Bleßmann | |||
<tr>
|
||||
<th align="right">[% 'Number of columns of custom variables in form details (second row)' | $T8 %]</th>
|
||||
<td>
|
||||
debc9175 | Sven Schöling | [% L.input_tag('form_cvars_nr_cols', MYCONFIG.form_cvars_nr_cols || 3, size = 5) %]
|
||
0cb6e3af | Bernd Bleßmann | </td>
|
||
</tr>
|
||||
0ff43ab4 | Bernd Bleßmann | |||
2fe6237c | Werner Hahn | <tr>
|
||
<th align="right">[% 'Quick Searches that will be shown in the header for this user' | $T8 %]</th>
|
||||
<td colspan=2>
|
||||
<div class="clearfix">
|
||||
[% L.select_tag("quick_search_modules[]",
|
||||
1edebcf0 | Werner Hahn | enabled_quick_searchmodules,
|
||
497da0ff | Werner Hahn | value_key = "name",
|
||
title_key = "description_config",
|
||||
id = "quick_searches",
|
||||
multiple = 1,
|
||||
with_empty = 1
|
||||
1edebcf0 | Werner Hahn | size = enabled_quick_searchmodules.size,
|
||
default = default_quick_searchmodules) %]
|
||||
2fe6237c | Werner Hahn | </div>
|
||
</td>
|
||||
</tr>
|
||||
0ff43ab4 | Bernd Bleßmann | |||
<tr>
|
||||
<th align="right">[% 'Displayable Name Preferences' | $T8 %]</th>
|
||||
<td>
|
||||
<table>
|
||||
[% FOREACH module=displayable_name_specs_by_module.keys.sort %]
|
||||
[%- SET spec=displayable_name_specs_by_module.$module -%]
|
||||
<tr>
|
||||
<td align="right">[% spec.specs.title %]</td>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<th align="left" class="listheading">[% 'Option' | $T8 %]</th>
|
||||
<th align="left" class="listheading">[% 'Name' | $T8 %]</th>
|
||||
</tr>
|
||||
[% FOREACH option=spec.specs.options %]
|
||||
<tr>
|
||||
<td>[% option.title %]</td>
|
||||
<td>[% option.name %]</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
<tr>
|
||||
<th align="left">[% 'Display' | $T8 %]:</th>
|
||||
<td>
|
||||
[% L.hidden_tag("displayable_name_specs[+].module", module) %]
|
||||
[% L.input_tag("displayable_name_specs[].value", spec.prefs.get, size=50) %]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</table>
|
||||
</td>
|
||||
0642b9ee | Moritz Bunkus | </table>
|
||
</div>
|
||||
5f68c975 | Moritz Bunkus | <div id="page_print_options">
|
||
0642b9ee | Moritz Bunkus | |||
<table>
|
||||
debc9175 | Sven Schöling | <input name="printer" type="hidden" value="[% HTML.escape(MYCONFIG.printer) %]">
|
||
0642b9ee | Moritz Bunkus | |||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Default template format' | $T8 %]</th>
|
||
0642b9ee | Moritz Bunkus | <td>
|
||
58966151 | Thomas Heck | [% L.select_tag('template_format', TEMPLATE_FORMATS, value_key = 'value', title_key = 'name') %]
|
||
0642b9ee | Moritz Bunkus | </td>
|
||
</tr>
|
||||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Default output medium' | $T8 %]</th>
|
||
0642b9ee | Moritz Bunkus | <td>
|
||
58966151 | Thomas Heck | [% L.select_tag('default_media', MEDIA, value_key = 'value', title_key = 'name') %]
|
||
0642b9ee | Moritz Bunkus | </td>
|
||
</tr>
|
||||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Default printer' | $T8 %]</th>
|
||
0642b9ee | Moritz Bunkus | <td>
|
||
debc9175 | Sven Schöling | [% L.select_tag('default_printer_id', PRINTERS, default = MYCONFIG.default_printer_id, title_key = 'printer_description', with_empty = 1) %]
|
||
0642b9ee | Moritz Bunkus | </td>
|
||
</tr>
|
||||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Number of copies' | $T8 %]</th>
|
||
debc9175 | Sven Schöling | <td><input name="copies" size="10" value="[% HTML.escape(MYCONFIG.copies) %]"></td>
|
||
0642b9ee | Moritz Bunkus | </tr>
|
||
</table>
|
||||
</div>
|
||||
713a6d70 | Moritz Bunkus | |||
5f68c975 | Moritz Bunkus | <div id="page_todo_list_options">
|
||
713a6d70 | Moritz Bunkus | |||
<table>
|
||||
<tr>
|
||||
24007946 | Geoffrey Richardson | <th align="right">[% 'Show your TODO list after logging in' | $T8 %]</th>
|
||
713a6d70 | Moritz Bunkus | <td colspan="2">
|
||
<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 %]>
|
||||
dfee9199 | Sven Schöling | <label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label>
|
||
713a6d70 | Moritz Bunkus | <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 %]>
|
||
dfee9199 | Sven Schöling | <label for="todo_cfg_show_after_login_0">[% 'No' | $T8 %]</label>
|
||
713a6d70 | Moritz Bunkus | </td>
|
||
</tr>
|
||||
<tr class="listheading">
|
||||
dfee9199 | Sven Schöling | <th colspan="3">[% 'Configuration of individual TODO items' | $T8 %]</th>
|
||
713a6d70 | Moritz Bunkus | </tr>
|
||
<tr>
|
||||
dfee9199 | Sven Schöling | <th align="right">[% 'Show follow ups...' | $T8 %]</th>
|
||
713a6d70 | Moritz Bunkus | <td>
|
||
<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 %]>
|
||||
dfee9199 | Sven Schöling | <label for="todo_cfg_show_follow_ups">[% '...on the TODO list' | $T8 %]</label>
|
||
713a6d70 | Moritz Bunkus | </td>
|
||
<td>
|
||||
<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 %]>
|
||||
24007946 | Geoffrey Richardson | <label for="todo_cfg_show_follow_ups_login">[% '...after logging in' | $T8 %]</label>
|
||
713a6d70 | Moritz Bunkus | </td>
|
||
</tr>
|
||||
a648b673 | Sven Schöling | [%- IF AUTH.assert('sales_quotation_edit', 'may_fail') %]
|
||
713a6d70 | Moritz Bunkus | <tr>
|
||
dfee9199 | Sven Schöling | <th align="right">[% 'Show overdue sales quotations and requests for quotations...' | $T8 %]</th>
|
||
713a6d70 | Moritz Bunkus | <td>
|
||
<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 %]>
|
||||
dfee9199 | Sven Schöling | <label for="todo_cfg_show_overdue_sales_quotations">[% '...on the TODO list' | $T8 %]</label>
|
||
713a6d70 | Moritz Bunkus | </td>
|
||
<td>
|
||||
<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 %]>
|
||||
24007946 | Geoffrey Richardson | <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after logging in' | $T8 %]</label>
|
||
713a6d70 | Moritz Bunkus | </td>
|
||
</tr>
|
||||
[%- END %]
|
||||
</table>
|
||||
</div>
|
||||
0642b9ee | Moritz Bunkus | </div>
|
||
553e3b0e | Moritz Bunkus | </form>
|