[%- INCLUDE 'common/flash.html' %]
- <form method="post" action="controller.pl" enctype="multipart/form-data">
+ <form method="post" action="controller.pl" enctype="multipart/form-data" id="form">
[% L.hidden_tag('form_sent', '1') %]
[% L.hidden_tag('action', 'CsvImport/dispatch') %]
[% L.hidden_tag('profile.type', SELF.profile.type) %]
+ [% L.hidden_tag('tmp_profile_id', SELF.profile.id) %]
[%- IF SELF.profile.get('dont_edit_profile') %]
[% L.hidden_tag('force_profile', 1) %]
[%- IF SELF.type == 'contacts' %]
<p>
[%- LxERP.t8("You can update existing contacts by providing the 'cp_id' column with their database IDs. Otherwise: ") %]
- [%- LxERP.t8('At least one of the columns #1, customer, customernumber, vendor, vendornumber (depending on the target table) is required for matching the entry to an existing customer or vendor.', 'cp_cv_id') %]
+ [%- LxERP.t8('At least one of the columns #1, customer, customernumber, customer_gln, vendor, vendornumber, vendor_gln (depending on the target table) is required for matching the entry to an existing customer or vendor.', 'cp_cv_id') %]
</p>
[%- ELSIF SELF.type == 'addresses' %]
<p>
- [%- LxERP.t8('At least one of the columns #1, customer, customernumber, vendor, vendornumber (depending on the target table) is required for matching the entry to an existing customer or vendor.', 'trans_id') %]
+ [%- LxERP.t8('At least one of the columns #1, customer, customernumber, customer_gln, vendor, vendornumber, vendor_gln (depending on the target table) is required for matching the entry to an existing customer or vendor.', 'trans_id') %]
</p>
[%- ELSIF SELF.type == 'parts' %]
</div>
<hr>
[%- END %][%# UNLESS SELF.worker.is_multiplexed %]
- [% L.submit_tag('action_test', LxERP.t8('Test and preview')) %]
[%- END %][%# IF SELF.profile.get('dont_edit_profile') %]
- [% L.submit_tag('action_import', LxERP.t8('Import'), style='display:none') %]
-
</form>
<div id='results'>