lp1693036 Patron Editor Print 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 addesses and statistical categories. Fields include:
3
4 * patron.first_given_name
5 * patron.second_given_name
6 * patron.family_name
7 -->
8 <div>
9   <div>=-=-=-=</div>
10   <div>-------</div>
11   <div>Barcode: {{patron.card.barcode}}</div>
12   <div>-------</div>
13   <div>Patron's Username: {{patron.usrname}}</div>
14   <div>Prefix/Title: {{patron.prefix}}</div>
15   <div>First Name: {{patron.first_given_name}}</div>
16   <div>Middle Name: {{patron.second_given_name}}</div>
17   <div>Last Name: {{patron.family_name}}</div>
18   <div>Suffix: {{patron.suffix}}</div>
19   <div>Holds Alias: {{patron.alias}}</div>
20   <div>Date of Birth: {{patron.dob}}</div>
21   <div>Juvenile: {{patron.juvenile}}</div>
22   <div>Primary Identification Type: {{patron.ident_type.name()}}</div>
23   <div>Primary Identification: {{patron.ident_value}}</div>
24   <div>Secondary Identification: {{patron.ident_value2}}</div>
25   <div>Email Address: {{patron.email}}</div>
26   <div>Daytime Phone: {{patron.daytime_phone}}</div>
27   <div>Evening Phone: {{patron.evening_phone}}</div>
28   <div>Other Phone: {{patron.other_phone}}</div>
29   <div>Home Library: {{patron.home_ou.name()}}</div>
30   <div>Main (Profile) Permission Group: {{patron.profile.name()}}</div>
31   <div>Privilege Expiration Date: {{patron.expire_date}}</div>
32   <div>Internet Access Level: {{patron.net_access_level.name()}}</div>
33   <div>Active: {{patron.active}}</div>
34   <div>Barred: {{patron.barred}}</div>
35   <div>Is Group Lead Account: {{patron.master_account}}</div>
36   <div>Claims-returned Count: {{patron.claims_returned_count}}</div>
37   <div>Claims Never Checked Out Count: {{patron.claims_never_checked_out_count}}</div>
38   <div>Alert Message: {{patron.alert_message}}</div>
39
40   <div>
41     <!--
42     * address.street1
43     * address.street2
44     * address.city
45     * address.state
46     * address.post_code
47     -->
48     <div ng-repeat="address in patron.addresses">
49       <div>-------</div>
50       <div>Type: {{address.address_type}}</div>
51       <div>Postal Code: {{address.post_code}}</div>
52       <div>Street (1): {{address.street1}}</div>
53       <div>Street (2): {{address.street2}}</div>
54       <div>City: {{address.city}}</div>
55       <div>County: {{address.county}}</div>
56       <div>State: {{address.state}}</div>
57       <div>Contry: {{address.country}}</div>
58       <div>Valid Address?: {{address.valid}}</div>
59       <div>Within City Limits?: {{address.within_city_limits}}</div>
60     </div>
61     <div>-------</div>
62     <!-- Stat Cats
63     *  entry.stat_cat_entry
64     *  entry.stat_cat.name
65     -->
66     <div ng-repeat="entry in patron.stat_cat_entries">{{entry.stat_cat.name}} : {{entry.stat_cat_entry}}</div>
67     <div>=-=-=-=</div>
68   </div>
69 </div>