Bankauszug verbuchen: Umstellung auf Belegvorlagen & Filter-Fixes
[kivitendo-erp.git] / templates / webpages / bank_transactions / _template_list.html
1 [%- USE HTML -%][%- USE LxERP -%][%- USE P -%][% IF TEMPLATES.size %]
2  [% LxERP.t8('Template suggestions') %]:
3  <table>
4   <thead>
5    <tr>
6     <th class="listheading">[% LxERP.t8('Description') %]</th>
7     <th class="listheading">[% LxERP.t8('Vendor') %]</th>
8     <th class="listheading">[% LxERP.t8('Employee') %]</th>
9     <th class="listheading">[% LxERP.t8('Template date') %]</th>
10    </tr>
11   </thead>
12
13   <tbody>
14    [% FOREACH template = TEMPLATES %]
15     <tr class="listrow">
16      <td>[% P.link(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
17      <td>[% HTML.escape(template.vendor.name) %]</td>
18      <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
19      <td>[% HTML.escape(template.itime_as_date) %]</td>
20     </tr>
21    [% END %]
22   </tbody>
23  </table>
24 [% ELSE %]
25  <p class="message_hint">[% LxERP.t8('No template was found.') %]</p>
26 [% END %]