1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha › Tools › Labels › <!-- TMPL_IF EXPR="(type eq 'labels')" -->Label Batch<!-- TMPL_ELSIF EXPR="(type eq 'patroncards')" -->Patron Card Batch<!-- /TMPL_IF --></title>
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <!-- TMPL_INCLUDE NAME="header.inc" -->
6 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/labels/label-home.pl">Labels</a> › <!-- TMPL_IF EXPR="(type eq 'labels')" -->Label Batch<!-- TMPL_ELSIF EXPR="(type eq 'patroncards')" -->Patron Card Batch<!-- /TMPL_IF --></div>
9 <div id="doc3" class="yui-t2">
14 <!-- TMPL_IF NAME="message" -->
15 <!-- TMPL_LOOP NAME="message_loop" -->
16 <div class="dialog message"><!-- TMPL_VAR NAME="message_text" --></div>
20 <!-- TMPL_IF NAME="batch_id" -->
21 <!-- TMPL_INCLUDE NAME="tools-labels-batches-toolbar.inc" -->
22 <!-- TMPL_IF EXPR="(type eq 'labels')" -->
24 <div class="yui-u first">
25 <h2>Items to be Printed for Batch <!-- TMPL_VAR NAME="batch_id" --> (<!-- TMPL_VAR NAME="batch_count" --> items)</h2>
34 <!-- TMPL_LOOP NAME="resultsloop" -->
36 <td><!-- TMPL_VAR NAME="labelno" --></td>
37 <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>
38 <td><!-- TMPL_VAR NAME="itemtype" --></td>
39 <td><!-- TMPL_VAR NAME="barcode" --></td>
40 <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>
41 <!-- FIXME: should use POST to change server state, not GET -->
46 <!-- TMPL_ELSIF EXPR="(type eq 'patroncards')" -->
48 <div class="yui-u first">
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">Remove</a></td>
65 <!-- FIXME: should use POST to change server state, not GET -->
70 <!-- /TMPL_IF --><!-- /type -->
72 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
76 <!-- TMPL_INCLUDE NAME="tools-labels-toolbar.inc" -->
77 <!-- TMPL_IF EXPR="(type eq 'labels')" -->
78 <!-- TMPL_IF NAME="batches" -->
80 <div class="yui-u first">
81 <h2>Label Batches</h2>
90 <!-- TMPL_LOOP NAME="batches" -->
92 <td><!-- TMPL_VAR NAME="batch_id" --></td>
93 <td><!-- TMPL_VAR NAME="num" --> records</td>
94 <td><a href="/cgi-bin/koha/labels/label-manager.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=labels">Edit</a></td>
95 <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>
96 <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>
102 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
107 <div class="yui-u first">
108 <fieldset class="brief">
109 <legend>No Label Batches Currently Defined</legend>
111 Select "New Label Batch" to create a Label batch.
116 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
119 <!-- /TMPL_IF --><!-- /batches -->
120 <!-- TMPL_ELSIF EXPR="(type eq 'patroncards')" -->
121 <!-- TMPL_IF NAME="batches" -->
123 <div class="yui-u first">
124 <h2>Patron Card Batches</h2>
133 <!-- TMPL_LOOP NAME="batches" -->
135 <td><!-- TMPL_VAR NAME="batch_id" --></td>
136 <td><!-- TMPL_VAR NAME="num" --> records</td>
137 <td><a href="/cgi-bin/koha/labels/label-manager.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=patroncards">Edit</a></td>
138 <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>
139 <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>
145 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
150 <div class="yui-u first">
151 <fieldset class="brief">
152 <legend>No Patron Card Batches Currently Defined</legend>
154 Select "New Patron Card Batch" to create a Label batch.
159 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
162 <!-- /TMPL_IF --><!-- /batches -->
163 <!-- /TMPL_IF --><!-- /type -->
164 <!-- /TMPL_IF --><!-- batch_id -->
168 <!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
171 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->