]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/csv_import/_preview.html
Entwürfe: beim Buchen dazugehörigen Entwurf löschen
[mfinanz.git] / templates / webpages / csv_import / _preview.html
index d36000cc9c7471158972dbe4f48251491895bc30..01fe4d9ff2eff2ec2c3faf41eb8a750e199c8195 100644 (file)
@@ -12,6 +12,9 @@
 
  <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 %]
   </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 %]">
+   [%- 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 %]
@@ -35,6 +42,7 @@
    </td>
   </tr>
   [%- END %]
+  [%- END %]
 
  </table>
 [%- END %]