Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / part / history.html
diff --git a/templates/webpages/part/history.html b/templates/webpages/part/history.html
new file mode 100644 (file)
index 0000000..d8931fb
--- /dev/null
@@ -0,0 +1,19 @@
+[% USE T8 %]
+[% USE HTML %]
+
+<table>
+<tr>
+<th>[% 'Time'       | $T8 %]</th>
+<th>[% 'Aktion'     | $T8 %]</th>
+<th>[% 'Employee'   | $T8 %]</th>
+<th>[% 'Partnumber' | $T8 %]</th>
+</tr>
+[% FOREACH history = history_entries %]
+<tr>
+ <td>[% history.itime.to_kivitendo %] [% history.itime.to_kivitendo_time %]</td>
+ <td>[% history.addition | $T8 %]</td>
+ <td>[% HTML.escape(history.employee.name) %]</td>
+ <td>[% HTML.escape(history.parsed_snumber) %]</td>
+</tr>
+[% END %]
+</table>