https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17712

Lari Taskula <lari.task...@jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #60264|0                           |1
        is obsolete|                            |

--- Comment #39 from Lari Taskula <lari.task...@jns.fi> ---
Created attachment 62725
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62725&action=edit
Bug 17712: Item availability for checkout

Usage:
my $issuability = Koha::Availability::Checkout->item({
  item => $item,
  patron => $patron,
  duedate => $duedate      # custom due date
})->in_intranet;
if ($issuability->available) {
  # yes!
} else {
  # not available for checkout. $issuability contains all the reasons for this.
}

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to