Lines 55-71
function search_member(subscriptionid){
Link Here
|
55 |
[% FOREACH memberloo IN memberloop %] |
55 |
[% FOREACH memberloo IN memberloop %] |
56 |
<tr><td>[% memberloo.name %]</td> |
56 |
<tr><td>[% memberloo.name %]</td> |
57 |
<td>[% memberloo.routingbox %]</td> |
57 |
<td>[% memberloo.routingbox %]</td> |
58 |
<td><a href="/cgi-bin/koha/serials/routing.pl?routingid=[% memberloo.routingid %]&subscriptionid=[% memberloo.subscriptionid %]&op=delete">Delete</a></td></tr> |
58 |
<td><a href="/cgi-bin/koha/serials/routing.pl?routingid=[% memberloo.routingid %]&subscriptionid=[% subscriptionid %]&op=delete">Delete</a></td></tr> |
59 |
[% END %] |
59 |
[% END %] |
60 |
</table><p style="margin-left:10em;"><a onclick="search_member(<!-- TMPL_VAR |
60 |
</table><p style="margin-left:10em;"><a onclick="search_member([% subscriptionid %]); return false" |
61 |
NAME="subscriptionid" -->); return false" |
61 |
href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=[% subscriptionid %]" class="button">Add recipients</a> <a |
62 |
href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=<!-- TMPL_VAR |
|
|
63 |
NAME="subscriptionid" -->" class="button">Add recipients</a> <a |
64 |
href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid %]&op=delete" class="button">Delete All</a></p></li> |
62 |
href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid %]&op=delete" class="button">Delete All</a></p></li> |
65 |
[% ELSE %] |
63 |
[% ELSE %] |
66 |
<li><span class="label">Recipients:</span> |
64 |
<li><span class="label">Recipients:</span> |
67 |
<a onclick="search_member(<!-- TMPL_VAR NAME="subscriptionid" |
65 |
<a onclick="search_member([% subscriptionid %]); return false" href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=[% subscriptionid %]" class="button">Add recipients</a></li> |
68 |
-->); return false" href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=[% subscriptionid %]" class="button">Add recipients</a></li> |
|
|
69 |
[% END %] |
66 |
[% END %] |
70 |
|
67 |
|
71 |
<li><label for="notes">Notes:</label><textarea name="notes" id="notes" rows="3" cols="50">[% routingnotes %]</textarea></li> |
68 |
<li><label for="notes">Notes:</label><textarea name="notes" id="notes" rows="3" cols="50">[% routingnotes %]</textarea></li> |
72 |
- |
|
|