[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Tools › Patron cards › Patron card printing/exporting</title>
- [% INCLUDE 'doc-head-close.inc' %]
+ [% INCLUDE 'doc-head-close.inc' popup => 1%]
<script type="text/javascript">
//<![CDATA[
function Done() {
</fieldset>
<fieldset class="action">
- <input type="button" class="submit" id="done" onclick="parent.parent.GB_hide();" value="Done" />
+ <input type="button" class="btn btn-default submit" id="done" onclick="parent.parent.GB_hide();" value="Done" />
</fieldset>
</form>
+ [% ELSIF ( patronlist_id && template_id && layout_id ) %]
+ <h3>Click on the link to download the patron cards from the patron list.</h3>
+ <p>
+ <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?patronlist_id=[% patronlist_id %]&template_id=[% template_id %]&layout_id=[% layout_id %]&start_card=[% start_card %]">label_patronlist_[% patronlist_id %].pdf</a>
+ </p>
[% ELSE %]
<h3>
[% IF ( label_ids ) %]
- [% IF ( card_count == 1 ) %]Exporting [% card_count %] patroncard[% ELSE %]Exporting [% card_count %] patroncards[% END %]
+ [% IF ( card_count == 1 ) %]Exporting [% card_count %] patron card[% ELSE %]Exporting [% card_count %] patron cards[% END %]
[% ELSIF ( borrower_numbers ) %]
- [% IF ( borrower_count == 1 ) %]Exporting [% borrower_count %] patroncard[% ELSE %]Exporting [% borrower_count %] patroncards[% END %]
+ [% IF ( borrower_count == 1 ) %]Exporting [% borrower_count %] patron card[% ELSE %]Exporting [% borrower_count %] patron cards[% END %]
+ [% ELSIF ( patronlist_id ) %] Exporting from patron list
[% ELSE %]
[% IF ( multi_batch_count == 1 ) %][% multi_batch_count %] batch to export[% ELSE %][% multi_batch_count %] batches to export[% END %]
[% END %]
[% FOREACH borrower_number IN borrower_numbers %]
<input type="hidden" name="borrower_number" value="[% borrower_number.borrower_number %]" />
[% END %]
+ [% IF (patronlist_id) %] <input type="hidden" name="patronlist_id" value="[% patronlist_id %]" /> [% END %]
<fieldset class="rows">
<ol>
<li>
</ol>
</fieldset>
<fieldset class="action">
- <input type="submit" class="submit" value="Export" />
+ <input type="submit" class="btn btn-default submit" value="Export" />
<a href="#" class="cancel" id="done" onclick="parent.parent.GB_hide();">Cancel</a>
</fieldset>
</form>