+ <tr>
+ <td align="right">[% LxERP.t8('Normalize Customer / Vendor names') %]</td>
+ <td> [% L.yes_no_tag('defaults.normalize_vc_names', SELF.defaults.normalize_vc_names) %]</td>
+ <td>[% LxERP.t8('Automatic deletion of leading, trailing and excessive (repetitive) spaces in customer or vendor names') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Use text field for greetings') %]</td>
+ <td> [% L.yes_no_tag('defaults.vc_greetings_use_textfield', SELF.defaults.vc_greetings_use_textfield) %]</td>
+ <td>[% LxERP.t8('Use a text field to enter (new) greetings if enabled. Otherwise, only a drop down box is offered.') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Use text field for title of contacts') %]</td>
+ <td> [% L.yes_no_tag('defaults.contact_titles_use_textfield', SELF.defaults.contact_titles_use_textfield) %]</td>
+ <td>[% LxERP.t8('Use a text field to enter (new) contact titles if enabled. Otherwise, only a drop down box is offered.') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Use text field for department of contacts') %]</td>
+ <td> [% L.yes_no_tag('defaults.contact_departments_use_textfield', SELF.defaults.contact_departments_use_textfield) %]</td>
+ <td>[% LxERP.t8('Use a text field to enter (new) contact departments if enabled. Otherwise, only a drop down box is offered.') %]</td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Hourly Rate') %]</td>
+ <td>[% L.input_tag('defaults.customer_hourly_rate', LxERP.format_amount(SELF.defaults.customer_hourly_rate, 2), style=style) %]</td>
+ <td>[% LxERP.t8('Default hourly rate for new customers') %]</td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Customers: VAT ID / taxnumber unique') %]</td>
+ <td>[% L.yes_no_tag('defaults.customer_ustid_taxnummer_unique', SELF.defaults.customer_ustid_taxnummer_unique) %]</td>
+ <td>[% LxERP.t8('Should VAT ID or taxnumber be unique for customers? This is checked when saving a customer\'s master data. One of the fields is sufficient and required.') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Vendors: VAT ID / taxnumber unique') %]</td>
+ <td>[% L.yes_no_tag('defaults.vendor_ustid_taxnummer_unique', SELF.defaults.vendor_ustid_taxnummer_unique) %]</td>
+ <td>[% LxERP.t8('Should VAT ID or taxnumber be unique for all vendors? This is checked when saving a vendor\'s master data. One of the fields is sufficient and required.') %]</td>
+ </tr>
+
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("Parts Master Data") %]</td></tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Pictures for parts') %]</td>
+ <td>[% L.yes_no_tag('defaults.parts_show_image', SELF.defaults.parts_show_image) %]</td>
+ <td>[% LxERP.t8('Show the picture in the part form') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Pictures for search parts') %]</td>
+ <td>[% L.yes_no_tag('defaults.parts_listing_image', SELF.defaults.parts_listing_image) %]</td>
+ <td>[% LxERP.t8('Show the pictures in the result for search parts') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('CSS style for pictures') %]</td>
+ <td> [% L.input_tag('defaults.parts_image_css',SELF.defaults.parts_image_css, style=style) %]</td>
+ <td>[% LxERP.t8('Style the picture with the following CSS code') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('If item not found, allow creation of new item') %]</td>
+ <td>[% L.yes_no_tag('defaults.create_part_if_not_found', SELF.defaults.create_part_if_not_found) %]</td>
+ <td>[% LxERP.t8('If searching a part from a document and no part is found then offer to create a new part.') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Normalize part description and part notes') %]</td>
+ <td> [% L.yes_no_tag('defaults.normalize_part_descriptions', SELF.defaults.normalize_part_descriptions) %]</td>
+ <td>[% LxERP.t8('Automatic deletion of leading, trailing and excessive (repetitive) spaces in part description and part notes. Affects the CSV import as well.') %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Partsgroup is required for parts') %]</td>
+ <td> [% L.yes_no_tag('defaults.partsgroup_required', SELF.defaults.partsgroup_required) %]</td>
+ <td>[% LxERP.t8('If enabled, when saving parts the partsgroup must be not be empty.') %]</td>
+ </tr>
+
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("Purchasing & Sales") %]</td></tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Require a transaction description in purchase and sales records') %]</td>
+ <td>[% L.yes_no_tag('defaults.require_transaction_description_ps', SELF.defaults.require_transaction_description_ps) %]</td>
+ <td>[% LxERP.t8('If enabled purchase and sales records cannot be saved if no transaction description has been entered.') %]</td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8("Only list customer's projects in sales records") %]</td>
+ <td>[% L.yes_no_tag("defaults.customer_projects_only_in_sales", SELF.defaults.customer_projects_only_in_sales) %]</td>
+ <td>[% LxERP.t8("If enabled only those projects that are assigned to the currently selected customer are offered for selection in sales records.") %]</td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Allow conversion from sales quotations to sales invoices') %]</td>
+ <td>[% L.yes_no_tag('defaults.allow_sales_invoice_from_sales_quotation', SELF.defaults.allow_sales_invoice_from_sales_quotation) %]</td>
+ <td>[% LxERP.t8('If disabled sales quotations cannot be converted into sales invoices directly.') %]</td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Allow conversion from sales orders to sales invoices') %]</td>
+ <td>[% L.yes_no_tag('defaults.allow_sales_invoice_from_sales_order', SELF.defaults.allow_sales_invoice_from_sales_order) %]</td>
+ <td>[% LxERP.t8('If disabled sales orders cannot be converted into sales invoices directly.') %]</td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Allow direct creation of new purchase delivery orders') %]</td>
+ <td>[% L.yes_no_tag('defaults.allow_new_purchase_delivery_order', SELF.defaults.allow_new_purchase_delivery_order) %]</td>
+ <td>[% LxERP.t8('If disabled purchase delivery orders can only be created by conversion from existing requests for quotations and purchase orders.') %]</td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Allow direct creation of new purchase invoices') %]</td>
+ <td>[% L.yes_no_tag('defaults.allow_new_purchase_invoice', SELF.defaults.allow_new_purchase_invoice) %]</td>
+ <td>[% LxERP.t8('If disabled purchase invoices can only be created by conversion from existing requests for quotations, purchase orders and purchase delivery orders.') %]</td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8("Show »not delivered qty/value« column in sales and purchase orders") %]</td>
+ <td>[% L.yes_no_tag("defaults.sales_purchase_order_ship_missing_column", SELF.defaults.sales_purchase_order_ship_missing_column) %]</td>
+ <td>[% LxERP.t8("If enabled a column will be shown in sales and purchase orders that lists both the amount and the value not shipped yet for each item.") %]</td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8("Warn before saving orders with duplicate parts (new controller only)") %]</td>
+ <td>[% L.yes_no_tag("defaults.order_warn_duplicate_parts", SELF.defaults.order_warn_duplicate_parts) %]</td>
+ <td>[% LxERP.t8("If enabled a warning will be shown in sales and purchase orders if there are two or more positions of the same part (new controller only).") %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8("Warn before saving orders without a delivery date") %]</td>
+ <td>[% L.yes_no_tag("defaults.order_warn_no_deliverydate", SELF.defaults.order_warn_no_deliverydate) %]</td>
+ <td>[% LxERP.t8("If enabled a warning will be shown in sales and purchase orders if there the delivery date is empty.") %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8("Warn before saving sales orders with missing customer order number (new controller only)") %]</td>
+ <td>[% L.yes_no_tag("defaults.order_warn_no_cusordnumber", SELF.defaults.order_warn_no_cusordnumber) %]</td>
+ <td>[% LxERP.t8("If enabled a warning will be shown in sales delivery orders if the customer order number is missing.") %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8("For sales delivery orders, warn on workflow to invoice if not stocked out") %]</td>
+ <td>[% L.yes_no_tag("defaults.sales_delivery_order_check_stocked", SELF.defaults.sales_delivery_order_check_stocked) %]</td>
+ <td>[% LxERP.t8("If enabled a warning will be shown in sales delivery orders on workflow to invoices if positions are not stocked out.") %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8("For purchase delivery orders, warn on workflow to invoice if not stocked in") %]</td>
+ <td>[% L.yes_no_tag("defaults.purchase_delivery_order_check_stocked", SELF.defaults.purchase_delivery_order_check_stocked) %]</td>
+ <td>[% LxERP.t8("If enabled a warning will be shown in purchase delivery orders on workflow to invoices if positions are not stocked in.") %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8("For sales invoices, warn if invoice has no delivery order as a predecessor") %]</td>
+ <td>[% L.yes_no_tag("defaults.warn_no_delivery_order_for_invoice", SELF.defaults.warn_no_delivery_order_for_invoice ) %]</td>
+ <td>[% LxERP.t8("If enabled a warning will be shown if a sales invoices is created without having a sales delivery order as a predecessor.") %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8("Create sales invoices with Factur-X/ZUGFeRD data") %]</td>
+ <td>[% L.select_tag("defaults.create_zugferd_invoices", SELF.zugferd_settings, default=SELF.defaults.create_zugferd_invoices) %]</td>
+ <td>
+ [% LxERP.t8("If enabled Factur-X/ZUGFeRD conformant sales invoice PDFs will be created.") %]
+ [% LxERP.t8("If the test mode is enabled, the Factur-X/ZUGFeRD invoices will be flagged so that they're only fit to be used for testing purposes.") %]
+ </td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8("Create sales invoices with Swiss QR-bill") %]</td>
+ <td>
+ [% L.select_tag("defaults.create_qrbill_invoices", [ [ 0, LxERP.t8('Do not create QR-bill invoices') ], [ 1, LxERP.t8('Create variant QR-IBAN with QR reference') ], [ 2, LxERP.t8('Create variant IBAN without reference') ] ], default=SELF.defaults.create_qrbill_invoices) %]
+ </td>
+ <td>[% LxERP.t8("If enabled sales invoices created using OpenDocument/OASIS format will include data for Swiss QR-Bill creation.") %]</td>
+ </tr>
+
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("E-mail") %]</td></tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Global Record BCC') %]</td>
+ <td>
+ [% L.input_tag('defaults.global_bcc', SELF.defaults.global_bcc, style=style) %]
+ </td>
+ <td>[% 'Manually sent E-Mails will have their BCC field appended with this address. Will not trigger for employees without the right to send bcc, and will not apply to mails sent by automated jobs.' | $T8 %]</td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Send a BCC to logged in user?') %]</td>
+ <td>
+ [% L.yes_no_tag('defaults.bcc_to_login', SELF.defaults.bcc_to_login) %]
+ </td>
+ <td>
+ [% LxERP.t8('Send a blind copy of all outgoing emails to current user\'s email address?') %]
+ </td>
+ </tr>
+
+ <tr>
+ <td align="right">[% LxERP.t8('Email journal') %]</td>
+ <td>
+ [% L.select_tag('defaults.email_journal', [ [ 0, LxERP.t8('No Journal') ],[ 1, LxERP.t8('Without Attachments') ],[ 2, LxERP.t8('With Attachments') ] ], default=SELF.defaults.email_journal) %]
+ </td>
+ <td>[% 'Sent emails can be optionally stored in the database with or without their attachments.' | $T8 %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Invoice email settings') %]</td>
+ <td>
+ [% L.select_tag('defaults.invoice_mail_settings', [ [ 'cp', LxERP.t8('Contact Person') ],[ 'invoice_mail', LxERP.t8('Invoice email') ],[ 'invoice_mail_cc_cp', LxERP.t8('Invoice email and Contact Person') ] ], default=SELF.defaults.invoice_mail_settings) %]
+ </td>
+ <td>[% 'The invoice recipient can either be a selected contact person (default) or the email adress set in the master data of the customer. Additionally a contact persons mail and the company\'s invoicing mail can be combined.' | $T8 %]</td>
+ </tr>
+
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("Requirement Specs") %]</td></tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Default article for converting into quotations and orders') %]</td>
+ <td>
+ [% IF SELF.h_unit_name %]
+ [% P.part.picker('defaults.requirement_spec_section_order_part_id', SELF.defaults.requirement_spec_section_order_part_id, convertible_unit=SELF.h_unit_name, style=style) %]
+ [% ELSE %]
+ [% LxERP.t8("Error: this feature requires that articles with a time-based unit (e.g. 'h' or 'min') exist.") %]
+ [% END %]
+ </td>
+ <td>[% LxERP.t8('When converting a requirement spec into a quotation or an oder each section gets converted into a line position in the new record. This is the article used by default for this conversion.') %]</td>
+ </tr>
+ <tr><td class="listheading" colspan="4">[% LxERP.t8('Transport and service costs reminder') %]</td></tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Default transport article number') %]</td>
+ <td>[% P.part.picker('defaults.transport_cost_reminder_article_number_id', SELF.defaults.transport_cost_reminder_article_number_id, style=style) %]</td>
+ <td>[% LxERP.t8('Before saving a sales order, this article will be checked and a warning is generated.') %]</td>
+ </tr>
+
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("Disabled Price Sources") %]</td></tr>
+ <tr>
+ <td align="right">[% 'Price Sources to be disabled in this client' | $T8 %]</td>
+ <td colspan=2>
+ <div class="clearfix">
+ [% L.select_tag("defaults.disabled_price_sources[]", SELF.all_price_sources, id="defaults_price_sources", multiple=1, default=SELF.defaults.disabled_price_sources) %]
+ [% L.multiselect2side("defaults_price_sources", labelsx=LxERP.t8("All price sources"), labeldx=LxERP.t8("Price sources deactivated in this client")) %]
+ </div>
+ </td>
+ </tr>
+
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("Projects") %]</td></tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Always save orders with a projectnumber (create new projects)') %]</td>
+ <td>[% L.yes_no_tag('defaults.order_always_project', SELF.defaults.order_always_project) %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Project type') %]</td>
+ <td>[% L.select_tag('defaults.project_type_id', SELF.all_project_types, default=SELF.defaults.project_type_id, title_key='description', with_empty=0, style="width: 200px") %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Project Status') %]</td>
+ <td>[% L.select_tag('defaults.project_status_id', SELF.all_project_statuses, default=SELF.defaults.project_status_id, title_key='description', with_empty=0, style="width: 200px") %]</td>
+ </tr>
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("Select Mulit-Item Options") %]</td></tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Show parts longdescription (notes) in select list') %]</td>
+ <td>[% L.yes_no_tag('defaults.show_longdescription_select_item', SELF.defaults.show_longdescription_select_item) %]</td>
+ </tr>
+
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("Enabled Quick Searched") %]</td></tr>
+ <tr>
+ <td align="right">[% 'Quick Searches that will be shown in the header in this client' | $T8 %]</td>
+ <td colspan=2>
+ <div class="clearfix">
+ [% L.select_tag("defaults.quick_search_modules[]", SELF.available_quick_search_modules, value_key="name", title_key="description_config", id="defaults_quick_searches", multiple=1, default=SELF.defaults.quick_search_modules) %]
+ [% L.multiselect2side("defaults_quick_searches", labelsx=LxERP.t8("All modules"), labeldx=LxERP.t8("Enabled modules")) %]
+ </div>
+ </td>
+ </tr>
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("SEPA") %]</td></tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Add Customer/Vendor Number as a reference add-on for SEPA export.') %]</td>
+ <td>[% L.yes_no_tag('defaults.sepa_reference_add_vc_vc_id', SELF.defaults.sepa_reference_add_vc_vc_id) %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Set the invoice duedate as the default execution date for SEPA export.') %]</td>
+ <td>[% L.yes_no_tag('defaults.sepa_set_duedate_as_default_exec_date', SELF.defaults.sepa_set_duedate_as_default_exec_date) %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Set the invoice skonto date (if exists) as the default execution date for SEPA export.') %]</td>
+ <td>[% L.yes_no_tag('defaults.sepa_set_skonto_date_as_default_exec_date', SELF.defaults.sepa_set_skonto_date_as_default_exec_date) %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('In addition to the above date functions, subtract the following amount of days from the calculated date as a buffer.') %]</td>
+ <td>[% L.input_tag('defaults.sepa_set_skonto_date_buffer_in_days', LxERP.format_amount(SELF.defaults.sepa_set_skonto_date_buffer_in_days, 0), style=style) %]</td>
+ </tr>
+ <tr><td class="listheading" colspan="4">[% LxERP.t8("Experimental Features") %]</td></tr>
+ <tr>
+ <td align="right">[% LxERP.t8('new order controller') %]</td>
+ <td>[% L.yes_no_tag('defaults.feature_experimental_order', SELF.defaults.feature_experimental_order) %]</td>
+ </tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Assortment') %]</td>
+ <td>[% L.yes_no_tag('defaults.feature_experimental_assortment', SELF.defaults.feature_experimental_assortment) %]</td>
+ </tr>
+ <tr><td class="listheading" colspan="4">[% 'Displayable Name Preferences' | $T8 %]</td></tr>
+ [% FOREACH module=SELF.displayable_name_specs_by_module.keys.sort %]
+ [%- SET spec=SELF.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[].default", spec.prefs.get_default, size=50) %]
+ </td>
+ </tr>
+ </table>
+ </td>
+ [% IF loop.first %]
+ <td>[% 'The display of (mainly) picker results can be configured. To insert the value of one option use <%Name%>.' | $T8 %]<br>
+ [% 'E.g. "<%customernumber%> <%name%>"' | $T8 %]
+ </td>
+ [% END %]
+ </tr>
+ [% END %]
+
+