diff --git a/circ/returns.pl b/circ/returns.pl index 35c3367ea4..e037841d8a 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -646,6 +646,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 56d2fbfd4c..88097cec34 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -967,6 +967,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 %]