Lines 47-52
use C4::Biblio;
Link Here
|
47 |
use C4::Items; |
47 |
use C4::Items; |
48 |
use Koha::Acquisition::Currencies; |
48 |
use Koha::Acquisition::Currencies; |
49 |
use Koha::Patron::Images; |
49 |
use Koha::Patron::Images; |
|
|
50 |
use Koha::Patron::Messages; |
50 |
|
51 |
|
51 |
my $query = new CGI; |
52 |
my $query = new CGI; |
52 |
|
53 |
|
Lines 249-254
if ($borrower->{cardnumber}) {
Link Here
|
249 |
noitemlinks => 1 , |
250 |
noitemlinks => 1 , |
250 |
borrowernumber => $borrower->{'borrowernumber'}, |
251 |
borrowernumber => $borrower->{'borrowernumber'}, |
251 |
); |
252 |
); |
|
|
253 |
|
254 |
my $patron_messages = Koha::Patron::Messages->search( |
255 |
{ |
256 |
borrowernumber => $borrower->{'borrowernumber'}, |
257 |
message_type => 'B', |
258 |
} |
259 |
); |
260 |
if ( $patron_messages->count ) { |
261 |
$template->param( bor_messages => 1, |
262 |
patron_messages => $patron_messages, |
263 |
); |
264 |
} |
265 |
|
266 |
if ( $borrower->{'opacnote'} ) { |
267 |
$template->param( |
268 |
bor_messages => 1, |
269 |
opacnote => $borrower->{'opacnote'}, |
270 |
); |
271 |
} |
272 |
|
252 |
my $inputfocus = ($return_only == 1) ? 'returnbook' : |
273 |
my $inputfocus = ($return_only == 1) ? 'returnbook' : |
253 |
($confirm_required == 1) ? 'confirm' : 'barcode' ; |
274 |
($confirm_required == 1) ? 'confirm' : 'barcode' ; |
254 |
$template->param( |
275 |
$template->param( |
255 |
- |
|
|