LP#1693036: Simplify template, cleanup preview data
[working/Evergreen.git] / Open-ILS / src / templates / staff / share / print_templates / t_patron_data.tt2
index 6c84270..48d6152 100644 (file)
@@ -1,9 +1,5 @@
 <!--
-Template for printing a patron's data, including addesses and statistical categories. Fields include:
-
-* patron.first_given_name
-* patron.second_given_name
-* patron.family_name
+Template for printing a patron's data, including addresses and statistical categories.
 -->
 <div>
   <div>=-=-=-=</div>
@@ -21,6 +17,7 @@ Template for printing a patron's data, including addesses and statistical catego
   <div>Juvenile: {{patron.juvenile}}</div>
   <div>Primary Identification Type: {{patron.ident_type.name()}}</div>
   <div>Primary Identification: {{patron.ident_value}}</div>
+  <div>Secondary Identification Type: {{patron.ident_type2.name()}}</div>
   <div>Secondary Identification: {{patron.ident_value2}}</div>
   <div>Email Address: {{patron.email}}</div>
   <div>Daytime Phone: {{patron.day_phone}}</div>
@@ -33,36 +30,25 @@ Template for printing a patron's data, including addesses and statistical catego
   <div>Active: {{patron.active}}</div>
   <div>Barred: {{patron.barred}}</div>
   <div>Is Group Lead Account: {{patron.master_account}}</div>
-  <div>Claims-returned Count: {{patron.claims_returned_count}}</div>
-  <div>Claims Never Checked Out Count: {{patron.claims_never_checked_out_count}}</div>
+  <div>Claims-Returned Count: {{patron.claims_returned_count}}</div>
+  <div>Claims-Never-Checked-Out Count: {{patron.claims_never_checked_out_count}}</div>
   <div>Alert Message: {{patron.alert_message}}</div>
 
   <div>
-    <!--
-    * address.street1
-    * address.street2
-    * address.city
-    * address.state
-    * address.post_code
-    -->
     <div ng-repeat="address in patron.addresses">
       <div>-------</div>
       <div>Type: {{address.address_type}}</div>
-      <div>Postal Code: {{address.post_code}}</div>
       <div>Street (1): {{address.street1}}</div>
       <div>Street (2): {{address.street2}}</div>
       <div>City: {{address.city}}</div>
       <div>County: {{address.county}}</div>
       <div>State: {{address.state}}</div>
-      <div>Contry: {{address.country}}</div>
+      <div>Postal Code: {{address.post_code}}</div>
+      <div>Country: {{address.country}}</div>
       <div>Valid Address?: {{address.valid}}</div>
       <div>Within City Limits?: {{address.within_city_limits}}</div>
     </div>
     <div>-------</div>
-    <!-- Stat Cats
-    *  entry.stat_cat_entry
-    *  entry.stat_cat.name
-    -->
     <div ng-repeat="entry in patron.stat_cat_entries">{{entry.stat_cat.name}} : {{entry.stat_cat_entry}}</div>
     <div>=-=-=-=</div>
   </div>