onchange="return checkavailable_filebackend(this);") %]</td>
<td>[% LxERP.t8('Use this storage backend for uploaded images') %]</td>
</tr>
+ <tr>
+ <td align="right">[% LxERP.t8('Storage Type for shopimages') %]</td>
+ <td>[% L.select_tag('defaults.doc_storage_for_shopimages',
+ [ [ 'None', LxERP.t8('None') ], [ 'Filesystem', LxERP.t8('Files') ],[ 'Webdav', LxERP.t8('WebDAV') ],[ 'ExtDMS', LxERP.t8('ext.DMS') ],[ 'DB', LxERP.t8('Database') ] ],
+ default = SELF.defaults.doc_storage_for_shopimages,
+ onchange="return checkavailable_filebackend(this);") %]</td>
+ <td>[% LxERP.t8('Use this storage backend for uploaded images') %]</td>
+ </tr>
<tr>
<td align="right">[% LxERP.t8('Delete printfiles') %]</td>
<td>[% L.yes_no_tag('defaults.doc_delete_printfiles', SELF.defaults.doc_delete_printfiles) %]</td>
<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>
+ </tr>
<tr><td class="listheading" colspan="4">[% LxERP.t8("Purchasing & Sales") %]</td></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) %]
+ [% 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 %]
<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>[% L.part_picker('defaults.transport_cost_reminder_article_number_id', SELF.defaults.transport_cost_reminder_article_number_id, style=style) %]</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>
<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>