diff --git a/circ/returns.pl b/circ/returns.pl index 97b2353490..24fac809f0 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -647,6 +647,8 @@ if ( $messages->{'ResFound'} ) { reservenotes => $reserve->{'reservenotes'}, reserve_id => $reserve->{reserve_id}, bormessagepref => $holdmsgpreferences->{'transports'}, + C4::Context->preference('DisplayAddHoldGroups') + && $reserve->{hold_group_id} ? ( hold_group_id => $reserve->{hold_group_id} ) : (), ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index b979ab57b1..5ef3bac2c5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -969,6 +969,12 @@ [% t('Checked in at') | html %]: [% Branches.GetName( Branches.GetLoggedInBranchcode ) | html %] + + [% IF ( hold_group_id ) %] +
+ [% t('Part of a hold group') | html %]: + View patron's holds + [% END %]

[% PROCESS passthrough_data %]