Bug 14324: Display "Add Child" for Organisations on circ/circulation.pl
On moremember, the button is displayed for Organisations. To be consistent, it should be displayed on the circulation page too. Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> Signed-off-by: Mason James <mtj@kohaaloha.com>
This commit is contained in:
parent
1812e6ab09
commit
7c6c4e3ddf
|
|
@ -387,8 +387,8 @@ if ($borrowernumber) {
|
|||
}
|
||||
}
|
||||
$template->param( WaitingReserveLoop => \@WaitingReserveLoop );
|
||||
$template->param( adultborrower => 1 )
|
||||
if ( $borrower->{'category_type'} eq 'A' );
|
||||
|
||||
$template->param( adultborrower => 1 ) if ( $borrower->{category_type} eq 'A' || $borrower->{category_type} eq 'I' );
|
||||
}
|
||||
|
||||
my @values;
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@ else {
|
|||
}
|
||||
}
|
||||
|
||||
( $template->param( adultborrower => 1 ) ) if ( $category_type eq 'A' || $category_type eq 'I' );
|
||||
$template->param( adultborrower => 1 ) if ( $category_type eq 'A' || $category_type eq 'I' );
|
||||
|
||||
my %bor;
|
||||
$bor{'borrowernumber'} = $borrowernumber;
|
||||
|
|
|
|||
Loading…
Reference in New Issue