Lines 308-323
my $patron_messages = Koha::Patron::Messages->search(
Link Here
|
308 |
message_type => 'B', |
308 |
message_type => 'B', |
309 |
} |
309 |
} |
310 |
); |
310 |
); |
311 |
if ( $patron_messages->count ) { |
|
|
312 |
$template->param( bor_messages => 1 ); |
313 |
} |
314 |
|
315 |
if ( $borr->{'opacnote'} ) { |
316 |
$template->param( |
317 |
bor_messages => 1, |
318 |
opacnote => $borr->{'opacnote'}, |
319 |
); |
320 |
} |
321 |
|
311 |
|
322 |
if ( C4::Context->preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') |
312 |
if ( C4::Context->preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') |
323 |
|| C4::Context->preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') ) |
313 |
|| C4::Context->preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') ) |
Lines 336-341
if ( C4::Context->preference('AllowPatronToSetCheckoutsVisibilityForGuarantor'
Link Here
|
336 |
$template->param( |
326 |
$template->param( |
337 |
borrower => $borr, |
327 |
borrower => $borr, |
338 |
patron_messages => $patron_messages, |
328 |
patron_messages => $patron_messages, |
|
|
329 |
opacnote => $borr->{opacnote}, |
339 |
patronupdate => $patronupdate, |
330 |
patronupdate => $patronupdate, |
340 |
OpacRenewalAllowed => C4::Context->preference("OpacRenewalAllowed"), |
331 |
OpacRenewalAllowed => C4::Context->preference("OpacRenewalAllowed"), |
341 |
userview => 1, |
332 |
userview => 1, |