X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3aa5cee2f12c1dff757539b60196bf5e1be0a5d6..HEAD:/templates/webpages/fu/add_edit.html diff --git a/templates/webpages/fu/add_edit.html b/templates/webpages/fu/add_edit.html index e3b3191d2..c00542f33 100644 --- a/templates/webpages/fu/add_edit.html +++ b/templates/webpages/fu/add_edit.html @@ -1,13 +1,14 @@ [%- USE T8 %] [%- USE L %] [%- USE HTML %] +[%- USE LxERP %]

[% title %]

-
+ [%- IF SAVED_MESSAGE %]

[% SAVED_MESSAGE %]

@@ -18,39 +19,69 @@ -

- +
+ [% 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 %][% '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 %]

@@ -58,19 +89,15 @@ [%- END %] - [%- IF POPUP_MODE %] - [%- END %]

- [%- IF POPUP_MODE %] - [%- IF FOLLOW_UPS.size %] + [%- IF FOLLOW_UPS_PENDING.size %]

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

-

- +
@@ -78,19 +105,43 @@ - [%- FOREACH row = FOLLOW_UPS %] + [%- FOREACH row = FOLLOW_UPS_PENDING %] - + [%- END %] -
[% 'Follow-Up Date' | $T8 %] [% 'Subject' | $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.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 %] @@ -99,4 +150,3 @@
-