[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week]
From: |
Mason James |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week] |
Date: |
Wed, 04 Jul 2007 03:45:29 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Mason James <sushi> 07/07/04 03:45:29
Modified files:
koha-tmpl/intranet-tmpl/npl/en/barcodes: label-manager.tmpl
Log message:
more batch stuff
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.3.2.4&r2=1.1.2.3.2.5
Patches:
Index: label-manager.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/Attic/label-manager.tmpl,v
retrieving revision 1.1.2.3.2.4
retrieving revision 1.1.2.3.2.5
diff -u -b -r1.1.2.3.2.4 -r1.1.2.3.2.5
--- label-manager.tmpl 3 Jul 2007 04:09:00 -0000 1.1.2.3.2.4
+++ label-manager.tmpl 4 Jul 2007 03:45:28 -0000 1.1.2.3.2.5
@@ -5,6 +5,11 @@
<div id="main">
<h1>Labels to be Printed</h1>
<p>
+ <!-- TMPL_IF NAME="batch_id" -->
+ BATCH <!-- TMPL_VAR NAME="batch_id" --></b><br />
+ <!-- TMPL_ELSE -->
+ NO BATCH SAVED</b><br />
+ <!-- /TMPL_IF -->
Printing will start on <b>row <!-- TMPL_VAR NAME="startrow" --></b><br
/>
Printing will use <b><!-- TMPL_VAR NAME="sheets"--> sheets</b><br />
Currently <b><!-- TMPL_VAR NAME="labels_remaining"--> rows</b> spare
on <b>sheet <!-- TMPL_VAR NAME="sheets"--></b>
@@ -17,6 +22,7 @@
<th>Label Number</th>
<th>Summary</th>
<th>Item Type</th>
+ <th>Batch</th>
<th>Delete</th>
</tr>
<!-- TMPL_LOOP NAME="resultsloop" -->
@@ -28,9 +34,8 @@
<b> <a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR
NAME="biblionumber" -->"> <!-- TMPL_VAR NAME="title" -->:</a></b> <!-- TMPL_VAR
NAME="author" -->:
<!-- TMPL_VAR NAME="isbn" -->: <!-- TMPL_VAR NAME="barcode" -->
</td>
- <td>
- <!-- TMPL_VAR NAME="itemtype" -->
- </td>
+ <td> <!-- TMPL_VAR NAME="itemtype" --> </td>
+ <td> <!-- TMPL_VAR NAME="batch_id" --> </td>
<td>
<a
href="/cgi-bin/koha/barcodes/label-manager.pl?op=delete&itemnumber=<!--
TMPL_VAR NAME="itemnumber" -->">Delete</a>
</td>
@@ -39,19 +44,33 @@
</table>
<p><br />
- <a href="#" onclick="Plugin(); return false;">Add Item</a>
+
+
+<form name="input" action="/cgi-bin/koha/barcodes/label-manager.pl"
method="get">
+Open existing Batch
+<select name="batch_id">
+ <!-- TMPL_LOOP NAME="batches" -->
+ <option value="<!-- TMPL_VAR NAME="batch_id" -->"
+ <!-- TMPL_IF NAME="active" --> selected <!-- /TMPL_IF -->
+ ><!-- TMPL_VAR NAME="batch_id" --></option>
+ <!-- /TMPL_LOOP -->
+</select>
+ <input type="submit" value="Submit">
+</form>
+
+
+ <a href="#" onclick="Plugin(<!-- TMPL_VAR NAME="batch_id" -->); return
false;">Add Item</a>
<a href="/cgi-bin/koha/barcodes/label-print.pl">Save Items to
Batch</a>
<a href="/cgi-bin/koha/barcodes/label-manager.pl?op=deleteall">Delete
All</a>
</p>
<!-- TMPL_ELSE -->
<a href="#" onclick="Plugin(); return false;">Add Item</a>
<!-- /TMPL_IF -->
-</form>
</div>
<script type="text/javascript">
-function Plugin() {
-
window.open('label-item-search.pl','FindABibIndex','width=500,height=400,toolbar=no,scrollbars=yes');
+function Plugin(batch_id) {
+
window.open("label-item-search.pl?batch_id="+batch_id+"",'FindABibIndex','width=500,height=400,toolbar=no,scrollbars=yes');
}
</script>
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/03
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/03
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/03
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/03
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week],
Mason James <=
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/04
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/06
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/06
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/06
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/08
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/08
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/08
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/08
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/09
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [dev_week], Mason James, 2007/07/09