| 
      
            Lines 18-81
          
      
      
        Link Here
      
     | 
  
        
          | 18 | 
          <body id="pat_printfeercpt" class="pat">  | 
          18 | 
          <body id="pat_printfeercpt" class="pat">  | 
        
        
          | 19 | 
           | 
          19 | 
           | 
        
        
          | 20 | 
          <div id="receipt">  | 
          20 | 
          <div id="receipt">  | 
        
            
              | 21 | 
               | 
               | 
               | 
            
            
              | 22 | 
              [% IF letter %]  | 
            
        
          | 23 | 
              [% letter.content | evaltt %]  | 
          21 | 
              [% letter.content | evaltt %]  | 
        
            
              | 24 | 
              [% ELSE %]  | 
               | 
               | 
            
            
              | 25 | 
              <!-- The table with the account items -->  | 
            
            
              | 26 | 
              <table>  | 
            
            
              | 27 | 
              [% IF ( LibraryName ) %]  | 
            
            
              | 28 | 
               <tr>  | 
            
            
              | 29 | 
                  <th colspan=4 class="centerednames">  | 
            
            
              | 30 | 
              		<h3>[% LibraryName | html %]</h3>  | 
            
            
              | 31 | 
              	</th>  | 
            
            
              | 32 | 
               </tr>  | 
            
            
              | 33 | 
              [% END %]  | 
            
            
              | 34 | 
               <tr>  | 
            
            
              | 35 | 
                  <th colspan=4 class="centerednames">  | 
            
            
              | 36 | 
                      <h2><u>Fee receipt</u></h2>  | 
            
            
              | 37 | 
              	</th>  | 
            
            
              | 38 | 
               </tr>  | 
            
            
              | 39 | 
               <tr>  | 
            
            
              | 40 | 
                  <th colspan=4 class="centerednames">  | 
            
            
              | 41 | 
                      <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>  | 
            
            
              | 42 | 
              	</th>  | 
            
            
              | 43 | 
               </tr>  | 
            
            
              | 44 | 
               <tr>  | 
            
            
              | 45 | 
                  <th colspan=4 >  | 
            
            
              | 46 | 
                      Received with thanks from  [% patron.firstname | html %] [% patron.surname | html %] <br />  | 
            
            
              | 47 | 
                      Card number: [% patron.cardnumber | html %]<br />  | 
            
            
              | 48 | 
              	</th>  | 
            
            
              | 49 | 
               </tr>  | 
            
            
              | 50 | 
                <tr>  | 
            
            
              | 51 | 
              	<th>Date</th>  | 
            
            
              | 52 | 
                  <th>Description of charges</th>  | 
            
            
              | 53 | 
                  <th>Note</th>  | 
            
            
              | 54 | 
                  <th>Amount</th>  | 
            
            
              | 55 | 
               </tr>  | 
            
            
              | 56 | 
               | 
            
            
              | 57 | 
                [% FOREACH account IN accounts %]  | 
            
            
              | 58 | 
              <tr class="highlight">  | 
            
            
              | 59 | 
                    <td>[% account.date | $KohaDates %]</td>  | 
            
            
              | 60 | 
                    <td>  | 
            
            
              | 61 | 
                      [% PROCESS account_type_description account=account %]  | 
            
            
              | 62 | 
                      [%- IF account.description %], [% account.description | html %][% END %]  | 
            
            
              | 63 | 
                    </td>  | 
            
            
              | 64 | 
                    <td>[% account.note | html %]</td>  | 
            
            
              | 65 | 
                    [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount | $Price %]</td>  | 
            
            
              | 66 | 
                  </tr>  | 
            
            
              | 67 | 
               | 
            
            
              | 68 | 
                [% END %]  | 
            
            
              | 69 | 
              <tfoot>  | 
            
            
              | 70 | 
                <tr>  | 
            
            
              | 71 | 
                  <td colspan="3">Total outstanding dues as on date: </td>  | 
            
            
              | 72 | 
                  [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td>  | 
            
            
              | 73 | 
                </tr>  | 
            
            
              | 74 | 
                </tfoot>  | 
            
            
              | 75 | 
              </table>  | 
            
            
              | 76 | 
              <!-- / The table with the account items -->  | 
            
            
              | 77 | 
              [% END %]  | 
            
            
              | 78 | 
               | 
            
        
          | 79 | 
          </div>  | 
          22 | 
          </div>  | 
        
        
          | 80 | 
           | 
          23 | 
           | 
        
        
          | 81 | 
          [% MACRO jsinclude BLOCK %]  | 
          24 | 
          [% MACRO jsinclude BLOCK %]  | 
        
            
              | 82 | 
              -   | 
               | 
               |