From d1012c2d5666249e32bfad42e0b38a6859b66b53 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 1 May 2018 15:49:01 +0000 Subject: [PATCH] Bug 14570 [QA Followup] - Show add guarantor pane for correct patron types, fix "Add child" button --- koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc | 2 +- members/memberentry.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc index c8b8ecdb7f..1891a12626 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -13,7 +13,7 @@ [% IF CAN_user_borrowers_edit_borrowers %] [% IF patron.is_adult AND Koha.Preference("borrowerRelationship") %] - Add child + Add child [% END %] Change password diff --git a/members/memberentry.pl b/members/memberentry.pl index f977fe87ee..0b5c531927 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -744,7 +744,7 @@ if (C4::Context->preference('EnhancedMessagingPreferences')) { $template->param(TalkingTechItivaPhone => C4::Context->preference("TalkingTechItivaPhoneNotification")); } -$template->param( "show_guarantor" => ( $category_type =~ /A|I|S|X/ ) ? 1 : 0 ); # associate with step to know where you are +$template->param( "show_guarantor" => ( $category_type =~ /A|I|S|X/ ) ? 0 : 1 ); # associate with step to know where you are $debug and warn "memberentry step: $step"; $template->param(%data); $template->param( "step_$step" => 1) if $step; # associate with step to know where u are -- 2.15.1 (Apple Git-101)