6 [% IF ( SELF.notes && SELF.notes.size ) %]
10 <th class="listheading">[% 'Delete' | $T8 %]</th>
11 <th class="listheading">[% 'Subject' | $T8 %]</th>
12 <th class="listheading">[% 'Created on' | $T8 %]</th>
13 <th class="listheading">[% 'Created by' | $T8 %]</th>
14 <th class="listheading">[% 'Follow-Up Date' | $T8 %]</th>
15 <th class="listheading">[% 'Follow-Up for' | $T8 %]</th>
16 <th class="listheading">[% 'Follow-Up done' | $T8 %]</th>
19 [%- FOREACH row = SELF.notes %]
20 <tr class="listrow[% loop.count % 2 %]">
22 [% IF ( !SELF.note || SELF.note.id != row.id ) %]
23 [% L.checkbox_tag('delete_notes[]', value = row.id) %]
28 <a href="controller.pl?action=CustomerVendor/edit&db=[% SELF.is_vendor() ? 'vendor' : 'customer' %]&id=[% HTML.url(SELF.cv.id) %]¬e_id=[% HTML.url(row.id) %]">[% HTML.escape(row.subject) %]</a>
32 [% row.itime.to_kivitendo | html %]
36 [% row.employee.safe_name | html %]
40 [% row.follow_up.follow_up_date.to_kivitendo | html %]
44 [% row.follow_up.created_for_employee.safe_name | html %]
48 [% IF ( row.follow_up.follow_up_date ) %]
49 [% IF ( row.follow_up.done ) %]
63 [% IF ( SELF.note.id ) %]
64 [% 'Edit note' | $T8 %]
66 [% 'Add note' | $T8 %]
70 [% L.hidden_tag('note.id', SELF.note.id) %]
75 <td valign="right">[% 'Subject' | $T8 %]</td>
78 [% L.input_tag('note.subject', SELF.note.subject, size = 50) %]
83 <td valign="right" align="top">[% 'Body' | $T8 %]</td>
86 [% L.textarea_tag('note.body', SELF.note.body, cols = 50 rows = 10) %]
91 <td valign="right">[% 'Follow-Up On' | $T8 %]</td>
94 [% L.date_tag('note_followup.follow_up_date', SELF.note_followup.follow_up_date) %]
97 'note_followup.created_for_user',
99 default = SELF.note_followup.created_for_user,
100 title_key = 'safe_name'
110 [% L.checkbox_tag('note_followup.done', checked = SELF.note_followup.done) %]
111 <label for="note_followup_done">[% 'Follow-Up done' | $T8 %]</label>