1 <!-- PLEASE MAINTAIN PROPER INDENTATION!!!! -->
2 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
3 <title>Koha › Tools › Labels › Manage Label Batches</title>
4 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <!-- TMPL_INCLUDE NAME="greybox.inc" -->
6 <script type="text/javascript">
8 function dofocus() { // named function req'd for body onload event by some FF and IE7 security models
9 $(".focus:last").select();
11 function verifyBarcodes(barcodes) {
12 if (barcodes.value == '') {
13 alert("Please add barcodes using either the direct entry text area or the item search.");
14 return false; // not ok
23 <body onload="dofocus();">
24 <!-- TMPL_INCLUDE NAME="header.inc" -->
25 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
26 <div id="breadcrumbs">
27 <a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
28 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> ›
29 <a href="/cgi-bin/koha/labels/label-home.pl">Labels Home</a> ›
30 <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Mange Label Batches</a> ›
31 Manage Batch Number <!-- TMPL_VAR NAME="batch_id" -->
33 <div id="doc3" class="yui-t2">
37 <!-- TMPL_INCLUDE NAME="labels-batches-toolbar.inc" -->
39 <div class="yui-u first" id="manage-label-batches">
40 <div class="hint">Current Branch: <!-- TMPL_VAR NAME="LoginBranchname" --></div>
41 <form name="add_by_barcode" action="/cgi-bin/koha/labels/label-edit-batch.pl" method="post">
43 <fieldset class="rows" style="border-bottom: 0px; border: 0px;">
45 <input type="hidden" name="op" value="add" \>
46 <input type="hidden" name="batch_id" value="<!-- TMPL_VAR NAME="batch_id" -->" \>
47 <label for="barcode">Add by Barcode(s):
48 <br \> <span class="hint">One barcode per line.</span>
49 <br \> <span class="hint">Leave empty to add via item search.</span>
51 <textarea rows="5" id="barcode" name="barcode" tabindex="1" class="focus"></textarea>
56 <!-- TMPL_IF NAME="table_loop" -->
57 <form name="items" class="checkboxed">
58 <h2>Items in batch number <!-- TMPL_VAR NAME="batch_id" --></h2>
60 <!-- TMPL_LOOP NAME="table_loop" -->
61 <!-- TMPL_IF NAME="header_fields" -->
63 <!-- TMPL_LOOP NAME="header_fields" -->
64 <th><!-- TMPL_VAR NAME="field_label" --></th>
69 <!-- TMPL_LOOP NAME="text_fields" -->
70 <!-- TMPL_IF NAME="select_field" -->
71 <td align="center"><input type="checkbox" name="action" value="<!-- TMPL_VAR NAME="field_value" -->"></td>
73 <td><!-- TMPL_VAR NAME="field_value" --></td>
82 <fieldset class="rows" style="border-bottom: 0px; border: 0px;">
84 <div class="dialog message">
85 <h4>There are no items in Batch <!-- TMPL_VAR NAME="batch_id" --> yet</h4>
86 <p>Add items by barcode using the text area above or leave empty to add via item search.</p>
92 <!-- TMPL_IF NAME="err" -->
94 <div class="dialog alert">
95 <strong>WARNING:</strong> An error was encountered and <!-- TMPL_VAR NAME="errstr" --> Please have your system administrator check the error log for details.
98 <!-- TMPL_ELSIF NAME="duplicate_message" -->
100 <div class="dialog message">
101 <strong><!-- TMPL_VAR NAME="duplicate_count" --> duplicate item(s) found</strong> and removed from batch <!-- TMPL_VAR NAME="batch_id" -->.
109 <!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
113 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->