| Lines 10-16
          
      
      
        Link Here | 
        
          | 10 |         <h1>Patron card printing/exporting</h1> | 10 |         <h1>Patron card printing/exporting</h1> | 
        
          | 11 |             [% IF ( batches ) %] | 11 |             [% IF ( batches ) %] | 
        
          | 12 |             <form> | 12 |             <form> | 
          
            
              | 13 |                 <h3>Click on the following link(s) to download the exported batch(es).</h3> | 13 |                 <h2>Click on the following link(s) to download the exported batch(es).</h2> | 
        
          | 14 |                     <fieldset> | 14 |                     <fieldset> | 
        
          | 15 |                     [% FOREACH batche IN batches %] | 15 |                     [% FOREACH batche IN batches %] | 
        
          | 16 |                         [% IF ( batche.label_ids ) %] | 16 |                         [% IF ( batche.label_ids ) %] | 
  
    | Lines 38-50
          
      
      
        Link Here | 
        
          | 38 |             </form> | 38 |             </form> | 
        
          | 39 |             [% ELSIF ( patronlist_id && template_id && layout_id ) %] | 39 |             [% ELSIF ( patronlist_id && template_id && layout_id ) %] | 
        
          | 40 |                 <div id="export_patron_list"> | 40 |                 <div id="export_patron_list"> | 
          
            
              | 41 |                     <h3>Click on the link to download the patron cards from the patron list.</h3> | 41 |                     <h2>Click on the link to download the patron cards from the patron list.</h2> | 
        
          | 42 |                     <p> | 42 |                     <p> | 
        
          | 43 |                         <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?patronlist_id=[% patronlist_id | html %]&template_id=[% template_id | html %]&layout_id=[% layout_id | html %]&layout_back_id=[% layout_back_id | html %]&start_card=[% start_card | html %]">label_patronlist_[% patronlist_id | html %].pdf</a> | 43 |                         <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?patronlist_id=[% patronlist_id | html %]&template_id=[% template_id | html %]&layout_id=[% layout_id | html %]&layout_back_id=[% layout_back_id | html %]&start_card=[% start_card | html %]">label_patronlist_[% patronlist_id | html %].pdf</a> | 
        
          | 44 |                     </p> | 44 |                     </p> | 
        
          | 45 |                 </div> | 45 |                 </div> | 
        
          | 46 |             [% ELSE %] | 46 |             [% ELSE %] | 
          
            
              | 47 |             <h3> | 47 |             <h2> | 
        
          | 48 |                     [% IF ( label_ids ) %] | 48 |                     [% IF ( label_ids ) %] | 
        
          | 49 |                         [% IF ( card_count == 1 ) %]Exporting [% card_count | html %] patron card[% ELSE %]Exporting [% card_count | html %] patron cards[% END %] | 49 |                         [% IF ( card_count == 1 ) %]Exporting [% card_count | html %] patron card[% ELSE %]Exporting [% card_count | html %] patron cards[% END %] | 
        
          | 50 |                     [% ELSIF ( borrower_numbers ) %] | 50 |                     [% ELSIF ( borrower_numbers ) %] | 
  
    | Lines 53-59
          
      
      
        Link Here | 
        
          | 53 |                     [% ELSE %] | 53 |                     [% ELSE %] | 
        
          | 54 |                         [% IF ( multi_batch_count == 1 ) %][% multi_batch_count | html %] batch to export[% ELSE %][% multi_batch_count | html %] batches to export[% END %] | 54 |                         [% IF ( multi_batch_count == 1 ) %][% multi_batch_count | html %] batch to export[% ELSE %][% multi_batch_count | html %] batches to export[% END %] | 
        
          | 55 |                     [% END %] | 55 |                     [% END %] | 
          
            
              | 56 |             </h3> | 56 |             </h2> | 
        
          | 57 |             <form id="exportingf" name="exporting" method="post" action="/cgi-bin/koha/patroncards/print.pl"> | 57 |             <form id="exportingf" name="exporting" method="post" action="/cgi-bin/koha/patroncards/print.pl"> | 
        
          | 58 |                 <input type="hidden" name="op" value="export" /> | 58 |                 <input type="hidden" name="op" value="export" /> | 
        
          | 59 |                 <input type="hidden" name="referer" value="[% referer | html %]" /> | 59 |                 <input type="hidden" name="referer" value="[% referer | html %]" /> | 
            
              | 60 | -  |  |  |