Bug 23964: ReservesNeedReturn should only apply to available items
[koha.git] / Koha / Acquisition / Baskets.pm
blob3dc041401e4684d0d009305406a77761afebf59e
1 package Koha::Acquisition::Baskets;
3 # Copyright 2017 Aleisha Amohia <aleisha@catalyst.net.nz>
5 # This file is part of Koha.
7 # Koha is free software; you can redistribute it and/or modify it under the
8 # terms of the GNU General Public License as published by the Free Software
9 # Foundation; either version 3 of the License, or (at your option) any later
10 # version.
12 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
13 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License along
17 # with Koha; if not, write to the Free Software Foundation, Inc.,
18 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 use Modern::Perl;
22 use Koha::Database;
23 use Koha::Acquisition::Basket;
25 use base qw( Koha::Objects Koha::Objects::Mixin::AdditionalFields );
27 =head1 NAME
29 Koha::Acquisition::Baskets - Koha Baskets object set class
31 =head1 API
33 =head2 Internal methods
35 =head3 _type
37 =cut
39 sub _type {
40 return 'Aqbasket';
43 =head3 object_class
45 =cut
47 sub object_class {
48 return 'Koha::Acquisition::Basket';
51 =head1 AUTHOR
53 Aleisha Amohia <aleisha@catalyst.net.nz>
54 Catalyst IT
56 =cut