Hi-

I hoping that someone can help me with this issue. I am getting my print 
templates set-up in the web client and I am having some issues with information 
that I want to show up in several of the templates; bills (historical, current, 
payment). I want the patron information (name, ID, Phone, and term) to appear 
at the top of the template but I am not having any luck. This is what I am 
using (see attached).

Is patron data not available for bill templates? Have any of you been able to 
make this work? We currently using version 3.0.3.

Thanks for your help and have a great weekend!
Bianca

Bianca Parisi MLIS, Library & Learning Commons Technology Coordinator

[cid:[email protected]]<http://www.niagaracollege.ca/>

Library & Learning Commons

phone

905-735-2211 ext 7404

email

[email protected]<mailto:[email protected]>

website     .

http://nclibraries.niagaracollege.ca/library




<!--
Template for printing a list of past bills. Data specific
to this template includes:

* transasctions - a list of transactions, each of which
  contains:

  xact.summary - information about the transaction
  xact.title - Copy title
  xact.copy_barcode - Copy barcode

-->
<img src="https://libapps-ca.s3.amazonaws.com/accounts/6495/images/LLC_Logo.jpg";
style="width:150px;"><br/>

<h3>Bill History</h3>
<b>{{current_location.name}}</b>
<div ng>Name: {{patron.family_name}}, {{patron.first_given_name}}</div>
<div>ID: {{patron.ident_value}}</div>
<div> Phone: {{patron.phone}}</div>
<div>Email: {{patron.email}}</div>
<div>Term: {{patron.ident_value2}}</div>
<hr/>

<dl>
  <div ng-repeat="xact in transactions">
    <dt><b>Bill #{{xact.id}}</b></dt>
    <dd>
    <table> 
    <tr valign="top">
    <tr ng-if="xact.title">
    <td valign="top">Title:</td>
    <td valign="top">{{xact.title}}</td>
    </tr>
   <tr ng-if="xact.copy_barcode">
   <td valign="top">Barcode:</td>
   <td valign="top">{{xact.copy_barcode}}</td>
   </tr>
      <tr valign="top">
        <td>Date:</td>
        <td>{{xact.xact_start | date:$root.egDateAndTimeFormat}}</td>
      </tr> 
      <tr valign="top">
        <td>Type:</td>
        <td>{{xact.summary.xact_type}}</td>
      </tr> 
      <tr valign="top">
        <td>Last Billing:</td>
        <td>{{xact.summary.last_billing_type}}<br/>
            {{xact.summary.last_billing_note}}
        </td>
      </tr> 
      <tr valign="top">
        <td>Total Billed:</td>
        <td>{{xact.summary.total_owed | currency}}</td>
      </tr> 
      <tr valign="top">
        <td>Last Payment:</td>
        <td>{{xact.summary.last_payment_type}}<br/>
            {{xact.summary.last_payment_note}}
        </td>
      </tr> 
      <tr valign="top">
        <td>Total Paid:</td>
        <td>{{xact.summary.total_paid | currency}}</td>
      </tr> 
      <tr valign="top">
        <td><b>Balance:</b></td>
        <td><b>{{xact.summary.balance_owed | currency}}</b></td>
      </tr> 
    </table>
    </dd>
    <br/>
  </div><!-- ng-repeat -->
</dl>
<hr/>
{{current_location.shortname}} {{today | date:$root.egDateAndTimeFormat}}
<br/><br/>

Reply via email to