X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fcsv_import%2Fform.html;h=4a9672b8fd1193678856953806e55c761c5309ee;hb=af2f24b8a20ae59af3b72da2cdf3669987a19927;hp=8eaed1786dc41d801e48822038ce7b01b33aed19;hpb=aee10de25a63ec46afee4aec4b50ff509c0dcfd1;p=kivitendo-erp.git
diff --git a/templates/webpages/csv_import/form.html b/templates/webpages/csv_import/form.html
index 8eaed1786..4a9672b8f 100644
--- a/templates/webpages/csv_import/form.html
+++ b/templates/webpages/csv_import/form.html
@@ -57,22 +57,53 @@
[% LxERP.t8("Hide help text") %]
-
-
- [%- LxERP.t8('Column name') %] |
- [%- LxERP.t8('Meaning') %] |
-
-
- [%- FOREACH row = SELF.displayable_columns %]
-
- [%- HTML.escape(row.name) %] |
- [%- HTML.escape(row.description) %] |
-
- [%- END %]
-
+ [%- IF SELF.worker.is_multiplexed %]
+
+
+ [%- FOREACH p = SELF.worker.profile %]
+ [%- p.row_ident %] |
+ [%- END %]
+
+
+ [%- FOREACH p = SELF.worker.profile %]
+ [% SET ri = p.row_ident %]
+
+
+
+ [%- LxERP.t8('Column name') %] |
+ [%- LxERP.t8('Meaning') %] |
+
+
+ [%- FOREACH row = SELF.displayable_columns.$ri %]
+
+ [%- HTML.escape(row.name) %] |
+ [%- HTML.escape(row.description) %] |
+
+ [%- END %]
+
+ |
+ [%- END %]
+
+
+ [%- ELSE %]
+
+
+ [%- LxERP.t8('Column name') %] |
+ [%- LxERP.t8('Meaning') %] |
+
+
+ [%- FOREACH row = SELF.displayable_columns %]
+
+ [%- HTML.escape(row.name) %] |
+ [%- HTML.escape(row.description) %] |
+
+ [%- END %]
+
+ [%- END %]
[%- IF SELF.type == 'contacts' %]
+ [%- 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') %]
@@ -94,6 +125,21 @@
[% LxERP.t8('The items are imported accoring do their number "X" regardless of the column order inside the file.') %]
[% LxERP.t8('The column "make_X" can contain either a vendor\'s database ID, a vendor number or a vendor\'s name.') %]
+
+ [2]:
+ [% LxERP.t8('Onhand only sets the quantity in master data, not in inventory. This is only a legacy info field and will be overwritten as soon as a inventory transfer happens.') %]
+
+
+[%- ELSIF SELF.type == 'orders' %]
+
+ [1]:
+ [% LxERP.t8('The column "datatype" must be present and must be the first column. The values must be the row names (see settings) for order and item data respectively.') %]
+
+
+ [2]:
+ [%- LxERP.t8('Amount and net amount are calculated by kivitendo. "verify_amount" and "verify_netamount" can be used for sanity checks.') %]
+ [%- LxERP.t8('If amounts differ more than "Maximal amount difference" (see settings), this item is marked as invalid.') %]
+
[%- END %]
@@ -203,6 +249,10 @@
[%- INCLUDE 'csv_import/_form_parts.html' %]
[%- ELSIF SELF.type == 'customers_vendors' %]
[%- INCLUDE 'csv_import/_form_customers_vendors.html' %]
+[%- ELSIF SELF.type == 'contacts' %]
+ [%- INCLUDE 'csv_import/_form_contacts.html' %]
+[%- ELSIF SELF.type == 'orders' %]
+ [%- INCLUDE 'csv_import/_form_orders.html' %]
[%- END %]
@@ -249,7 +299,7 @@