fixing some bugs in subscription add.
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / serials / routing-preview.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Subscription edit<!--
2 TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
4 <!-- TMPL_INCLUDE NAME="menus.inc" -->
5 <!--TMPL_INCLUDE NAME="menu-serials.inc" -->
6
7 <div id="mainbloc">
8 <h1 class="bull">Preview Routing List</h1>
9
10 <form method="post" action="routing-preview.pl">
11 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->" />
12 <p><b>Serial Title:</b> <!-- TMPL_VAR NAME="title" --></p>
13 <p><b>Issue:</b> <!-- TMPL_VAR NAME="issue" --></p>
14
15 <table border="0" cellspacing="0" cellpadding="0">
16 <tr valign="top"><td style="padding-top: 5px;"><b>List Member:</b>&nbsp;</td>
17     <td><table cellspacing="0" cellpadding="0" border="0" class="collapse">
18         <tr><td class="cell-header">Name</td>
19             <td class="cell-header">Location</td></tr>
20 <!-- TMPL_LOOP NAME="memberloop" -->
21         <tr><td class="cell"><!-- TMPL_VAR NAME="name" --></td>
22             <td class="cell"><!-- TMPL_VAR NAME="location" --></td></tr>
23 <!-- /TMPL_LOOP -->
24         </table></td></tr>
25 <tr valign="top"><td colspan="2">&nbsp;</td></tr>
26 <tr valign="top"><td><b>Notes:</b></td>
27     <td><!-- TMPL_VAR NAME="routingnotes" --></td></tr>
28 </table>
29 <p>
30 <input type="submit" name="ok" class="button" value="OK, Preview Routing Slip" onclick="print_slip(<!-- TMPL_VAR NAME="subscriptionid" -->,'<!-- TMPL_VAR NAME="issue" -->'); return false" />
31 <input type="submit" name="edit" class="button" value="Edit" />
32 <input type="submit" name="delete" class="button" value="Delete" /></p>
33 </form>
34 </div>
35
36 <script type="text/javascript">
37 <!--
38
39 function print_slip(subscriptionid,issue){
40     var myurl = 'routing-preview.pl?ok=1&subscriptionid='+subscriptionid+'&issue='+issue;
41 window.open(myurl,'PrintSlip','width=400,height=500,toolbar=no,scrollbars=yes');
42     window.location.href='serials-home.pl';
43 }
44 //-->
45 </script>
46 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->