X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Frecord_links%2Fadd_list.html;h=0c97bd68243dc54a5808a1d10484ed087ab8b688;hb=e3dfdb7a78f6e0bc8ac1075fedc36f8247c6fd92;hp=9ca7b457e69b8dc8aa40f3f663353cf8bedbfdeb;hpb=87e65e6c1cc64bfb2d73b6914ed2ef136861dd42;p=kivitendo-erp.git
diff --git a/templates/webpages/record_links/add_list.html b/templates/webpages/record_links/add_list.html
index 9ca7b457e..0c97bd682 100644
--- a/templates/webpages/record_links/add_list.html
+++ b/templates/webpages/record_links/add_list.html
@@ -7,9 +7,13 @@
[% L.checkbox_tag('record_links_check_all') %] |
[% IF vc == 'customer' %][%- LxERP.t8("Customer") %][%- ELSE %][%- LxERP.t8("Vendor") %][%- END %] |
[%- LxERP.t8("Number") %] |
- [%- LxERP.t8("Date") %] |
- [%- LxERP.t8("Transaction description") %] |
- [%- LxERP.t8("Project") %] |
+ [% IF date_column %]
+ [%- LxERP.t8("Date") %] |
+ [% END %]
+ [% HTML.escape(description_title) %] |
+ [% IF project_column %]
+ [%- LxERP.t8("Project") %] |
+ [% END %]
[%- FOREACH object = OBJECTS %]
@@ -17,9 +21,13 @@
[% L.checkbox_tag('link_id[]', value=object.id) %] |
[%- HTML.escape(object.$vc.name) %] |
[%- HTML.escape(object.$number_column) %] |
- [%- HTML.escape(object.transdate.to_kivitendo) %] |
- [%- HTML.escape(object.transaction_description) %] |
- [%- P.project(object.globalproject, no_link=1) %] |
+ [% IF date_column %]
+ [%- HTML.escape(object.$date_column.to_kivitendo) %] |
+ [% END %]
+ [%- HTML.escape(object.$description_column) %] |
+ [% IF project_column %]
+ [%- object.$project_column.presenter.project(no_link=1) %] |
+ [% END %]
[%- END %]