--- /dev/null
+[%- USE LxERP -%][%- USE T8 -%][%- USE HTML -%][%- USE P -%]
+<h3>
+ [% LxERP.t8("Warnings and errors") %]
+</h3>
+
+<p>
+ [% LxERP.t8("Bank transactions with errors have not been posted.") %]
+ [% LxERP.t8("Bank transactions that either only have warnings or no message at all have been posted.") %]
+</p>
+
+<table>
+ <thead>
+ <tr class="listheading">
+ <th>[% LxERP.t8("Type") %]</th>
+ <th>[% LxERP.t8("Invoices") %]</th>
+ <th>[% LxERP.t8("Transdate") %]</th>
+ <th>[% LxERP.t8("Amount") %]</th>
+ <th>[% LxERP.t8("Remote name") %]</th>
+ <th>[% LxERP.t8("Purpose") %]</th>
+ <th>[% LxERP.t8("Remote account number") %]</th>
+ <th>[% LxERP.t8("Remote bank code") %]</th>
+ <th>[% LxERP.t8("Message") %]</th>
+ </tr>
+ </thead>
+
+ <tbody>
+ [% FOREACH problem = SELF.problems %]
+ <tr class="listrow[% IF problem.result == 'error' %]_error[% END %]">
+ <td>[% IF problem.result == 'error' %][% LxERP.t8("Error") %][% ELSE %][% LxERP.t8("Warning") %][% END %]</td>
+ <td>
+ [% FOREACH invoice = problem.invoices %]
+ [% invoice.presenter.invoice %]
+ [% UNLESS loop.last %]<br>[% END %]
+ [% END %]
+ </td>
+ <td>[% HTML.escape(problem.bank_transaction.transdate.to_kivitendo) %]</td>
+ <td>[% HTML.escape(LxERP.format_amount(problem.bank_transaction.amount, 2)) %]</td>
+ <td>[% HTML.escape(problem.bank_transaction.remote_name) %]</td>
+ <td>[% HTML.escape(problem.bank_transaction.purpose) %]</td>
+ <td>[% HTML.escape(problem.bank_transaction.remote_account_number) %]</td>
+ <td>[% HTML.escape(problem.bank_transaction.remote_bank_code) %]</td>
+ <td>[% HTML.escape(problem.message) %]</td>
+ </tr>
+ [% END %]
+ </tbody>
+</table>