|
Lines 320-326
if ($barcode) {
Link Here
|
| 320 |
my $biblio = $item->biblio; |
320 |
my $biblio = $item->biblio; |
| 321 |
$template->param( |
321 |
$template->param( |
| 322 |
title => $biblio->title, |
322 |
title => $biblio->title, |
| 323 |
returnbranch => $returnbranch, |
|
|
| 324 |
author => $biblio->author, |
323 |
author => $biblio->author, |
| 325 |
itembiblionumber => $biblio->biblionumber, |
324 |
itembiblionumber => $biblio->biblionumber, |
| 326 |
biblionumber => $biblio->biblionumber, |
325 |
biblionumber => $biblio->biblionumber, |
|
Lines 430-435
if ($barcode) {
Link Here
|
| 430 |
); |
429 |
); |
| 431 |
} |
430 |
} |
| 432 |
|
431 |
|
|
|
432 |
$returnbranch = $messages->{NeedsTransfer} if $messages->{NeedsTransfer}; |
| 433 |
|
| 433 |
# Mark missing bundle items as lost and report unexpected items |
434 |
# Mark missing bundle items as lost and report unexpected items |
| 434 |
if ( $item && $item->is_bundle && $query->param('confirm_items_bundle_return') && !$query->param('do_not_verify_items_bundle_contents') ) { |
435 |
if ( $item && $item->is_bundle && $query->param('confirm_items_bundle_return') && !$query->param('do_not_verify_items_bundle_contents') ) { |
| 435 |
my $BundleLostValue = C4::Context->preference('BundleLostValue'); |
436 |
my $BundleLostValue = C4::Context->preference('BundleLostValue'); |
|
Lines 517-522
my $recalled = 0;
Link Here
|
| 517 |
# new op dev : we check if the document must be returned to his homebranch directly, |
518 |
# new op dev : we check if the document must be returned to his homebranch directly, |
| 518 |
# if the document is transferred, we have warning message . |
519 |
# if the document is transferred, we have warning message . |
| 519 |
|
520 |
|
|
|
521 |
if ( $messages->{'LibraryFloatLimitTransferRequest'} ) { |
| 522 |
$template->param( |
| 523 |
LibraryFloatLimitTransferRequest => 1, |
| 524 |
itemnumber => $itemnumber, |
| 525 |
); |
| 526 |
} |
| 527 |
|
| 520 |
if ( $messages->{'WasTransfered'} ) { |
528 |
if ( $messages->{'WasTransfered'} ) { |
| 521 |
$template->param( |
529 |
$template->param( |
| 522 |
found => 1, |
530 |
found => 1, |
|
Lines 744-749
foreach my $code ( keys %$messages ) {
Link Here
|
| 744 |
; |
752 |
; |
| 745 |
} elsif ( $code eq 'TransferredRecall' ) { |
753 |
} elsif ( $code eq 'TransferredRecall' ) { |
| 746 |
; |
754 |
; |
|
|
755 |
} elsif ( $code eq 'LibraryFloatLimitTransferRequest' ) { |
| 756 |
; |
| 747 |
} elsif ( $code eq 'InBundle' ) { |
757 |
} elsif ( $code eq 'InBundle' ) { |
| 748 |
$template->param( InBundle => $messages->{InBundle} ); |
758 |
$template->param( InBundle => $messages->{InBundle} ); |
| 749 |
} else { |
759 |
} else { |
|
Lines 824-837
foreach ( sort { $a <=> $b } keys %returneditems ) {
Link Here
|
| 824 |
} |
834 |
} |
| 825 |
|
835 |
|
| 826 |
$template->param( |
836 |
$template->param( |
| 827 |
riloop => \@riloop, |
837 |
riloop => \@riloop, |
| 828 |
errmsgloop => \@errmsgloop, |
838 |
errmsgloop => \@errmsgloop, |
| 829 |
exemptfine => $exemptfine, |
839 |
exemptfine => $exemptfine, |
| 830 |
dropboxmode => $dropboxmode, |
840 |
dropboxmode => $dropboxmode, |
| 831 |
dropboxdate => $dropboxdate, |
841 |
dropboxdate => $dropboxdate, |
| 832 |
forgivemanualholdsexpire => $forgivemanualholdsexpire, |
842 |
forgivemanualholdsexpire => $forgivemanualholdsexpire, |
| 833 |
overduecharges => $overduecharges, |
843 |
overduecharges => $overduecharges, |
| 834 |
AudioAlerts => C4::Context->preference("AudioAlerts"), |
844 |
AudioAlerts => C4::Context->preference("AudioAlerts"), |
| 835 |
); |
845 |
); |
| 836 |
|
846 |
|
| 837 |
if ( $barcode ) { |
847 |
if ( $barcode ) { |
|
Lines 852-858
if ( $barcode ) {
Link Here
|
| 852 |
} |
862 |
} |
| 853 |
} |
863 |
} |
| 854 |
|
864 |
|
| 855 |
$template->param( itemnumber => $itemnumber ); |
865 |
$template->param( |
|
|
866 |
itemnumber => $itemnumber, |
| 867 |
returnbranch => $returnbranch, |
| 868 |
); |
| 856 |
|
869 |
|
| 857 |
# Checking if there is a Fast Cataloging Framework |
870 |
# Checking if there is a Fast Cataloging Framework |
| 858 |
$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( 'FA' ); |
871 |
$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( 'FA' ); |