X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcsv_import%2Fform.html;h=c40c563d42f688cf0fbffe961a524197754ff8da;hb=d6138be82164a47633942ae567d17c44372c3139;hp=9fd30ac1d953bc09272b571b805ff64c16215239;hpb=a23454bb1b039a31b7f77710ff663fa9152d530c;p=kivitendo-erp.git
diff --git a/templates/webpages/csv_import/form.html b/templates/webpages/csv_import/form.html
index 9fd30ac1d..c40c563d4 100644
--- a/templates/webpages/csv_import/form.html
+++ b/templates/webpages/csv_import/form.html
@@ -2,8 +2,7 @@
[%- USE LxERP %]
[%- USE L %]
[%- USE T8 %]
-
-
[% 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' %]
@@ -83,11 +112,6 @@
[%- ELSIF SELF.type == 'parts' %]
-
- [%- LxERP.t8("If the article type is set to 'mixed' then a column called 'type' must be present.") %]
- [% LxERP.t8("Type can be either 'part' or 'service'.") %]
-
-
[1]:
[% LxERP.t8('The three columns "make_X", "model_X" and "lastcost_X" with the same number "X" are used to import vendor part numbers and vendor prices.') %]
@@ -95,6 +119,32 @@
[% 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.') %]
+
+
+ [3]:
+ [% LxERP.t8("If the article type is set to 'mixed' then a column called 'type' must be present.") %]
+ [% LxERP.t8("Type can be either 'part', 'service' or 'assembly'.") %]
+ [% LxERP.t8("Assemblies can not be imported (yet). But the type column is used for sanity checks on price updates in order to prevent that articles with the wrong type will be updated.") %]
+
+
+[%- ELSIF SELF.type == 'inventories' %]
+
+ [%- LxERP.t8('One of the columns "qty" or "target_qty" must be given. If "target_qty" is given, the quantity to transfer for each transfer will be calculate, so that the quantity for this part, warehouse and bin will result in the given "target_qty" after each transfer.') %]
+
+
+[%- ELSIF SELF.type == 'orders' %]
+
+ [1]:
+ [% LxERP.t8('The column "datatype" must be present and must be at the same position / column in each data set. 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 %]
@@ -206,6 +256,12 @@
[%- INCLUDE 'csv_import/_form_customers_vendors.html' %]
[%- ELSIF SELF.type == 'contacts' %]
[%- INCLUDE 'csv_import/_form_contacts.html' %]
+[%- ELSIF SELF.type == 'inventories' %]
+ [%- INCLUDE 'csv_import/_form_inventories.html' %]
+[%- ELSIF SELF.type == 'orders' %]
+ [%- INCLUDE 'csv_import/_form_orders.html' %]
+[%- ELSIF SELF.type == 'bank_transactions' %]
+ [%- INCLUDE 'csv_import/_form_banktransactions.html' %]
[%- END %]