Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / customer_vendor_turnover / email_statistic.html
diff --git a/templates/webpages/customer_vendor_turnover/email_statistic.html b/templates/webpages/customer_vendor_turnover/email_statistic.html
new file mode 100644 (file)
index 0000000..ba60899
--- /dev/null
@@ -0,0 +1,40 @@
+[%- USE T8 %]
+[%- USE LxERP %]
+[%- USE L %]
+[%- USE HTML %]
+[%- USE Dumper %]
+
+<div id="invoice_statistic">
+  <table width="100%">
+    <tbody>
+      <tr>
+        <td class="listheading">[% 'Sent on' | $T8 %]</td>
+        <td class="listheading">[% 'Subject' | $T8 %]</td>
+        <td class="listheading">[% 'Record Type' | $T8 %]</td>
+        <td class="listheading">[% 'Record number' | $T8 %]</td>
+        <td class="listheading">[% 'From' | $T8 %]</td>
+        <td class="listheading">[% 'To' | $T8 %]</td>
+        <td class="listheading">[% 'Status' | $T8 %]</td>
+      </tr>
+
+      [%- FOREACH row = emails %]
+      <tr class="listrow[% loop.count % 2 %]">
+        <td>[% row.sent_on | html %]</td>
+        <td>
+          <a href="[% SELF.url_for(controller='controller.pl', action => 'EmailJournal/show', id => row.id, back_to => SELF.get_callback) %]">
+           [%- HTML.escape(row.subject) %]
+          </a></td>
+        <td>[% row.type | $T8 %]</td>
+        <td>[% row.recordnumber | html %]</td>
+        <td>[% row.from %]</td>
+        <td>[% row.recipients %]</td>
+        <td>[% row.status %]</td>
+      </tr>
+      [% END %]
+    </tbody>
+  </table>
+
+
+    </tbody>
+  </table>
+</div>