X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fvcnotes.html;h=cf21b519d78891f4c1a2f2faccd93fa45bd5380d;hb=c46d944c0f688128ee33b2989260f3d9390c61d5;hp=04bf9516d0934cb2b5c8f17aa6e94b3b363fdaf0;hpb=54f00ed88d7ed5fcd286ac72b9a9052243153c57;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/tabs/vcnotes.html b/templates/webpages/customer_vendor/tabs/vcnotes.html index 04bf9516d..cf21b519d 100644 --- a/templates/webpages/customer_vendor/tabs/vcnotes.html +++ b/templates/webpages/customer_vendor/tabs/vcnotes.html @@ -3,7 +3,7 @@ [%- USE L %]
- [% 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) %] - [% END %] + [% row.follow_up.created_for_employee.safe_name | html %] |
- [% 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,13 +59,13 @@
[% END %]
-
- [% IF ( NOTE_id ) %]
+
+
[% L.hidden_tag('note.id', SELF.note.id) %]
+ [% IF ( SELF.note.id ) %] [% 'Edit note' | $T8 %] [% ELSE %] [% 'Add note' | $T8 %] [% END %] - |