@@ -, +, @@ day before the next step) Note that you are displayed with the new message 'The item is booked for another patron' and you are unable to check the item out. --- C4/Circulation.pm | 15 ++++++++------- .../prog/en/modules/circ/circulation.tt | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -1248,17 +1248,18 @@ sub CanBookBeIssued { } else { $alerts{'BOOKED'} = $booking; } + } - } else { - - # Loan falls inside booking - if ( $now > $booking_start ) { - $issuingimpossible{'BOOKED_TO_ANOTHER'} = $booking; + # Booked to another patron + else { + # Booking starts before due date, reduce loan? + if ( $now < $booking_start && $duedate > $booking_start ) { + $needsconfirmation{'BOOKED_TO_ANOTHER'} = $booking; } - # Booking starts before due date, reduce loan? + # Loan falls inside booking else { - $needsconfirmation{'BOOKED_TO_ANOTHER'} = $booking; + $issuingimpossible{'BOOKED_TO_ANOTHER'} = $booking; } } } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -612,7 +612,7 @@ [% END %] [% IF ( BOOKED_TO_ANOTHER ) %] -
  • !!A booking exists!!
  • +
  • The item is booked for another patron
  • [% END %] --