LP#1693036: follow-up: fix printing of daytime phone number
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 14 Mar 2018 14:33:27 +0000 (10:33 -0400)
committerDan Wells <dbw2@calvin.edu>
Fri, 23 Mar 2018 17:47:48 +0000 (13:47 -0400)
This patch corrects how the 'day_phone' field should be referred
to in the print template.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/staff/share/print_templates/t_patron_data.tt2
Open-ILS/web/js/ui/default/staff/admin/workstation/app.js

index 052fdcc..6c84270 100644 (file)
@@ -23,7 +23,7 @@ Template for printing a patron's data, including addesses and statistical catego
   <div>Primary Identification: {{patron.ident_value}}</div>
   <div>Secondary Identification: {{patron.ident_value2}}</div>
   <div>Email Address: {{patron.email}}</div>
-  <div>Daytime Phone: {{patron.daytime_phone}}</div>
+  <div>Daytime Phone: {{patron.day_phone}}</div>
   <div>Evening Phone: {{patron.evening_phone}}</div>
   <div>Other Phone: {{patron.other_phone}}</div>
   <div>Home Library: {{patron.home_ou.name()}}</div>
@@ -66,4 +66,4 @@ Template for printing a patron's data, including addesses and statistical catego
     <div ng-repeat="entry in patron.stat_cat_entries">{{entry.stat_cat.name}} : {{entry.stat_cat_entry}}</div>
     <div>=-=-=-=</div>
   </div>
-</div>
\ No newline at end of file
+</div>
index 45294e5..ecafa85 100644 (file)
@@ -375,7 +375,7 @@ function($scope , $q , egCore , ngToast) {
         dob : '1984-11-07T00:00:00-8:00',
         juvenile : 'f',
         usrname : '30393830393',
-        daytime_phone : '111-222-3333',
+        day_phone : '111-222-3333',
         evening_phone : '222-333-1111',
         other_phone : '333-111-2222',
         email : 'user@example.com',