LP1766726 Clarify Field Hints on Print Templates
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 21 Sep 2021 20:48:50 +0000 (16:48 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 11 Nov 2021 15:45:49 +0000 (10:45 -0500)
Adds 'patron.' to beginning of patron field hints in Checkout and Items Out
templates to make it easier for users to understand.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jennifer Weston <jennifer.weston@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/templates/staff/share/print_templates/t_checkout.tt2
Open-ILS/src/templates/staff/share/print_templates/t_items_out.tt2

index 5b85c56..eb1915d 100644 (file)
@@ -3,24 +3,24 @@ Template for printing checkout receipts; fields available include:
 
 * patron - has several fields from the patron object, including a financial summary
 
-  * prefix
-  * first_given_name
-  * second_given_name
-  * family_name
-  * suffix
-  * pref_prefix
-  * pref_first_given_name
-  * pref_second_given_name
-  * pref_family_name
-  * pref_suffix
-  * card.barcode
-  * money_summary.balance_owed - current balance
-  * money_summary.total_paid - payments made on outstanding fines/fees
-  * money_summary.total_owed - total of outstanding fines/fees
-  * expire_date
-  * alias - aka Holds Alias
-  * has_email - boolean value to show/hide elements on the receipt
-  * has_phone - same as has_email
+  * patron.prefix
+  * patron.first_given_name
+  * patron.second_given_name
+  * patron.family_name
+  * patron.suffix
+  * patron.pref_prefix
+  * patron.pref_first_given_name
+  * patron.pref_second_given_name
+  * patron.pref_family_name
+  * patron.pref_suffix
+  * patron.card.barcode
+  * patron.money_summary.balance_owed - current balance
+  * patron.money_summary.total_paid - payments made on outstanding fines/fees
+  * patron.money_summary.total_owed - total of outstanding fines/fees
+  * patron.expire_date
+  * patron.alias - aka Holds Alias
+  * patron.has_email - boolean value to show/hide elements on the receipt
+  * patron.has_phone - same as has_email
 
 * circulations - list of loans made during this session. Each
   checkout includes:
index 2661c24..d52380f 100644 (file)
@@ -4,19 +4,19 @@ Fields include:
 
 * patron - has several fields from the patron object, including a financial summary
 
-  * first_given_name
-  * second_given_name
-  * family_name
-  * suffix
-  * pref_ versions of all name fields (e.g. pref_family_name);
-  * card.barcode
-  * money_summary.balance_owed - current balance
-  * money_summary.total_paid - payments made on outstanding fines/fees
-  * money_summary.total_owed - total of outstanding fines/fees
-  * expire_date
-  * alias - aka Holds Alias
-  * has_email - boolean value to show/hide elements on the receipt
-  * has_phone - same as has_email
+  * patron.first_given_name
+  * patron.second_given_name
+  * patron.family_name
+  * patron.suffix
+  * patron.pref_ versions of all name fields (e.g. pref_family_name);
+  * patron.card.barcode
+  * patron.money_summary.balance_owed - current balance
+  * patron.money_summary.total_paid - payments made on outstanding fines/fees
+  * patron.money_summary.total_owed - total of outstanding fines/fees
+  * patron.expire_date
+  * patron.alias - aka Holds Alias
+  * patron.has_email - boolean value to show/hide elements on the receipt
+  * patron.has_phone - same as has_email
 
 * circulations - list of current loans, including for each checkout