Bug 18423 Follow-up - Add 'Add child' button to statistics tab
authorNick Clemens <nick@bywatersolutions.com>
Mon, 17 Apr 2017 16:32:56 +0000 (12:32 -0400)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 10 May 2017 09:40:19 +0000 (11:40 +0200)
Signed-off-by: Marc VĂ©ron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 63c72da9483f26d88c1b287b93105cea7d6cdf89)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

members/statistics.pl

index e875cef..fd754c0 100755 (executable)
@@ -98,6 +98,8 @@ $template->param( picture => 1 ) if $picture;
 
 $template->param(%$borrower);
 
+$template->param( adultborrower => 1 ) if ( $borrower->{category_type} eq 'A' );
+
 $template->param(
     statisticsview     => 1,
     datas              => $datas,