Revision e64015ce
Von Bernd Bleßmann vor etwa 3 Jahren hinzugefügt
bin/mozilla/fu.pl | ||
---|---|---|
100 | 100 |
my %params; |
101 | 101 |
$params{not_id} = $form->{id} if ($form->{id}); |
102 | 102 |
$params{trans_id} = $form->{LINKS}->[0]->{trans_id} if (@{ $form->{LINKS} }); |
103 |
$form->{FOLLOW_UPS} = FU->follow_ups(%params); |
|
103 |
|
|
104 |
$form->{sort} = 'follow_up_date'; |
|
105 |
$form->{FOLLOW_UPS_DONE} = FU->follow_ups(%params, done => 1); |
|
106 |
$form->{FOLLOW_UPS_PENDING} = FU->follow_ups(%params, not_done => 1); |
|
104 | 107 |
|
105 | 108 |
setup_fu_display_form_action_bar() unless $::form->{POPUP_MODE}; |
106 | 109 |
|
locale/de/all | ||
---|---|---|
1462 | 1462 |
'Existing contacts (with column \'cp_id\')' => 'Existierende Ansprechpersonen (mit Spalte \'cp_id\')', |
1463 | 1463 |
'Existing customers/vendors with same customer/vendor number' => 'Existierende Kunden/Lieferanten mit derselben Kunden-/Lieferantennummer', |
1464 | 1464 |
'Existing file on server' => 'Auf dem Server existierende Datei', |
1465 |
'Existing finished follow-ups for this item' => 'Erledigte Wiedervorlagen für dieses Dokument', |
|
1465 | 1466 |
'Existing pending follow-ups for this item' => 'Noch nicht erledigte Wiedervorlagen für dieses Dokument', |
1466 | 1467 |
'Existing profiles' => 'Existierende Profile', |
1467 | 1468 |
'Existing templates' => 'Vorhandene Belegvorlagen', |
locale/en/all | ||
---|---|---|
1462 | 1462 |
'Existing contacts (with column \'cp_id\')' => '', |
1463 | 1463 |
'Existing customers/vendors with same customer/vendor number' => '', |
1464 | 1464 |
'Existing file on server' => '', |
1465 |
'Existing finished follow-ups for this item' => '', |
|
1465 | 1466 |
'Existing pending follow-ups for this item' => '', |
1466 | 1467 |
'Existing profiles' => '', |
1467 | 1468 |
'Existing templates' => '', |
templates/webpages/fu/add_edit.html | ||
---|---|---|
60 | 60 |
<input type="submit" class="submit" onclick="window.close()" value="[% 'Cancel' | $T8 %]"> |
61 | 61 |
</p> |
62 | 62 |
|
63 |
[%- IF FOLLOW_UPS.size %] |
|
63 |
[%- IF FOLLOW_UPS_PENDING.size %]
|
|
64 | 64 |
<hr height="3" noshade> |
65 | 65 |
|
66 | 66 |
<h2>[% 'Existing pending follow-ups for this item' | $T8 %]</h2> |
... | ... | |
73 | 73 |
<th class="listheading">[% 'Follow-up for' | $T8 %]</th> |
74 | 74 |
</tr> |
75 | 75 |
|
76 |
[%- FOREACH row = FOLLOW_UPS %] |
|
76 |
[%- FOREACH row = FOLLOW_UPS_PENDING %]
|
|
77 | 77 |
<tr class="listrow[% loop.count % 2 %]"> |
78 | 78 |
<td valign="top">[% HTML.escape(row.follow_up_date) %]</td> |
79 | 79 |
<td valign="top"><a href="fu.pl?action=edit&id=[% HTML.escape(row.id) %][% IF POPUP_MODE %]&POPUP_MODE=1[% END %]">[% HTML.escape(row.subject) %]</a></td> |
... | ... | |
83 | 83 |
[%- END %] |
84 | 84 |
</table> |
85 | 85 |
[%- END %] |
86 |
|
|
87 |
[%- IF FOLLOW_UPS_DONE.size %] |
|
88 |
<hr height="3" noshade> |
|
89 |
|
|
90 |
<h2>[% 'Existing finished follow-ups for this item' | $T8 %]</h2> |
|
91 |
|
|
92 |
<table> |
|
93 |
<tr> |
|
94 |
<th class="listheading">[% 'Follow-Up Date' | $T8 %]</th> |
|
95 |
<th class="listheading">[% 'Subject' | $T8 %]</th> |
|
96 |
<th class="listheading">[% 'Created by' | $T8 %]</th> |
|
97 |
<th class="listheading">[% 'Follow-up for' | $T8 %]</th> |
|
98 |
</tr> |
|
99 |
|
|
100 |
[%- FOREACH row = FOLLOW_UPS_DONE %] |
|
101 |
<tr class="listrow[% loop.count % 2 %]"> |
|
102 |
<td valign="top">[% HTML.escape(row.follow_up_date) %]</td> |
|
103 |
<td valign="top"><a href="fu.pl?action=edit&id=[% HTML.escape(row.id) %][% IF POPUP_MODE %]&POPUP_MODE=1[% END %]">[% HTML.escape(row.subject) %]</a></td> |
|
104 |
<td valign="top">[% HTML.escape(row.created_by_name) %]</td> |
|
105 |
<td valign="top">[% HTML.escape(row.created_for_user_name) %]</td> |
|
106 |
</tr> |
|
107 |
[%- END %] |
|
108 |
</table> |
|
109 |
[%- END %] |
|
110 |
|
|
86 | 111 |
[%- END %] |
87 | 112 |
|
88 | 113 |
[%- FOREACH row = LINKS %] |
Auch abrufbar als: Unified diff
Wiedervorlagen für Belege: Nicht-erledigte und erledigte WV in je einer Tabelle