From 010eca09b936c1b774954d7f27122f6e1a70532b Mon Sep 17 00:00:00 2001 From: Galen Charlton <gmc@equinoxinitiative.org> 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 <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 | 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 <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> 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