if ( $recalls->count ) {
# recalls take priority over holds
$status = 'Waiting';
$status = 'other';
$substatus = 'Recall waiting';
}
elsif ( $item->has_pending_hold ) {
elsif ( $item->holds->waiting->count ) {
$substatus = 'Waiting';
$substatus = 'Hold waiting';
elsif ($item->get_transfer) {
use Modern::Perl;
use Koha::Database;
use Koha::DateUtils;
use Koha::DateUtils qw( dt_from_string );
use Koha::Patron;
use Koha::Biblio;
use Koha::Item;
use Koha::Recall;
use C4::Stats qw( UpdateStats );
-
- pref: UseRecalls
choices:
yes: Use
1: Use
no: "Don't use"
0: "Don't use"
- recalls. Make sure you configure <a href="/cgi-bin/koha/admin/smart-rules.pl">circulation and fines rules</a> for recalls once enabled.
- pref: RecallsLog
on: Log
1: Log
off: "Don't log"
0: "Don't log"
- any actions on recalls (create, cancel, expire, fulfill).
Debugging: