From 8f30123a917821ad7c695d3626ed6c866ece423a Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Mon, 7 May 2018 18:14:22 +0000 Subject: [PATCH] Bug 20719: USE Branches in TT files TEST PLAN --------- In the staff client on a kohadevbox: 1) Enable the HouseboundModule system preference. 2) Enable the EnableBorrowerFiles system preference. 3) Go to a patron detail page. -- note the Home library is shown. 4) Go to Fines tab (left pane) -- Home library is still shown. 5) Click each of the four horizontal tabs (Account, Pay fines, Create manual invoice, Create manual credit) -- Home library not visible for both create tabs and the account tab 6) Click the 'Create manual invoice' tab, and create some kind of entry. 7) On the 'Account' tab, the table has a 'Details' button. Click that. -- Home library not visible. 8) Click the 'Details' tab in the left pane. 9) Click 'More' button and choose 'Delete' -- Home library not visible when asked for delete confirmation. 10) Cancel that, and if you know how to actually set up the Norwegian system preferences you can figure out how to test the nl-search change. After seeing all these not visible, apply this patch. Repeat all the steps, but this time the Home library should be visible. --- koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/members/nl-search.tt | 1 + 7 files changed, 7 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt index a1085ed..7e51d67 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt @@ -1,6 +1,7 @@ [%- USE Price -%] [%- USE KohaDates -%] [%- USE AuthorisedValues -%] +[%- USE Branches -%] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › Account for [% INCLUDE 'patron-title.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt index f91f929..dc1ff99 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -4,6 +4,7 @@ [% USE ColumnsSettings %] [% USE AuthorisedValues %] [% USE Price %] +[% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › Account for [% INCLUDE 'patron-title.inc' no_html = 1 %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt index 7db8505..4d39a1b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt @@ -1,5 +1,6 @@ [% USE Asset %] [% USE Price %] +[% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Delete patron [% patron.firstname %] [% patron.surname %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt index f6c4f6c..696760d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt @@ -2,6 +2,7 @@ [% USE Koha %] [% USE KohaDates %] [% USE AuthorisedValues %] +[% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Housebound › Details for [% INCLUDE 'patron-title.inc' no_html = 1 %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt index 0736b7f..857eeb8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt @@ -1,5 +1,6 @@ [% USE Asset %] [% USE Koha %] +[% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › Create manual credit diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt index 01ea093..7aedf44 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt @@ -1,5 +1,6 @@ [% USE Asset %] [% USE Koha %] +[% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › Create manual invoice diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/nl-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/nl-search.tt index 6f7d71a..915515a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/nl-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/nl-search.tt @@ -1,5 +1,6 @@ [% USE Asset %] [% USE KohaDates %] +[% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Search the Norwegian national patron database -- 2.1.4