X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fbank_transactions%2F_template_list.html;h=245f0629dbfb0963c24ffdff53bf3c728f6f0144;hb=f70c8fa479417e7c20108a23c18c0c6e5e683c6a;hp=9bd54e333f8bf4191bdc8a2073934d59daee99e0;hpb=32dc7476d46dc7b6991e8d0c203deaea727c7413;p=kivitendo-erp.git
diff --git a/templates/webpages/bank_transactions/_template_list.html b/templates/webpages/bank_transactions/_template_list.html
index 9bd54e333..245f0629d 100644
--- a/templates/webpages/bank_transactions/_template_list.html
+++ b/templates/webpages/bank_transactions/_template_list.html
@@ -1,5 +1,7 @@
-[%- USE HTML -%][%- USE LxERP -%][%- USE P -%][% IF TEMPLATES.size %]
- [% LxERP.t8('Template suggestions') %]:
+[%- USE HTML -%][%- USE LxERP -%][%- USE P -%]
+
+[% IF TEMPLATES_AP.size %]
+ [% LxERP.t8('AP template suggestions') %]:
@@ -11,9 +13,9 @@
- [% FOREACH template = TEMPLATES %]
+ [% FOREACH template = TEMPLATES_AP %]
- [% P.link(SELF.load_ap_record_template_url(template), template.template_name) %] |
+ [% P.link_tag(SELF.load_ap_record_template_url(template), template.template_name) %] |
[% HTML.escape(template.vendor.name) %] |
[% HTML.escape(template.employee.name || template.employee.login) %] |
[% HTML.escape(template.itime_as_date) %] |
@@ -22,5 +24,32 @@
[% ELSE %]
- [% LxERP.t8('No template was found.') %]
+ [% LxERP.t8('No AP template was found.') %]
+[% END %]
+
+[% IF TEMPLATES_GL.size %]
+ [% LxERP.t8('GL template suggestions') %]:
+
+
+
+ [% LxERP.t8('Description') %] |
+ [% LxERP.t8('Reference') %] |
+ [% LxERP.t8('Employee') %] |
+ [% LxERP.t8('Template date') %] |
+
+
+
+
+ [% FOREACH template = TEMPLATES_GL %]
+
+ [% P.link_tag(SELF.load_gl_record_template_url(template), template.template_name) %] |
+ [% HTML.escape(template.reference) %] |
+ [% HTML.escape(template.employee.name || template.employee.login) %] |
+ [% HTML.escape(template.itime_as_date) %] |
+
+ [% END %]
+
+
+[% ELSE %]
+ [% LxERP.t8('No GL template was found.') %]
[% END %]