1 [%- USE HTML -%][%- USE LxERP -%][%- USE P -%]
3 [% IF TEMPLATES_AP.size %]
4 [% LxERP.t8('AP template suggestions') %]:
8 <th class="listheading">[% LxERP.t8('Description') %]</th>
9 <th class="listheading">[% LxERP.t8('Vendor') %]</th>
10 <th class="listheading">[% LxERP.t8('Employee') %]</th>
11 <th class="listheading">[% LxERP.t8('Template date') %]</th>
16 [% FOREACH template = TEMPLATES_AP %]
18 <td>[% P.link(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
19 <td>[% HTML.escape(template.vendor.name) %]</td>
20 <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
21 <td>[% HTML.escape(template.itime_as_date) %]</td>
27 <p class="message_hint">[% LxERP.t8('No AP template was found.') %]</p>
30 [% IF TEMPLATES_GL.size %]
31 [% LxERP.t8('GL template suggestions') %]:
35 <th class="listheading">[% LxERP.t8('Description') %]</th>
36 <th class="listheading">[% LxERP.t8('Reference') %]</th>
37 <th class="listheading">[% LxERP.t8('Employee') %]</th>
38 <th class="listheading">[% LxERP.t8('Template date') %]</th>
43 [% FOREACH template = TEMPLATES_GL %]
45 <td>[% P.link(SELF.load_gl_record_template_url(template), template.template_name) %]</td>
46 <td>[% HTML.escape(template.reference) %]</td>
47 <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
48 <td>[% HTML.escape(template.itime_as_date) %]</td>
54 <p class="message_hint">[% LxERP.t8('No GL template was found.') %]</p>