X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0f84ffa0664bfebe1cfe613223ac15547ae56f21..670f76a:/templates/webpages/csv_import/form.html diff --git a/templates/webpages/csv_import/form.html b/templates/webpages/csv_import/form.html index 4ae1cf6d1..e835ed505 100644 --- a/templates/webpages/csv_import/form.html +++ b/templates/webpages/csv_import/form.html @@ -45,6 +45,54 @@
+

[%- LxERP.t8('Help on column names') %]

+ +
+ [% LxERP.t8("Show help text") %] +
+ + + +
+

[%- LxERP.t8('Settings') %]

@@ -112,9 +160,9 @@ @@ -125,6 +173,15 @@ [%- INCLUDE 'csv_import/_form_customers_vendors.html' %] [%- END %] + + + + + @@ -139,10 +196,22 @@
[%- LxERP.t8('Check for duplicates') %]: - [% opts = [ [ 'no_check', LxERP.t8('Do not check for duplicates') ], + [% opts = [ [ 'no_check', LxERP.t8('Do not check for duplicates') ], [ 'check_csv', LxERP.t8('Discard duplicate entries in CSV file') ], - [ 'check_db', LxERP.t8('Discard entries with duplicates in database and CSV file') ] ] %] + [ 'check_db', LxERP.t8('Discard entries with duplicates in database or CSV file') ] ] %] [% L.select_tag('settings.duplicates', L.options_for_select(opts, default => SELF.profile.get('duplicates')), style => 'width: 300px') %]
[%- LxERP.t8('Preview Mode') %]: + [% L.radio_button_tag('settings.full_preview', value=2, checked=SELF.profile.get('full_preview')==2, label=LxERP.t8('Full Preview')) %] + [% L.radio_button_tag('settings.full_preview', value=1, checked=SELF.profile.get('full_preview')==1, label=LxERP.t8('Only Warnings and Errors')) %] + [% L.radio_button_tag('settings.full_preview', value=0, checked=!SELF.profile.get('full_preview'), label=LxERP.t8('First 20 Lines')) %] +
[%- LxERP.t8('Import file') %]: [% L.input_tag('file', '', type => 'file', accept => '*') %]
- [% L.submit_tag('action_test', LxERP.t8('Gogogo')) %] + [% L.submit_tag('action_test', LxERP.t8('Test and preview')) %] + [% IF (SELF.import_status == 'tested') && SELF.num_importable %] + [% L.submit_tag('action_import', LxERP.t8('Import')) %] + [%- END %] + [%- IF SELF.import_status %] + [%- IF SELF.errors %] + [%- PROCESS 'csv_import/_errors.html' %] + [%- END %] + + [%- PROCESS 'csv_import/_result.html' %] + [%- PROCESS 'csv_import/_preview.html' %] + [%- END %] +