Lines 331-337
if ($barcode && $op eq 'cud-checkin') {
Link Here
|
331 |
my $biblio = $item->biblio; |
331 |
my $biblio = $item->biblio; |
332 |
$template->param( |
332 |
$template->param( |
333 |
title => $biblio->title, |
333 |
title => $biblio->title, |
334 |
returnbranch => $returnbranch, |
|
|
335 |
author => $biblio->author, |
334 |
author => $biblio->author, |
336 |
itembiblionumber => $biblio->biblionumber, |
335 |
itembiblionumber => $biblio->biblionumber, |
337 |
biblionumber => $biblio->biblionumber, |
336 |
biblionumber => $biblio->biblionumber, |
Lines 451-456
if ($barcode && $op eq 'cud-checkin') {
Link Here
|
451 |
); |
450 |
); |
452 |
} |
451 |
} |
453 |
|
452 |
|
|
|
453 |
$returnbranch = $messages->{NeedsTransfer} if $messages->{NeedsTransfer}; |
454 |
|
454 |
# Mark missing bundle items as lost and report unexpected items |
455 |
# Mark missing bundle items as lost and report unexpected items |
455 |
if ( $item && $item->is_bundle && $query->param('confirm_items_bundle_return') && !$query->param('do_not_verify_items_bundle_contents') ) { |
456 |
if ( $item && $item->is_bundle && $query->param('confirm_items_bundle_return') && !$query->param('do_not_verify_items_bundle_contents') ) { |
456 |
my $BundleLostValue = C4::Context->preference('BundleLostValue'); |
457 |
my $BundleLostValue = C4::Context->preference('BundleLostValue'); |
Lines 538-543
my $recalled = 0;
Link Here
|
538 |
# new op dev : we check if the document must be returned to his homebranch directly, |
539 |
# new op dev : we check if the document must be returned to his homebranch directly, |
539 |
# if the document is transferred, we have warning message . |
540 |
# if the document is transferred, we have warning message . |
540 |
|
541 |
|
|
|
542 |
if ( $messages->{'LibraryFloatLimitTransferRequest'} ) { |
543 |
$template->param( |
544 |
LibraryFloatLimitTransferRequest => 1, |
545 |
itemnumber => $itemnumber, |
546 |
); |
547 |
} |
548 |
|
541 |
if ( $messages->{'WasTransfered'} ) { |
549 |
if ( $messages->{'WasTransfered'} ) { |
542 |
$template->param( |
550 |
$template->param( |
543 |
found => 1, |
551 |
found => 1, |
Lines 771-776
foreach my $code ( keys %$messages ) {
Link Here
|
771 |
; |
779 |
; |
772 |
} elsif ( $code eq 'TransferredRecall' ) { |
780 |
} elsif ( $code eq 'TransferredRecall' ) { |
773 |
; |
781 |
; |
|
|
782 |
} elsif ( $code eq 'LibraryFloatLimitTransferRequest' ) { |
783 |
; |
774 |
} elsif ( $code eq 'InBundle' ) { |
784 |
} elsif ( $code eq 'InBundle' ) { |
775 |
$template->param( InBundle => $messages->{InBundle} ); |
785 |
$template->param( InBundle => $messages->{InBundle} ); |
776 |
} else { |
786 |
} else { |
Lines 854-867
foreach ( sort { $a <=> $b } keys %returneditems ) {
Link Here
|
854 |
} |
864 |
} |
855 |
|
865 |
|
856 |
$template->param( |
866 |
$template->param( |
857 |
riloop => \@riloop, |
867 |
riloop => \@riloop, |
858 |
errmsgloop => \@errmsgloop, |
868 |
errmsgloop => \@errmsgloop, |
859 |
exemptfine => $exemptfine, |
869 |
exemptfine => $exemptfine, |
860 |
dropboxmode => $dropboxmode, |
870 |
dropboxmode => $dropboxmode, |
861 |
dropboxdate => $dropboxdate, |
871 |
dropboxdate => $dropboxdate, |
862 |
forgivemanualholdsexpire => $forgivemanualholdsexpire, |
872 |
forgivemanualholdsexpire => $forgivemanualholdsexpire, |
863 |
overduecharges => $overduecharges, |
873 |
overduecharges => $overduecharges, |
864 |
AudioAlerts => C4::Context->preference("AudioAlerts"), |
874 |
AudioAlerts => C4::Context->preference("AudioAlerts"), |
865 |
); |
875 |
); |
866 |
|
876 |
|
867 |
if ( $barcode ) { |
877 |
if ( $barcode ) { |
Lines 882-888
if ( $barcode ) {
Link Here
|
882 |
} |
892 |
} |
883 |
} |
893 |
} |
884 |
|
894 |
|
885 |
$template->param( itemnumber => $itemnumber ); |
895 |
$template->param( |
|
|
896 |
itemnumber => $itemnumber, |
897 |
returnbranch => $returnbranch, |
898 |
); |
886 |
|
899 |
|
887 |
# Checking if there is a Fast Cataloging Framework |
900 |
# Checking if there is a Fast Cataloging Framework |
888 |
$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( 'FA' ); |
901 |
$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( 'FA' ); |