From 19cced4a87ca2644993c40ea2ffe6f6825682b6f Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Mon, 17 Mar 2008 10:43:56 -0400 Subject: [PATCH] Sixth installment Patron card generation feature Signed-off-by: Joshua Ferraro --- koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc | 7 ++++--- .../prog/en/modules/labels/label-manager.tmpl | 2 +- .../intranet-tmpl/prog/en/modules/tools/tools-home.tmpl | 4 ++-- labels/label-print-pdf.pl | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc index bb66506078..9607ab49d0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc @@ -1,6 +1,7 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manager.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manager.tmpl index e07b8cde3f..91a4b6ef20 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manager.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manager.tmpl @@ -10,7 +10,7 @@ function Plugin(batch_id) { - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl index a04b9dd5f8..c93966ef91 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl @@ -17,8 +17,8 @@
News
Write news for the OPAC and staff interfaces
-
Label creator
-
Create printable labels and barcodes from catalog data
+
Label and Patron Card Creator
+
Create printable labels and barcodes from catalog data and patron cards from patron data
Calendar
Define days when the library is closed
diff --git a/labels/label-print-pdf.pl b/labels/label-print-pdf.pl index d21c19384f..9c5cf4c041 100755 --- a/labels/label-print-pdf.pl +++ b/labels/label-print-pdf.pl @@ -36,6 +36,7 @@ my @resultsloop; #$DB::single = 1; +my $batch_type = $conf_data->{'type'}; my $barcodetype = $conf_data->{'barcodetype'}; my $printingtype = $conf_data->{'printingtype'}; my $guidebox = $conf_data->{'guidebox'}; @@ -258,7 +259,6 @@ foreach $item (@resultsloop) { } elsif ( $printingtype eq 'PATCRD' ) { - my $borrowernumber = '3'; # Hardcoded for testing purposes... my $patron_data = $item; #FIXME: This needs to be paramatized and passed in from the user... -- 2.20.1