@@ -, +, @@ - checking out an item that is marked lost performs all usual lost operations - checking out an item that is marked lost prompts for confirmation --- C4/Circulation.pm | 5 ++++- .../prog/en/modules/circ/circulation.tt | 5 +++++ 2 files changed, 9 insertions(+), 1 deletions(-) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -36,7 +36,7 @@ use C4::Message; use C4::Debug; use C4::Branch; # GetBranches use C4::Log; # logaction - +use C4::Koha qw(GetAuthorisedValueByCode); use Data::Dumper; use Koha::DateUtils; use Koha::Calendar; @@ -848,6 +848,9 @@ sub CanBookBeIssued { { $issuingimpossible{RESTRICTED} = 1; } + if ( $item->{'itemlost'} ) { + $needsconfirmation{ITEM_LOST} = GetAuthorisedValueByCode( 'LOST', $item->{'itemlost'} ); + } if ( C4::Context->preference("IndependantBranches") ) { my $userenv = C4::Context->userenv; if ( ($userenv) && ( $userenv->{flags} % 2 != 1 ) ) { --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -275,9 +275,14 @@ function refocus(calendar) { [% IF ( NOT_FOR_LOAN_FORCING ) %]
  • Item is normally not for loan. Check out anyway?
  • [% END %] + [% IF ( USERBLOCKEDOVERDUE ) %]
  • Patron has [% USERBLOCKEDOVERDUE %] overdue item(s). Check out anyway?
  • [% END %] + +[% IF ( ITEM_LOST ) %] +
  • This item has been lost with a status of "[% ITEM_LOST %]". Check out anyway?
  • +[% END %]
    --