1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha › <!-- TMPL_IF EXPR="(batch_type eq 'labels')" -->Labels<!-- TMPL_ELSIF EXPR="(batch_type eq 'patroncards')" -->Patron Cards<!-- /TMPL_IF --></title>
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 <script type="text/javascript">
4 function Plugin(batch_id) {
5 window.open("label-item-search.pl?batch_id="+batch_id+"",'FindABibIndex','width=640,height=400,toolbar=no,scrollbars=yes');
10 <!-- TMPL_INCLUDE NAME="header.inc" -->
11 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Labels</div>
14 <div id="doc3" class="yui-t2">
19 <!-- TMPL_IF NAME="message" -->
20 <!-- TMPL_LOOP NAME="message_loop" -->
21 <div style="color: red; margin: 5pt; font-weight: bold;" class="message"><!-- TMPL_VAR NAME="message_text" --></div>
25 <!-- TMPL_INCLUDE NAME="tools-labels-toolbar.inc" -->
26 <!-- TMPL_IF NAME="batch_id" -->
27 <!-- TMPL_IF EXPR="(batch_type eq 'labels')" -->
28 <h2>Items to be Printed for Batch <!-- TMPL_VAR NAME="batch_id" --> (<!-- TMPL_VAR NAME="batch_count" --> items)</h2>
31 <th>Label<br />Num.</th>
33 <th>Item<br />Type</th>
37 <!-- TMPL_LOOP NAME="resultsloop" -->
39 <td><!-- TMPL_VAR NAME="labelno" --></td>
40 <td><b><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"> <!-- TMPL_VAR NAME="title" --></a></b> : <!-- TMPL_VAR NAME="author" --> : <!-- TMPL_VAR NAME="isbn" --></td>
41 <td><!-- TMPL_VAR NAME="itemtype" --></td>
42 <td><!-- TMPL_VAR NAME="barcode" --></td>
43 <td><a href="/cgi-bin/koha/labels/label-manager.pl?op=delete&labelid=<!-- TMPL_VAR NAME="labelid" -->&batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=labels">Delete</a></td>
44 <!-- FIXME: should use POST to change server state, not GET -->
48 <!-- TMPL_ELSIF EXPR="(batch_type eq 'patroncards')" -->
49 <h2>Patron Cards to be Printed for Batch <!-- TMPL_VAR NAME="batch_id" --> (<!-- TMPL_VAR NAME="batch_count" --> items)</h2>
52 <th>Card<br />Num.</th>
54 <th>Borrower Number</th>
58 <!-- TMPL_LOOP NAME="resultsloop" -->
60 <td><!-- TMPL_VAR NAME="cardno" --></td>
61 <td><b><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"> <!-- TMPL_VAR NAME="title" -->. <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a></b></td>
62 <td><!-- TMPL_VAR NAME="borrowernumber" --></td>
63 <td><!-- TMPL_VAR NAME="cardnumber" --></td>
64 <td><a href="/cgi-bin/koha/labels/label-manager.pl?op=delete&cardid=<!-- TMPL_VAR NAME="cardid" -->&batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=patroncards">Delete</a></td>
65 <!-- FIXME: should use POST to change server state, not GET -->
69 <!-- TMPL_ELSIF EXPR="(batch_type eq 'patroncards')" -->
70 <!-- /TMPL_IF --><!-- /batch_type -->
72 <!-- TMPL_IF EXPR="(batch_type eq 'labels')" -->
73 <!-- TMPL_IF NAME="batches" -->
75 <div class="yui-u first">
76 <h2>Label Batches</h2>
85 <!-- TMPL_LOOP NAME="batches" -->
87 <td><!-- TMPL_VAR NAME="batch_id" --></td>
88 <td><!-- TMPL_VAR NAME="num" --> records</td>
89 <td><a href="/cgi-bin/koha/labels/label-manager.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=labels">Edit</a></td>
90 <td><a href="/cgi-bin/koha/labels/label-manager.pl?op=delete_batch&batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=labels">Delete</a><!-- FIXME: should use POST to change server state, not GET --></td>
91 <td><a style="float: left;" href="/cgi-bin/koha/labels/label-print-pdf.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=labels">Generate PDF for Batch <!-- TMPL_VAR NAME="batch_id" --></a></td>
97 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
102 <div class="yui-u first">
103 <h2>No Label Batches Currently Defined</h2>
106 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
109 <!-- /TMPL_IF --><!-- /batches -->
110 <!-- TMPL_ELSIF EXPR="(batch_type eq 'patroncards')" -->
111 <!-- TMPL_IF NAME="batches" -->
113 <div class="yui-u first">
114 <h2>Patron Card Batches</h2>
123 <!-- TMPL_LOOP NAME="batches" -->
125 <td><!-- TMPL_VAR NAME="batch_id" --></td>
126 <td><!-- TMPL_VAR NAME="num" --> records</td>
127 <td><a href="/cgi-bin/koha/labels/label-manager.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=patroncards">Edit</a></td>
128 <td><a href="/cgi-bin/koha/labels/label-manager.pl?op=delete_batch&batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=patroncards">Delete</a><!-- FIXME: should use POST to change server state, not GET --></td>
129 <td><a style="float: left;" href="/cgi-bin/koha/labels/label-print-pdf.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=patroncards">Generate PDF for Batch <!-- TMPL_VAR NAME="batch_id" --></a></td>
135 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
140 <div class="yui-u first">
141 <h2>No Patron Card Batches Currently Defined</h2>
144 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
147 <!-- /TMPL_IF --><!-- /batches -->
148 <!-- /TMPL_IF --><!-- /batch_type -->
149 <!-- /TMPL_IF --><!-- batch_id -->
153 <!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
156 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->