[%- USE T8 %] [%- USE L %] [%- USE HTML %] [%- USE LxERP %]

[% title %]

[%- IF SAVED_MESSAGE %]

[% SAVED_MESSAGE %]

[%- END %] [% IF done_at -%] [% END %]
[% 'Finished' | $T8 %] [% 'by' | $T8 %] [% HTML.escape(done_by_employee_name) %] [% 'at' | $T8 %] [% HTML.escape(done_at) %]
[% 'Follow-Up for user' | $T8 %] [% FOREACH employee = all_employees %] [% SET checked = 0 %] [% FOREACH cfe = created_for_employees %] [% IF cfe.id == employee.id %][% SET checked = 1 %][% LAST %][% END %] [% END %] [% END %]
[% L.checkbox_tag('checkall_checkboxes', label='', id='ckeckall', checkall="[data-checkall=1]") %] [% LxERP.t8('All users') %]
[% L.checkbox_tag('created_for_employees[]', value=employee.id, checked=checked, "data-checkall"=1, class="employee_check") %]
[% FOREACH auth_group = all_auth_groups %] [% FOREACH employee = auth_group.get_employees %] [% END %] [% END %]
[% LxERP.t8('Users that are a member in this group') %] ([% LxERP.t8('click on a group to add the group\'s users') %])
← [% auth_group.name %]: [% auth_group.description %]
   [% employee.safe_name %]
[% 'Follow-Up Date' | $T8 %] [% L.date_tag('follow_up_date', follow_up_date) %]
[% 'Subject' | $T8 %]
[% 'Body' | $T8 %]
[%- IF POPUP_MODE %]

[%- IF id %] [%- END %]

[%- IF FOLLOW_UPS_PENDING.size %]

[% 'Existing pending follow-ups for this item' | $T8 %]

[%- FOREACH row = FOLLOW_UPS_PENDING %] [%- END %]
[% 'Follow-Up Date' | $T8 %] [% 'Subject' | $T8 %] [% 'Created by' | $T8 %] [% 'Follow-up for' | $T8 %]
[% HTML.escape(row.follow_up_date) %] [% HTML.escape(row.subject) %] [% HTML.escape(row.created_by_name) %] [% HTML.escape(row.created_for_user_name) | html_line_break %]
[%- END %] [%- IF FOLLOW_UPS_DONE.size %]

[% 'Existing finished follow-ups for this item' | $T8 %]

[%- FOREACH row = FOLLOW_UPS_DONE %] [%- END %]
[% 'Follow-Up Date' | $T8 %] [% 'Subject' | $T8 %] [% 'Created by' | $T8 %] [% 'Follow-up for' | $T8 %]
[% HTML.escape(row.follow_up_date) %] [% HTML.escape(row.subject) %] [% HTML.escape(row.created_by_name) %] [% HTML.escape(row.created_for_user_name) | html_line_break %]
[%- END %] [%- END %] [%- FOREACH row = LINKS %] [%- END %]