1 <!-- PLEASE MAINTAIN PROPER INDENTATION!!!! -->
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Tools › Labels › Manage label batches</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% INCLUDE '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 id="labels_label-edit-batch" class="tools labels" onload="dofocus();">
24 [% INCLUDE 'header.inc' %]
25 [% INCLUDE '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">Manage label batches</a> ›
31 Manage batch number [% batch_id %]
33 <div id="doc3" class="yui-t2">
37 [% INCLUDE 'labels-batches-toolbar.inc' %]
39 <div class="yui-u first" id="manage-label-batches">
40 <div class="hint">Current library: [% 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="[% 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 [% IF ( table_loop ) %]
57 <form name="items" class="checkboxed">
58 <h2>Items in batch number [% batch_id %]</h2>
60 [% FOREACH table_loo IN table_loop %]
61 [% IF ( table_loo.header_fields ) %]
63 [% FOREACH header_field IN table_loo.header_fields %]
64 <th>[% header_field.field_label %]</th>
69 [% FOREACH text_field IN table_loo.text_fields %]
70 [% IF ( text_field.select_field ) %]
71 <td align="center"><input type="checkbox" name="action" value="[% text_field.field_value %]"></td>
73 <td>[% text_field.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 [% batch_id %] yet</h4>
86 <p>Add items by barcode using the text area above or leave empty to add via item search.</p>
94 <div class="dialog alert">
95 <strong>WARNING:</strong> An error was encountered and [% errstr %] Please have your system administrator check the error log for details.
98 [% ELSIF ( duplicate_message ) %]
100 <div class="dialog message">
101 <strong>[% duplicate_count %] duplicate item(s) found</strong> and removed from batch [% batch_id %].
109 [% INCLUDE 'labels-menu.inc' %]
113 [% INCLUDE 'intranet-bottom.inc' %]