| Lines 3-24
          
      
      
        Link Here | 
        
          | 3 | [% PROCESS 'i18n.inc' %] | 3 | [% PROCESS 'i18n.inc' %] | 
        
          | 4 | [% SET footerjs = 1 %] | 4 | [% SET footerjs = 1 %] | 
        
          | 5 | [% INCLUDE 'doc-head-open.inc' %] | 5 | [% INCLUDE 'doc-head-open.inc' %] | 
          
            
              | 6 | <title | 6 | <title> | 
            
              | 7 |     >[% FILTER collapse %] | 7 |     [% FILTER collapse %] | 
            
              | 8 |         [% t("Patron card printing/exporting") | html %] | 8 |         [% t("Export") | html %] | 
        
          | 9 |         › [% t("Patron cards") | html %] › [% t("Tools") | html %] › [% t("Koha") | html %] | 9 |         › [% t("Patron cards") | html %] › [% t("Tools") | html %] › [% t("Koha") | html %] | 
          
            
              | 10 |     [% END %]</title | 10 |     [% END %] | 
            
              | 11 | > | 11 | </title> | 
            
              | 12 | [% INCLUDE 'doc-head-close.inc' popup => 1 %] | 12 | [% INCLUDE 'doc-head-close.inc' %] | 
        
          | 13 | </head> | 13 | </head> | 
        
          | 14 |  | 14 |  | 
          
            
              | 15 | <body id="pcard_print" class="tools pcard"> | 15 | <body id="pcard_edit-batch" class="tools pcard"> | 
            
              | 16 | <div class="container-fluid"> | 16 | [% WRAPPER 'header.inc' %] | 
            
              | 17 |     <h1>Patron card printing/exporting</h1> | 17 |     [% INCLUDE 'cat-search.inc' %] | 
            
              |  |  | 18 | [% END %] | 
            
              | 19 |  | 
            
              | 20 | [% WRAPPER 'sub-header.inc' %] | 
            
              | 21 |     [% WRAPPER breadcrumbs %] | 
            
              | 22 |         [% WRAPPER breadcrumb_item %] | 
            
              | 23 |             <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> | 
            
              | 24 |         [% END %] | 
            
              | 25 |         [% WRAPPER breadcrumb_item %] | 
            
              | 26 |             <a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a> | 
            
              | 27 |         [% END %] | 
            
              | 28 |         [% WRAPPER breadcrumb_item %] | 
            
              | 29 |             <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Batches</a> | 
            
              | 30 |         [% END %] | 
            
              | 31 |         [% WRAPPER breadcrumb_item bc_active= 1 %] | 
            
              | 32 |             <span>Export</span> | 
            
              | 33 |         [% END %] | 
            
              | 34 |     [% END #/ WRAPPER breadcrumbs %] | 
            
              | 35 | [% END #/ WRAPPER sub-header.inc %] | 
            
              | 36 |  | 
            
              | 37 | [% WRAPPER 'main-container.inc' %] | 
            
              | 38 |     <h1>Patron card export</h1> | 
        
          | 18 |     [% IF ( batches ) %] | 39 |     [% IF ( batches ) %] | 
        
          | 19 |         <form method="get"> | 40 |         <form method="get"> | 
          
            
              | 20 |             <h3>Click on the following link(s) to download the exported batch(es).</h3> | 41 |             <h3>Click any of the following links to download the exported batch</h3> | 
            
              | 21 |             <fieldset> | 42 |             <div class="page-section"> | 
        
          | 22 |                 [% FOREACH batche IN batches %] | 43 |                 [% FOREACH batche IN batches %] | 
        
          | 23 |                     [% IF ( batche.label_ids ) %] | 44 |                     [% IF ( batche.label_ids ) %] | 
        
          | 24 |                         <legend>[% batche.card_count | html %] Single patron cards</legend> | 45 |                         <legend>[% batche.card_count | html %] Single patron cards</legend> | 
  
    | Lines 49-70
          
      
      
        Link Here | 
        
          | 49 |                         </p> | 70 |                         </p> | 
        
          | 50 |                     [% END %] | 71 |                     [% END %] | 
        
          | 51 |                 [% END %] | 72 |                 [% END %] | 
          
            
              | 52 |             </fieldset> | 73 |             </div> | 
        
          | 53 |  | 74 |  | 
        
          | 54 |             <fieldset class="action"> | 75 |             <fieldset class="action"> | 
          
            
              | 55 |                 <input type="button" class="gb-close" value="Done" /> | 76 |                 <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch" class="btn btn-default">Return to patron card batches</a> | 
        
          | 56 |             </fieldset> | 77 |             </fieldset> | 
        
          | 57 |         </form> | 78 |         </form> | 
        
          | 58 |     [% ELSIF ( patronlist_id && template_id && layout_id ) %] | 79 |     [% ELSIF ( patronlist_id && template_id && layout_id ) %] | 
        
          | 59 |         <div id="export_patron_list"> | 80 |         <div id="export_patron_list"> | 
          
            
              | 60 |             <h3>Click on the link to download the patron cards from the patron list.</h3> | 81 |             <h3>Click any of the following links to download the exported batch</h3> | 
            
              | 61 |             <p> | 82 |             <div class="page-section"> | 
            
              | 62 |                 <a | 83 |                 <p> | 
            
              | 63 |                     class="document pdf" | 84 |                     <a | 
            
              | 64 |                     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 %]&order_by=[% order_by | html %]" | 85 |                         class="document pdf" | 
            
              | 65 |                     >label_patronlist_[% patronlist_id | html %].pdf</a | 86 |                         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 %]&order_by=[% order_by | html %]" | 
            
              | 66 |                 > | 87 |                     > | 
            
              | 67 |             </p> | 88 |                         label_patronlist_[% patronlist_id | html %].pdf | 
            
              |  |  | 89 |                     </a> | 
            
              | 90 |                 </p> | 
            
              | 91 |             </div> | 
        
          | 68 |         </div> | 92 |         </div> | 
        
          | 69 |     [% ELSE %] | 93 |     [% ELSE %] | 
        
          | 70 |         <h3> | 94 |         <h3> | 
  
    | Lines 143-163
          
      
      
        Link Here | 
        
          | 143 |             </fieldset> | 167 |             </fieldset> | 
        
          | 144 |         </form> | 168 |         </form> | 
        
          | 145 |     [% END %] | 169 |     [% END %] | 
          
            
              | 146 | </div> | 170 | [% END %] | 
            
              | 147 | <!-- /.container-fluid --> |  |  | 
        
          | 148 |  | 171 |  | 
        
          | 149 | [% MACRO jsinclude BLOCK %] | 172 | [% MACRO jsinclude BLOCK %] | 
            
              | 150 |     [% INCLUDE 'greybox.inc' %] |  |  | 
            
              | 151 |     <script> | 
            
              | 152 |         function Done() { | 
            
              | 153 |             window.location = "[% referer | html %]"; | 
            
              | 154 |         }; | 
            
              | 155 |         $(document).ready(function(){ | 
            
              | 156 |             $(".gb-close").on("click",function(){ | 
            
              | 157 |                 parent.parent.GB_hide(); | 
            
              | 158 |             }); | 
            
              | 159 |         }); | 
            
              | 160 |     </script> | 
        
          | 161 | [% END %] | 173 | [% END %] | 
        
          | 162 |  | 174 |  | 
          
            
              | 163 | [% INCLUDE 'popup-bottom.inc' %] | 175 | [% INCLUDE 'intranet-bottom.inc' %] | 
            
              | 164 | -  |  |  |