projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GLN: neue Spalte bei customer, vendor und shipto; DB-Upgrade-Skript u. Rose
[kivitendo-erp.git]
/
templates
/
webpages
/
csv_import
/
_preview.html
diff --git
a/templates/webpages/csv_import/_preview.html
b/templates/webpages/csv_import/_preview.html
index
139f4c8
..
01fe4d9
100644
(file)
--- a/
templates/webpages/csv_import/_preview.html
+++ b/
templates/webpages/csv_import/_preview.html
@@
-12,22
+12,37
@@
<table>
<tr class="listheading">
<table>
<tr class="listheading">
+ [%- FOREACH column = SELF.info_headers.headers %]
+ <th>[%- HTML.escape(column) %]</th>
+ [%- END %]
[%- FOREACH column = SELF.headers.headers %]
<th>[%- HTML.escape(column) %]</th>
[%- END %]
[%- FOREACH column = SELF.headers.headers %]
<th>[%- HTML.escape(column) %]</th>
[%- END %]
+ [%- FOREACH column = SELF.raw_data_headers.headers %]
+ <th>[%- HTML.escape(column) %]</th>
+ [%- END %]
<th>[%- LxERP.t8('Notes') %]</th>
</tr>
[%- FOREACH row = SELF.data %]
<th>[%- LxERP.t8('Notes') %]</th>
</tr>
[%- FOREACH row = SELF.data %]
+ [%- IF (SELF.profile.get('full_preview') == 2) || ((SELF.profile.get('full_preview') == 1) && (row.errors.size || row.information.size)) || ((SELF.profile.get('full_preview') == 0) && (loop.count < 21)) %]
<tr class="[% IF row.errors.size %]redrow[% ELSE %]listrow[% END %][% loop.count % 2 %]">
<tr class="[% IF row.errors.size %]redrow[% ELSE %]listrow[% END %][% loop.count % 2 %]">
+ [%- FOREACH method = SELF.info_headers.methods %]
+ <td>[%- HTML.escape(row.info_data.$method) %]</td>
+ [%- END %]
[%- FOREACH method = SELF.headers.methods %]
<td>[%- HTML.escape(row.object.$method) %]</td>
[%- END %]
[%- FOREACH method = SELF.headers.methods %]
<td>[%- HTML.escape(row.object.$method) %]</td>
[%- END %]
+ [%- FOREACH method = SELF.raw_data_headers.headers %]
+ <td>[%- HTML.escape(row.raw_data.$method) %]</td>
+ [%- END %]
<td>
[%- FOREACH error = row.errors %][%- HTML.escape(error) %][% UNLESS loop.last %]<br>[%- END %][%- END %]
<td>
[%- FOREACH error = row.errors %][%- HTML.escape(error) %][% UNLESS loop.last %]<br>[%- END %][%- END %]
+ [%- FOREACH info = row.information %][% IF !loop.first || row.errors.size %]<br>[%- END %][%- HTML.escape(info) %][%- END %]
</td>
</tr>
[%- END %]
</td>
</tr>
[%- END %]
+ [%- END %]
</table>
[%- END %]
</table>
[%- END %]