LP#1693036: Simplify template, cleanup preview data
[working/Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_patron_data.tt2
1 <!--
2 Template for printing a patron's data, including addresses and statistical categories.
3 -->
4 <div>
5   <div>=-=-=-=</div>
6   <div>-------</div>
7   <div>Barcode: {{patron.card.barcode}}</div>
8   <div>-------</div>
9   <div>Patron's Username: {{patron.usrname}}</div>
10   <div>Prefix/Title: {{patron.prefix}}</div>
11   <div>First Name: {{patron.first_given_name}}</div>
12   <div>Middle Name: {{patron.second_given_name}}</div>
13   <div>Last Name: {{patron.family_name}}</div>
14   <div>Suffix: {{patron.suffix}}</div>
15   <div>Holds Alias: {{patron.alias}}</div>
16   <div>Date of Birth: {{patron.dob}}</div>
17   <div>Juvenile: {{patron.juvenile}}</div>
18   <div>Primary Identification Type: {{patron.ident_type.name()}}</div>
19   <div>Primary Identification: {{patron.ident_value}}</div>
20   <div>Secondary Identification Type: {{patron.ident_type2.name()}}</div>
21   <div>Secondary Identification: {{patron.ident_value2}}</div>
22   <div>Email Address: {{patron.email}}</div>
23   <div>Daytime Phone: {{patron.day_phone}}</div>
24   <div>Evening Phone: {{patron.evening_phone}}</div>
25   <div>Other Phone: {{patron.other_phone}}</div>
26   <div>Home Library: {{patron.home_ou.name()}}</div>
27   <div>Main (Profile) Permission Group: {{patron.profile.name()}}</div>
28   <div>Privilege Expiration Date: {{patron.expire_date}}</div>
29   <div>Internet Access Level: {{patron.net_access_level.name()}}</div>
30   <div>Active: {{patron.active}}</div>
31   <div>Barred: {{patron.barred}}</div>
32   <div>Is Group Lead Account: {{patron.master_account}}</div>
33   <div>Claims-Returned Count: {{patron.claims_returned_count}}</div>
34   <div>Claims-Never-Checked-Out Count: {{patron.claims_never_checked_out_count}}</div>
35   <div>Alert Message: {{patron.alert_message}}</div>
36
37   <div>
38     <div ng-repeat="address in patron.addresses">
39       <div>-------</div>
40       <div>Type: {{address.address_type}}</div>
41       <div>Street (1): {{address.street1}}</div>
42       <div>Street (2): {{address.street2}}</div>
43       <div>City: {{address.city}}</div>
44       <div>County: {{address.county}}</div>
45       <div>State: {{address.state}}</div>
46       <div>Postal Code: {{address.post_code}}</div>
47       <div>Country: {{address.country}}</div>
48       <div>Valid Address?: {{address.valid}}</div>
49       <div>Within City Limits?: {{address.within_city_limits}}</div>
50     </div>
51     <div>-------</div>
52     <div ng-repeat="entry in patron.stat_cat_entries">{{entry.stat_cat.name}} : {{entry.stat_cat_entry}}</div>
53     <div>=-=-=-=</div>
54   </div>
55 </div>