From 010eca09b936c1b774954d7f27122f6e1a70532b Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 14 Mar 2018 10:33:27 -0400 Subject: [PATCH] LP#1693036: follow-up: fix printing of daytime phone number This patch corrects how the 'day_phone' field should be referred to in the print template. Signed-off-by: Galen Charlton Signed-off-by: Remington Steed Signed-off-by: Dan Wells --- Open-ILS/src/templates/staff/share/print_templates/t_patron_data.tt2 | 4 ++-- Open-ILS/web/js/ui/default/staff/admin/workstation/app.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/templates/staff/share/print_templates/t_patron_data.tt2 b/Open-ILS/src/templates/staff/share/print_templates/t_patron_data.tt2 index 052fdcc907..6c84270e69 100644 --- a/Open-ILS/src/templates/staff/share/print_templates/t_patron_data.tt2 +++ b/Open-ILS/src/templates/staff/share/print_templates/t_patron_data.tt2 @@ -23,7 +23,7 @@ Template for printing a patron's data, including addesses and statistical catego
Primary Identification: {{patron.ident_value}}
Secondary Identification: {{patron.ident_value2}}
Email Address: {{patron.email}}
-
Daytime Phone: {{patron.daytime_phone}}
+
Daytime Phone: {{patron.day_phone}}
Evening Phone: {{patron.evening_phone}}
Other Phone: {{patron.other_phone}}
Home Library: {{patron.home_ou.name()}}
@@ -66,4 +66,4 @@ Template for printing a patron's data, including addesses and statistical catego
{{entry.stat_cat.name}} : {{entry.stat_cat_entry}}
=-=-=-=
- \ No newline at end of file + diff --git a/Open-ILS/web/js/ui/default/staff/admin/workstation/app.js b/Open-ILS/web/js/ui/default/staff/admin/workstation/app.js index 45294e5748..ecafa85e0e 100644 --- a/Open-ILS/web/js/ui/default/staff/admin/workstation/app.js +++ b/Open-ILS/web/js/ui/default/staff/admin/workstation/app.js @@ -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', -- 2.11.0