]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/bank_transactions/_problems.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / bank_transactions / _problems.html
1 [% USE LxERP %]
2 [% USE T8 %]
3 [% USE HTML %]
4 [% USE P %]
5
6 <h3>[% LxERP.t8("Warnings and errors") %]</h3>
7 <p class="message message_info">
8   [% LxERP.t8("Bank transactions with errors have not been posted.") %] <br>
9   [% LxERP.t8("Bank transactions that either only have warnings or no message at all have been posted.") %]
10 </p>
11
12 <table class="tbl-list">
13   <thead>
14     <tr>
15       <th>[% LxERP.t8("Type") %]</th>
16       <th>[% LxERP.t8("Invoices") %]</th>
17       <th>[% LxERP.t8("Transdate") %]</th>
18       <th>[% LxERP.t8("Amount") %]</th>
19       <th>[% LxERP.t8("Remote name") %]</th>
20       <th>[% LxERP.t8("Purpose") %]</th>
21       <th>[% LxERP.t8("Remote account number") %]</th>
22       <th>[% LxERP.t8("Remote bank code") %]</th>
23       <th>[% LxERP.t8("Message") %]</th>
24     </tr>
25   </thead>
26   <tbody>
27     [% FOREACH problem = SELF.problems %]
28     <tr[% IF problem.result == 'error' %]class="row_error"[% END %]>
29       <td>
30         [% IF problem.result == 'error' %]
31           [% LxERP.t8("Error") %]
32         [% ELSE %]
33           [% LxERP.t8("Warning") %]
34         [% END %]
35       </td>
36       <td>
37         [% FOREACH invoice = problem.invoices %]
38           [% invoice.presenter.invoice %]
39           [% UNLESS loop.last %]<br>[% END %]
40         [% END %]</td>
41       <td>[% HTML.escape(problem.bank_transaction.transdate.to_kivitendo) %]</td>
42       <td>[% HTML.escape(LxERP.format_amount(problem.bank_transaction.amount, 2)) %]</td>
43       <td>[% HTML.escape(problem.bank_transaction.remote_name) %]</td>
44       <td>[% HTML.escape(problem.bank_transaction.purpose) %]</td>
45       <td>[% HTML.escape(problem.bank_transaction.remote_account_number) %]</td>
46       <td>[% HTML.escape(problem.bank_transaction.remote_bank_code) %]</td>
47       <td>[% HTML.escape(problem.message) %]</td>
48     </tr>
49     [% END %]
50   </tbody>
51 </table>
52