Lines 70-76
for ( C4::Context->preference("OPACShowHoldQueueDetails") ) {
Link Here
|
70 |
m/priority/ and $show_priority = 1; |
70 |
m/priority/ and $show_priority = 1; |
71 |
} |
71 |
} |
72 |
|
72 |
|
73 |
my $patron = Koha::Patrons->find( $borrowernumber ); |
73 |
my $patron = Koha::Patrons->find( $borrowernumber, { prefetch => ['categorycode'] } ); |
74 |
my $category = $patron->category; |
74 |
my $category = $patron->category; |
75 |
# no OpacHiddenItems rules used if category is excepted |
75 |
# no OpacHiddenItems rules used if category is excepted |
76 |
my $item_hide_rules = |
76 |
my $item_hide_rules = |
Lines 88-94
unless ( $can_place_hold_if_available_at_pickup ) {
Link Here
|
88 |
} |
88 |
} |
89 |
|
89 |
|
90 |
# check if this user can place a reserve, -1 means use sys pref, 0 means dont block, 1 means block |
90 |
# check if this user can place a reserve, -1 means use sys pref, 0 means dont block, 1 means block |
91 |
if ( $patron->category->effective_BlockExpiredPatronOpacActions ) { |
91 |
if ( $category->effective_BlockExpiredPatronOpacActions ) { |
92 |
|
92 |
|
93 |
if ( $patron->is_expired ) { |
93 |
if ( $patron->is_expired ) { |
94 |
|
94 |
|
Lines 100-106
if ( $patron->category->effective_BlockExpiredPatronOpacActions ) {
Link Here
|
100 |
} |
100 |
} |
101 |
|
101 |
|
102 |
# Pass through any reserve charge |
102 |
# Pass through any reserve charge |
103 |
my $reservefee = $patron->category->reservefee; |
103 |
my $reservefee = $category->reservefee; |
104 |
if ( $reservefee > 0){ |
104 |
if ( $reservefee > 0){ |
105 |
$template->param( RESERVE_CHARGE => $reservefee); |
105 |
$template->param( RESERVE_CHARGE => $reservefee); |
106 |
} |
106 |
} |
107 |
- |
|
|