Rechnungsmaske: "Browser-Zurück verhindern" konfigurierbar in Mandantenkonfig
[kivitendo-erp.git] / templates / webpages / client_config / _features.html
1 [%- USE LxERP -%][%- USE L -%][%- USE P -%][%- USE T8 %]
2 [% SET style="width: 250px" %]
3 <div id="features">
4  <table>
5   <tr><td class="listheading" colspan="4">[% LxERP.t8("DATEV") %]</td></tr>
6
7   <tr>
8    <td align="right">[% LxERP.t8('Datevautomatik') %]</td>
9    <td>[% L.yes_no_tag('defaults.feature_datev', SELF.defaults.feature_datev) %]</td>
10    <td>[% LxERP.t8('Use Datevautomatik') %]</td>
11   </tr>
12
13   <tr><td class="listheading" colspan="4">[% LxERP.t8("UStVA") %]</td></tr>
14
15   <tr>
16    <td align="right">[% LxERP.t8('UStVA') %]</td>
17    <td>[% L.yes_no_tag('defaults.feature_ustva', SELF.defaults.feature_ustva) %]</td>
18    <td>[% LxERP.t8('Use UStVA') %]</td>
19   </tr>
20
21   <tr><td class="listheading" colspan="4">[% LxERP.t8("File Management") %]</td></tr>
22   <tr>
23    <td align="right">[% LxERP.t8('WebDAV') %]</td>
24    <td>[% L.yes_no_tag('defaults.webdav', SELF.defaults.webdav) %]</td>
25    <td>[% LxERP.t8('Use WebDAV Repository') %]</td>
26   </tr>
27   <tr>
28    <td align="right">[% LxERP.t8('WebDAV save documents') %]</td>
29    <td>[% L.yes_no_tag('defaults.webdav_documents', SELF.defaults.webdav_documents) %]</td>
30    <td>[% LxERP.t8('Save document in WebDAV repository') %]</td>
31   </tr>
32   <tr>
33    <td align="right">[% LxERP.t8('Filemanagement') %]</td>
34    <td>[% L.yes_no_tag('defaults.doc_storage', SELF.defaults.doc_storage) %]</td>
35    <td>[% LxERP.t8('Use Filemanagement') %]</td>
36   </tr>
37   <tr>
38     <td align="right">[% LxERP.t8('Storage Type for generated/imported PDF Documents') %]</td>
39     <td>[% L.select_tag('defaults.doc_storage_for_documents',
40          [ [ 'None', LxERP.t8('None') ],[ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ] ],
41                                default = SELF.defaults.doc_storage_for_documents,
42                                onchange="return checkavailable_filebackend(this);") %]</td>
43     <td>[% LxERP.t8('Use this storage backend for all generated PDF-Files') %]</td>
44   </tr>
45   <tr>
46     <td align="right">[% LxERP.t8('Storage Type for Attachments') %]</td>
47     <td>[% L.select_tag('defaults.doc_storage_for_attachments',
48          [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ] ],
49                                default = SELF.defaults.doc_storage_for_attachments,
50                                onchange="return checkavailable_filebackend(this);") %]</td>
51     <td>[% LxERP.t8('Use this storage backend for all uploaded attachments') %]</td>
52   </tr>
53   <tr>
54     <td align="right">[% LxERP.t8('Storage Type for images') %]</td>
55     <td>[% L.select_tag('defaults.doc_storage_for_images',
56          [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ] ],
57                                default = SELF.defaults.doc_storage_for_images,
58                                onchange="return checkavailable_filebackend(this);") %]</td>
59     <td>[% LxERP.t8('Use this storage backend for uploaded images') %]</td>
60   </tr>
61   <tr>
62     <td align="right">[% LxERP.t8('Storage Type for shopimages') %]</td>
63     <td>[% L.select_tag('defaults.doc_storage_for_shopimages',
64          [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ] ],
65                                default = SELF.defaults.doc_storage_for_shopimages,
66                                onchange="return checkavailable_filebackend(this);") %]</td>
67     <td>[% LxERP.t8('Use this storage backend for uploaded images') %]</td>
68   </tr>
69   <tr>
70    <td align="right">[% LxERP.t8('Delete printfiles') %]</td>
71    <td>[% L.yes_no_tag('defaults.doc_delete_printfiles', SELF.defaults.doc_delete_printfiles) %]</td>
72    <td>[% LxERP.t8('Allow to delete generated printfiles') %]</td>
73   </tr>
74   <tr>
75    <td align="right">[% LxERP.t8('max filesize') %]</td>
76    <td>[% L.input_tag('doc_max_filesize_MB','', size=10, onchange="verifyMBSize(this);") %]
77        [% L.hidden_tag('defaults.doc_max_filesize',SELF.defaults.doc_max_filesize) %] MB</td>
78    <td>[% LxERP.t8('The maximum of uploadable filesize in Megabyte') %]</td>
79   </tr>
80   <tr>
81    <td align="right">[% LxERP.t8('Preselect Customer/Vendor documents as email attachments') %]</td>
82    <td>[% L.yes_no_tag('defaults.email_attachment_vc_files_checked', SELF.defaults.email_attachment_vc_files_checked) %]</td>
83    <td>[% LxERP.t8('Preselect all documents saved for the current customer/vendor as a mail attachment.') %]</td>
84   </tr>
85   <tr>
86    <td align="right">[% LxERP.t8('Preselect part documents as email attachments') %]</td>
87    <td>[% L.yes_no_tag('defaults.email_attachment_part_files_checked', SELF.defaults.email_attachment_part_files_checked) %]</td>
88    <td>[% LxERP.t8('Preselect all documents for the current selected parts in a record as a mail attachment.') %]</td>
89   </tr>
90   <tr>
91    <td align="right">[% LxERP.t8('Preselect record documents as email attachments') %]</td>
92    <td>[% L.yes_no_tag('defaults.email_attachment_record_files_checked', SELF.defaults.email_attachment_record_files_checked) %]</td>
93    <td>[% LxERP.t8('Preselect all documents saved for the current record as a mail attachment.') %]</td>
94   </tr>
95   <tr><td class="listheading" colspan="4">[% LxERP.t8("Storage Backends") %]</td></tr>
96   <tr>
97    <td align="right">[% LxERP.t8('Files') %]</td>
98    <td>[% L.yes_no_tag('defaults.doc_files', SELF.defaults.doc_files) %]</td>
99    <td>[% LxERP.t8('Use File Storage backend') %]</td>
100   </tr>
101   <tr>
102    <td align="right">[% LxERP.t8('WebDAV') %]</td>
103    <td>[% L.yes_no_tag('defaults.doc_webdav', SELF.defaults.doc_webdav) %]</td>
104    <td>[% LxERP.t8('Use WebDAV Storage backend') %]</td>
105   </tr>
106
107   <tr><td class="listheading" colspan="4">[% LxERP.t8("Reports") %]</td></tr>
108
109   <tr>
110    <td align="right">[% LxERP.t8('Balance') %]</td>
111    <td>[% L.yes_no_tag('defaults.feature_balance', SELF.defaults.feature_balance) %]</td>
112    <td>[% LxERP.t8('Use Balance Sheet') %]</td>
113   </tr>
114   <tr>
115    <td align="right">[% LxERP.t8('income') %]</td>
116    <td>[% L.yes_no_tag('defaults.feature_eurechnung', SELF.defaults.feature_eurechnung) %]</td>
117    <td>[% LxERP.t8('Use Income') %]</td>
118   </tr>
119   <tr>
120    <td align="right">[% LxERP.t8('Erfolgsrechnung') %]</td>
121    <td>[% L.yes_no_tag('defaults.feature_erfolgsrechnung', SELF.defaults.feature_erfolgsrechnung) %]</td>
122    <td>[% LxERP.t8('Use Erfolgsrechnung') %]</td>
123   </tr>
124
125   <tr><td class="listheading" colspan="4">[% LxERP.t8("Customer Master Data") %]</td></tr>
126
127   <tr>
128    <td align="right">[% LxERP.t8('Representative') %]</td>
129    <td>[% L.yes_no_tag('defaults.vertreter', SELF.defaults.vertreter) %]</td>
130    <td>[% LxERP.t8('Representative for Customer') %]</td>
131   </tr>
132   <tr>
133    <td align="right">[% LxERP.t8('Normalize Customer / Vendor names') %]</td>
134    <td>   [% L.yes_no_tag('defaults.normalize_vc_names', SELF.defaults.normalize_vc_names) %]</td>
135    <td>[% LxERP.t8('Automatic deletion of leading, trailing and excessive (repetitive) spaces in customer or vendor names') %]</td>
136   </tr>
137   <tr>
138    <td align="right">[% LxERP.t8('Use text field for greetings') %]</td>
139    <td>   [% L.yes_no_tag('defaults.vc_greetings_use_textfield', SELF.defaults.vc_greetings_use_textfield) %]</td>
140    <td>[% LxERP.t8('Use a text field to enter (new) greetings if enabled. Otherwise, only a drop down box is offered.') %]</td>
141   </tr>
142   <tr>
143    <td align="right">[% LxERP.t8('Use text field for title of contacts') %]</td>
144    <td>   [% L.yes_no_tag('defaults.contact_titles_use_textfield', SELF.defaults.contact_titles_use_textfield) %]</td>
145    <td>[% LxERP.t8('Use a text field to enter (new) contact titles if enabled. Otherwise, only a drop down box is offered.') %]</td>
146   </tr>
147   <tr>
148    <td align="right">[% LxERP.t8('Use text field for department of contacts') %]</td>
149    <td>   [% L.yes_no_tag('defaults.contact_departments_use_textfield', SELF.defaults.contact_departments_use_textfield) %]</td>
150    <td>[% LxERP.t8('Use a text field to enter (new) contact departments if enabled. Otherwise, only a drop down box is offered.') %]</td>
151   </tr>
152
153   <tr>
154    <td align="right">[% LxERP.t8('Hourly Rate') %]</td>
155    <td>[% L.input_tag('defaults.customer_hourly_rate', LxERP.format_amount(SELF.defaults.customer_hourly_rate, 2), style=style) %]</td>
156    <td>[% LxERP.t8('Default hourly rate for new customers') %]</td>
157   </tr>
158
159   <tr>
160    <td align="right">[% LxERP.t8('Customers: VAT ID / taxnumber unique') %]</td>
161    <td>[% L.yes_no_tag('defaults.customer_ustid_taxnummer_unique', SELF.defaults.customer_ustid_taxnummer_unique) %]</td>
162    <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>
163   </tr>
164   <tr>
165    <td align="right">[% LxERP.t8('Vendors: VAT ID / taxnumber unique') %]</td>
166    <td>[% L.yes_no_tag('defaults.vendor_ustid_taxnummer_unique', SELF.defaults.vendor_ustid_taxnummer_unique) %]</td>
167    <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>
168   </tr>
169
170   <tr><td class="listheading" colspan="4">[% LxERP.t8("Parts Master Data") %]</td></tr>
171
172   <tr>
173    <td align="right">[% LxERP.t8('Pictures for parts') %]</td>
174    <td>[% L.yes_no_tag('defaults.parts_show_image', SELF.defaults.parts_show_image) %]</td>
175    <td>[% LxERP.t8('Show the picture in the part form') %]</td>
176   </tr>
177   <tr>
178    <td align="right">[% LxERP.t8('Pictures for search parts') %]</td>
179    <td>[% L.yes_no_tag('defaults.parts_listing_image', SELF.defaults.parts_listing_image) %]</td>
180    <td>[% LxERP.t8('Show the pictures in the result for search parts') %]</td>
181   </tr>
182   <tr>
183    <td align="right">[% LxERP.t8('CSS style for pictures') %]</td>
184    <td>   [% L.input_tag('defaults.parts_image_css',SELF.defaults.parts_image_css, style=style) %]</td>
185    <td>[% LxERP.t8('Style the picture with the following CSS code') %]</td>
186   </tr>
187   <tr>
188     <td align="right">[% LxERP.t8('If item not found, allow creation of new item') %]</td>
189     <td>[% L.yes_no_tag('defaults.create_part_if_not_found', SELF.defaults.create_part_if_not_found) %]</td>
190     <td>[% LxERP.t8('If searching a part from a document and no part is found then offer to create a new part.') %]</td>
191   </tr>
192  <tr>
193    <td align="right">[% LxERP.t8('Normalize part description and part notes') %]</td>
194    <td>   [% L.yes_no_tag('defaults.normalize_part_descriptions', SELF.defaults.normalize_part_descriptions) %]</td>
195    <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>
196  </tr>
197  <tr>
198    <td align="right">[% LxERP.t8('Partsgroup is required for parts') %]</td>
199    <td>   [% L.yes_no_tag('defaults.partsgroup_required', SELF.defaults.partsgroup_required) %]</td>
200    <td>[% LxERP.t8('If enabled, when saving parts the partsgroup must be not be empty.') %]</td>
201  </tr>
202
203   <tr><td class="listheading" colspan="4">[% LxERP.t8("Purchasing & Sales") %]</td></tr>
204
205   <tr>
206    <td align="right">[% LxERP.t8('Require a transaction description in purchase and sales records') %]</td>
207    <td>[% L.yes_no_tag('defaults.require_transaction_description_ps', SELF.defaults.require_transaction_description_ps) %]</td>
208    <td>[% LxERP.t8('If enabled purchase and sales records cannot be saved if no transaction description has been entered.') %]</td>
209   </tr>
210
211   <tr>
212    <td align="right">[% LxERP.t8("Only list customer's projects in sales records") %]</td>
213    <td>[% L.yes_no_tag("defaults.customer_projects_only_in_sales", SELF.defaults.customer_projects_only_in_sales) %]</td>
214    <td>[% LxERP.t8("If enabled only those projects that are assigned to the currently selected customer are offered for selection in sales records.") %]</td>
215   </tr>
216
217   <tr>
218    <td align="right">[% LxERP.t8('Allow conversion from sales quotations to sales invoices') %]</td>
219    <td>[% L.yes_no_tag('defaults.allow_sales_invoice_from_sales_quotation', SELF.defaults.allow_sales_invoice_from_sales_quotation) %]</td>
220    <td>[% LxERP.t8('If disabled sales quotations cannot be converted into sales invoices directly.') %]</td>
221   </tr>
222
223   <tr>
224    <td align="right">[% LxERP.t8('Allow conversion from sales orders to sales invoices') %]</td>
225    <td>[% L.yes_no_tag('defaults.allow_sales_invoice_from_sales_order', SELF.defaults.allow_sales_invoice_from_sales_order) %]</td>
226    <td>[% LxERP.t8('If disabled sales orders cannot be converted into sales invoices directly.') %]</td>
227   </tr>
228
229   <tr>
230    <td align="right">[% LxERP.t8('Allow direct creation of new purchase delivery orders') %]</td>
231    <td>[% L.yes_no_tag('defaults.allow_new_purchase_delivery_order', SELF.defaults.allow_new_purchase_delivery_order) %]</td>
232    <td>[% LxERP.t8('If disabled purchase delivery orders can only be created by conversion from existing requests for quotations and purchase orders.') %]</td>
233   </tr>
234
235   <tr>
236    <td align="right">[% LxERP.t8('Allow direct creation of new purchase invoices') %]</td>
237    <td>[% L.yes_no_tag('defaults.allow_new_purchase_invoice', SELF.defaults.allow_new_purchase_invoice) %]</td>
238    <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>
239   </tr>
240
241   <tr>
242    <td align="right">[% LxERP.t8("Show Â»not delivered qty/value« column in sales and purchase orders") %]</td>
243    <td>[% L.yes_no_tag("defaults.sales_purchase_order_ship_missing_column", SELF.defaults.sales_purchase_order_ship_missing_column) %]</td>
244    <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>
245   </tr>
246
247   <tr>
248    <td align="right">[% LxERP.t8("Warn before saving orders with duplicate parts (new controller only)") %]</td>
249    <td>[% L.yes_no_tag("defaults.order_warn_duplicate_parts", SELF.defaults.order_warn_duplicate_parts) %]</td>
250    <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>
251   </tr>
252   <tr>
253    <td align="right">[% LxERP.t8("Warn before saving orders without a delivery date") %]</td>
254    <td>[% L.yes_no_tag("defaults.order_warn_no_deliverydate", SELF.defaults.order_warn_no_deliverydate) %]</td>
255    <td>[% LxERP.t8("If enabled a warning will be shown in sales and purchase orders if there the delivery date is empty.") %]</td>
256   </tr>
257   <tr>
258    <td align="right">[% LxERP.t8("Warn before saving sales orders with missing customer order number (new controller only)") %]</td>
259    <td>[% L.yes_no_tag("defaults.order_warn_no_cusordnumber", SELF.defaults.order_warn_no_cusordnumber) %]</td>
260    <td>[% LxERP.t8("If enabled a warning will be shown in sales delivery orders if the customer order number is missing.") %]</td>
261   </tr>
262   <tr>
263    <td align="right">[% LxERP.t8("For sales delivery orders, warn on workflow to invoice if not stocked out") %]</td>
264    <td>[% L.yes_no_tag("defaults.sales_delivery_order_check_stocked", SELF.defaults.sales_delivery_order_check_stocked) %]</td>
265    <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>
266   </tr>
267   <tr>
268    <td align="right">[% LxERP.t8("For purchase delivery orders, warn on workflow to invoice if not stocked in") %]</td>
269    <td>[% L.yes_no_tag("defaults.purchase_delivery_order_check_stocked", SELF.defaults.purchase_delivery_order_check_stocked) %]</td>
270    <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>
271   </tr>
272   <tr>
273    <td align="right">[% LxERP.t8("For sales invoices, warn if invoice has no delivery order as a predecessor") %]</td>
274    <td>[% L.yes_no_tag("defaults.warn_no_delivery_order_for_invoice", SELF.defaults.warn_no_delivery_order_for_invoice ) %]</td>
275    <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>
276   </tr>
277   <tr>
278    <td align="right">[% LxERP.t8("Create sales invoices with Factur-X/ZUGFeRD data") %]</td>
279    <td>[% L.select_tag("defaults.create_zugferd_invoices", SELF.zugferd_settings, default=SELF.defaults.create_zugferd_invoices) %]</td>
280    <td>
281      [% LxERP.t8("If enabled Factur-X/ZUGFeRD conformant sales invoice PDFs will be created.") %]
282      [% 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.") %]
283    </td>
284   </tr>
285   <tr>
286    <td align="right">[% LxERP.t8("Create sales invoices with Swiss QR-bill") %]</td>
287    <td>
288      [% 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) %]
289    </td>
290    <td>[% LxERP.t8("If enabled sales invoices created using OpenDocument/OASIS format will include data for Swiss QR-Bill creation.") %]</td>
291   </tr>
292   <tr>
293    <td align="right">[% LxERP.t8("Prevent browser's back button in sales invoices") %]</td>
294    <td>[% L.yes_no_tag("defaults.invoice_prevent_browser_back", SELF.defaults.invoice_prevent_browser_back) %]</td>
295    <td>[% LxERP.t8("If enabled try to overrule the brower's back button to prevent double booking of sales invoices.") %]</td>
296   </tr>
297
298   <tr><td class="listheading" colspan="4">[% LxERP.t8("E-mail") %]</td></tr>
299
300   <tr>
301    <td align="right">[% LxERP.t8('Global Record BCC') %]</td>
302    <td>
303      [% L.input_tag('defaults.global_bcc', SELF.defaults.global_bcc, style=style) %]
304    </td>
305    <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>
306   </tr>
307
308   <tr>
309    <td align="right">[% LxERP.t8('Send a BCC to logged in user?') %]</td>
310    <td>
311      [% L.yes_no_tag('defaults.bcc_to_login', SELF.defaults.bcc_to_login) %]
312    </td>
313    <td>
314      [% LxERP.t8('Send a blind copy of all outgoing emails to current user\'s email address?') %]
315    </td>
316  </tr>
317
318   <tr>
319    <td align="right">[% LxERP.t8('Email journal') %]</td>
320    <td>
321      [% 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) %]
322    </td>
323    <td>[% 'Sent emails can be optionally stored in the database with or without their attachments.' | $T8 %]</td>
324   </tr>
325   <tr>
326    <td align="right">[% LxERP.t8('Invoice email settings') %]</td>
327    <td>
328      [% 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) %]
329    </td>
330    <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>
331   </tr>
332
333   <tr><td class="listheading" colspan="4">[% LxERP.t8("Requirement Specs") %]</td></tr>
334   <tr>
335    <td align="right">[% LxERP.t8('Default article for converting into quotations and orders') %]</td>
336    <td>
337     [% IF SELF.h_unit_name %]
338      [% 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) %]
339     [% ELSE %]
340      [% LxERP.t8("Error: this feature requires that articles with a time-based unit (e.g. 'h' or 'min') exist.") %]
341     [% END %]
342    </td>
343    <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>
344   </tr>
345   <tr><td class="listheading" colspan="4">[% LxERP.t8('Transport and service costs reminder') %]</td></tr>
346  <tr>
347   <td align="right">[% LxERP.t8('Default transport article number') %]</td>
348   <td>[% P.part.picker('defaults.transport_cost_reminder_article_number_id', SELF.defaults.transport_cost_reminder_article_number_id, style=style) %]</td>
349    <td>[% LxERP.t8('Before saving a sales order, this article will be checked and a warning is generated.') %]</td>
350  </tr>
351
352  <tr><td class="listheading" colspan="4">[% LxERP.t8("Disabled Price Sources") %]</td></tr>
353  <tr>
354    <td align="right">[% 'Price Sources to be disabled in this client' | $T8 %]</td>
355    <td colspan=2>
356      <div class="clearfix">
357       [% L.select_tag("defaults.disabled_price_sources[]", SELF.all_price_sources, id="defaults_price_sources", multiple=1, default=SELF.defaults.disabled_price_sources) %]
358       [% L.multiselect2side("defaults_price_sources", labelsx=LxERP.t8("All price sources"), labeldx=LxERP.t8("Price sources deactivated in this client")) %]
359      </div>
360    </td>
361  </tr>
362
363   <tr><td class="listheading" colspan="4">[% LxERP.t8("Projects") %]</td></tr>
364   <tr>
365    <td align="right">[% LxERP.t8('Always save orders with a projectnumber (create new projects)') %]</td>
366    <td>[% L.yes_no_tag('defaults.order_always_project', SELF.defaults.order_always_project) %]</td>
367   </tr>
368   <tr>
369    <td align="right">[% LxERP.t8('Project type') %]</td>
370    <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>
371   </tr>
372   <tr>
373    <td align="right">[% LxERP.t8('Project Status') %]</td>
374    <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>
375   </tr>
376   <tr><td class="listheading" colspan="4">[% LxERP.t8("Select Mulit-Item Options") %]</td></tr>
377   <tr>
378    <td align="right">[% LxERP.t8('Show parts longdescription (notes) in select list') %]</td>
379    <td>[% L.yes_no_tag('defaults.show_longdescription_select_item', SELF.defaults.show_longdescription_select_item) %]</td>
380   </tr>
381
382   <tr><td class="listheading" colspan="4">[% LxERP.t8("Enabled Quick Searched") %]</td></tr>
383   <tr>
384     <td align="right">[% 'Quick Searches that will be shown in the header in this client' | $T8 %]</td>
385     <td colspan=2>
386       <div class="clearfix">
387        [% 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) %]
388        [% L.multiselect2side("defaults_quick_searches", labelsx=LxERP.t8("All modules"), labeldx=LxERP.t8("Enabled modules")) %]
389       </div>
390     </td>
391   </tr>
392   <tr><td class="listheading" colspan="4">[% LxERP.t8("SEPA") %]</td></tr>
393   <tr>
394    <td align="right">[% LxERP.t8('Add Customer/Vendor Number as a reference add-on for SEPA export.') %]</td>
395    <td>[% L.yes_no_tag('defaults.sepa_reference_add_vc_vc_id', SELF.defaults.sepa_reference_add_vc_vc_id) %]</td>
396   </tr>
397   <tr>
398    <td align="right">[% LxERP.t8('Set the invoice duedate as the default execution date for SEPA export.') %]</td>
399    <td>[% L.yes_no_tag('defaults.sepa_set_duedate_as_default_exec_date', SELF.defaults.sepa_set_duedate_as_default_exec_date) %]</td>
400   </tr>
401   <tr>
402    <td align="right">[% LxERP.t8('Set the invoice skonto date (if exists) as the default execution date for SEPA export.') %]</td>
403    <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>
404   </tr>
405   <tr>
406    <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>
407    <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>
408   </tr>
409   <tr><td class="listheading" colspan="4">[% LxERP.t8("Experimental Features") %]</td></tr>
410   <tr>
411    <td align="right">[% LxERP.t8('new order controller') %]</td>
412    <td>[% L.yes_no_tag('defaults.feature_experimental_order', SELF.defaults.feature_experimental_order) %]</td>
413   </tr>
414   <tr>
415    <td align="right">[% LxERP.t8('Assortment') %]</td>
416    <td>[% L.yes_no_tag('defaults.feature_experimental_assortment', SELF.defaults.feature_experimental_assortment) %]</td>
417   </tr>
418  <tr><td class="listheading" colspan="4">[% 'Displayable Name Preferences' | $T8 %]</td></tr>
419  [% FOREACH module=SELF.displayable_name_specs_by_module.keys.sort %]
420  [%- SET spec=SELF.displayable_name_specs_by_module.$module -%]
421   <tr>
422     <td align="right">[% spec.specs.title %]</td>
423     <td>
424       <table>
425         <tr>
426           <th align="left" class="listheading">[% 'Option' | $T8 %]</th>
427           <th align="left" class="listheading">[% 'Name'   | $T8 %]</th>
428         </tr>
429         [% FOREACH option=spec.specs.options %]
430         <tr>
431           <td>[% option.title %]</td>
432           <td>[% option.name  %]</td>
433         </tr>
434         [% END %]
435         <tr>
436           <th align="left">[% 'Display' | $T8 %]:</th>
437           <td>
438             [% L.hidden_tag("displayable_name_specs[+].module", module) %]
439             [% L.input_tag("displayable_name_specs[].default", spec.prefs.get_default, size=50) %]
440           </td>
441         </tr>
442       </table>
443     </td>
444     [% IF loop.first %]
445     <td>[% 'The display of (mainly) picker results can be configured. To insert the value of one option use <%Name%>.' | $T8 %]<br>
446         [% 'E.g. "<%customernumber%> <%name%>"' | $T8 %]
447     </td>
448     [% END %]
449   </tr>
450   [% END %]
451
452
453 </table>
454 </div>