1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha › Tools › Labels › <!-- TMPL_IF NAME="batch_is_labels" -->Label<!-- TMPL_ELSIF NAME="batch_is_patroncards" -->Patron Card<!-- TMPL_ELSE -->Unknown Batchtype<!-- /TMPL_IF --> Batch</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 NAME="batch_is_labels" -->Label<!-- TMPL_ELSIF NAME="batch_is_patroncards" -->Patron Card<!-- TMPL_ELSE -->Unknown Batchtype<!-- /TMPL_IF --> Batch</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" -->
23 <div class="yui-u first">
24 <!-- TMPL_IF NAME="batch_is_labels" -->
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 -->
45 <!-- TMPL_ELSIF NAME="batch_is_patroncards" -->
46 <h2>Patron Cards to be Printed for Batch <!-- TMPL_VAR NAME="batch_id" --> (<!-- TMPL_VAR NAME="batch_count" --> items)</h2>
49 <th>Card<br />Num.</th>
51 <th>Borrower Number</th>
55 <!-- TMPL_LOOP NAME="resultsloop" -->
57 <td><!-- TMPL_VAR NAME="cardno" --></td>
58 <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>
59 <td><!-- TMPL_VAR NAME="borrowernumber" --></td>
60 <td><!-- TMPL_VAR NAME="cardnumber" --></td>
61 <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>
62 <!-- FIXME: should use POST to change server state, not GET -->
67 <span class="error">Error: Unknown Batch Type "<!-- TMPL_VAR NAME="batch_type" -->"
71 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
75 <!-- TMPL_INCLUDE NAME="tools-labels-toolbar.inc" -->
76 <!-- TMPL_IF NAME="batch_is_labels" -->
78 <div class="yui-u first">
79 <!-- TMPL_IF NAME="batches" -->
80 <h2>Label Batches</h2>
89 <!-- TMPL_LOOP NAME="batches" -->
91 <td><!-- TMPL_VAR NAME="batch_id" --></td>
92 <td><!-- TMPL_VAR NAME="num" --> records</td>
93 <td><a href="/cgi-bin/koha/labels/label-manager.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=labels">Edit</a></td>
94 <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>
95 <td><a style="float: left;" href="/cgi-bin/koha/labels/label-print-<!-- TMPL_VAR NAME="outputformat" -->.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=labels">Generate and download <!-- TMPL_VAR NAME="batch_id" --></a></td>
100 <fieldset class="brief">
101 <legend>No Label Batches Currently Defined</legend>
103 Select "New Label Batch" to create a Label batch.
106 <!-- /TMPL_IF --><!-- /batches -->
109 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
112 <!-- TMPL_ELSIF NAME="batch_is_patroncards" -->
114 <div class="yui-u first">
115 <!-- TMPL_IF NAME="batches" -->
116 <h2>Patron Card Batches</h2>
125 <!-- TMPL_LOOP NAME="batches" -->
127 <td><!-- TMPL_VAR NAME="batch_id" --></td>
128 <td><!-- TMPL_VAR NAME="num" --> records</td>
129 <td><a href="/cgi-bin/koha/labels/label-manager.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=patroncards">Edit</a></td>
130 <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>
131 <td><a style="float: left;" href="/cgi-bin/koha/labels/label-print-<!-- TMPL_VAR NAME="outputformat" -->.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&type=patroncards">Generate and download <!-- TMPL_VAR NAME="batch_id" --></a></td>
136 <fieldset class="brief">
137 <legend>No Patron Card Batches Currently Defined</legend>
139 Select "New Patron Card Batch" to create a Label batch.
142 <!-- /TMPL_IF --><!-- /batches -->
145 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
148 <!-- /TMPL_IF --><!-- /type -->
149 <!-- /TMPL_IF --><!-- batch_id -->
153 <!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
156 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->