Sixth installment Patron card generation feature
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
773204b2cd
commit
19cced4a87
|
|
@ -1,6 +1,7 @@
|
|||
<ul>
|
||||
<li><a href="/cgi-bin/koha/labels/label-home.pl">Label Layouts</a></li>
|
||||
<li><a href="/cgi-bin/koha/labels/label-templates.pl">Label Templates</a></li>
|
||||
<li><a href="/cgi-bin/koha/labels/label-home.pl">Layouts</a></li>
|
||||
<li><a href="/cgi-bin/koha/labels/label-templates.pl">Templates</a></li>
|
||||
<li><a href="/cgi-bin/koha/labels/label-profiles.pl">Printer Profiles</a></li>
|
||||
<li><a href="/cgi-bin/koha/labels/label-manager.pl">Create or Print Label Batches</a></li>
|
||||
<li><a href="/cgi-bin/koha/labels/label-manager.pl?type=labels">Create or Print Label Batches</a></li>
|
||||
<li><a href="/cgi-bin/koha/labels/label-manager.pl?type=patroncards">Create or Print Patron Card Batches</a></li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ function Plugin(batch_id) {
|
|||
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
||||
<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
|
||||
|
||||
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › Labels</div>
|
||||
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <!-- TMPL_IF EXPR="(batch_type eq 'labels')" -->Labels<!-- TMPL_ELSIF EXPR="(batch_type eq 'patroncards')" -->Patron Cards<!-- /TMPL_IF --></div>
|
||||
<div id="doc3" class="yui-t2">
|
||||
<div id="bd">
|
||||
<div id="yui-main">
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
<dt><a href="/cgi-bin/koha/tools/koha-news.pl">News</a></dt>
|
||||
<dd>Write news for the OPAC and staff interfaces</dd>
|
||||
|
||||
<dt><a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a></dt>
|
||||
<dd>Create printable labels and barcodes from catalog data</dd>
|
||||
<dt><a href="/cgi-bin/koha/labels/label-home.pl">Label and Patron Card Creator</a></dt>
|
||||
<dd>Create printable labels and barcodes from catalog data and patron cards from patron data</dd>
|
||||
|
||||
<dt><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></dt>
|
||||
<dd>Define days when the library is closed</dd>
|
||||
|
|
|
|||
|
|
@ -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...
|
||||
|
|
|
|||
Loading…
Reference in New Issue