X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/54f00ed88d7ed5fcd286ac72b9a9052243153c57..HEAD:/templates/webpages/customer_vendor/tabs/vcnotes.html diff --git a/templates/webpages/customer_vendor/tabs/vcnotes.html b/templates/webpages/customer_vendor/tabs/vcnotes.html index 04bf9516d..f2cacaab2 100644 --- a/templates/webpages/customer_vendor/tabs/vcnotes.html +++ b/templates/webpages/customer_vendor/tabs/vcnotes.html @@ -1,9 +1,10 @@ [%- USE T8 %] [%- USE HTML %] [%- USE L %] +[%- USE LxERP %]
| - [% L.hidden_tag('notes[+].id', row.id) %] - [% IF ( !NOTE_id || (NOTE_id != row.id) ) %] - [% L.checkbox_tag('notes[].delete', 0) %] + [% IF ( !SELF.note || SELF.note.id != row.id ) %] + [% L.checkbox_tag('delete_notes[]', value = row.id) %] [% END %] | - [% HTML.escape(row.subject) %] + [% HTML.escape(row.subject) %] | - [% HTML.escape(row.created_on) %] + [% row.itime.to_kivitendo | html %] | - [% IF ( row.created_by_name ) %] - [% HTML.escape(row.created_by_name) %] - [% ELSE %] - [% HTML.escape(row.created_by_login) %] - [% END %] + [% row.employee.safe_name | html %] | - [% HTML.escape(row.follow_up_date) %] + [% row.follow_up.follow_up_date.to_kivitendo | html %] |
- [% IF ( row.created_for_name ) %]
- [% HTML.escape(row.created_for_name) %]
- [% ELSE %]
- [% HTML.escape(row.created_for_login) %]
+ [% FOREACH employee = row.follow_up.created_for_employees -%]
+ [% employee.safe_name | html %][% IF !loop.last %] [% END -%] [% END %] |
- [% IF ( row.follow_up_date ) %]
- [% IF ( row.follow_up_done ) %]
+ [% IF ( row.follow_up.follow_up_date ) %]
+ [% IF ( row.follow_up.done ) %]
[% 'Yes' | $T8 %]
[% ELSE %]
[% 'No' | $T8 %]
@@ -68,30 +62,37 @@
[% END %]
-
- [% IF ( NOTE_id ) %]
+
+
[% L.hidden_tag('note.id', SELF.note.id) %]
+ [% IF ( SELF.note.id ) %] [% 'Edit note' | $T8 %] [% ELSE %] [% 'Add note' | $T8 %] [% END %] -
| ||||||||||||||||||||||||||||||||||