1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Serials › <!-- TMPL_VAR NAME="title" escape="html" --> › <!-- TMPL_IF NAME="op" -->Create Routing List<!-- TMPL_ELSE -->Edit Routing List<!-- /TMPL_IF --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script language="javascript" type="text/javascript">
7 function reorder_item(sid,rid,rank){
8 var mylocation = 'reorder_members.pl?subscriptionid='+sid+'&routingid='+rid+'&rank='+rank;
9 window.location.href=mylocation;
12 function search_member(subscriptionid){
13 var myurl = 'member-search.pl?subscriptionid='+subscriptionid; window.open(myurl,'FindAMember','width=550,height=480,toolbar=no,scrollbars=yes');
20 <!-- TMPL_INCLUDE NAME="header.inc" -->
21 <!-- TMPL_INCLUDE NAME="serials-search.inc" -->
23 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->"><i><!-- TMPL_VAR NAME="title" escape="html" --></i></a> › <!-- TMPL_IF NAME="op" -->Create Routing List<!-- TMPL_ELSE -->Edit Routing List<!-- /TMPL_IF --></div>
25 <div id="doc3" class="yui-t2">
32 <!-- TMPL_IF NAME="op" -->
33 <h1>Create Routing List for <i><!-- TMPL_VAR NAME="title" escape="html" --></i></h1>
35 <h1>Edit Routing List for <i><!-- TMPL_VAR NAME="title" escape="html" --></i></h1>
38 <form method="post" action="routing.pl">
39 <input type="hidden" name="op" value="save" />
40 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->" />
41 <fieldset class="rows">
43 <li><label for="date_selected">Issue: </label>
44 <select name="date_selected" id="date_selected">
45 <!-- TMPL_LOOP NAME="dates" -->
46 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR NAME="planneddate" -->)" selected="selected"><!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR NAME="planneddate" -->)</option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR NAME="planneddate" -->)"><!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR NAME="planneddate" -->)</option><!-- /TMPL_IF -->
48 </select> <!-- TMPL_VAR NAME="issue" --></li>
50 <!-- TMPL_IF NAME="memberloop" -->
51 <li><span class="label">Recipients:</span><table style="clear:none;margin:0;">
55 <!-- TMPL_LOOP NAME="memberloop" -->
56 <tr><td><!-- TMPL_VAR NAME="name" --></td>
57 <td><!-- TMPL_VAR NAME="routingbox" --></td>
58 <td><a href="/cgi-bin/koha/serials/routing.pl?routingid=<!-- TMPL_VAR NAME="routingid" -->&subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->&op=delete">Delete</a></td></tr>
60 </table><p style="margin-left:10em;"><a onclick="search_member(<!-- TMPL_VAR
61 NAME="subscriptionid" -->); return false"
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=<!-- TMPL_VAR NAME="subscriptionid" -->&op=delete" class="button">Delete All</a></p></li>
66 <li><span class="label">Recipients:</span>
67 <a onclick="search_member(<!-- TMPL_VAR NAME="subscriptionid"
68 -->); return false" href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" class="button">Add recipients</a></li>
71 <li><label for="notes">Notes:</label><textarea name="notes" id="notes" rows="3" cols="50"><!-- TMPL_VAR NAME="routingnotes" --></textarea></li>
75 <fieldset class="action"><input type="submit" name="submit" value="Save" /></fieldset>
83 <!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
86 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->