3 # Copyright 2009-2010 BibLibre SARL
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 2 of the License, or (at your option) any later
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.
21 #use warnings; FIXME - Bug 2505
22 use C4
::SQLHelper
qw(:all);
24 use vars
qw($VERSION @ISA @EXPORT);
27 # set the version for version checking
28 $VERSION = 3.07.00.049;
41 C4::Contract - Koha functions for dealing with bookseller contracts.
49 The functions in this module deal with contracts. They allow to
50 add a new contract, to modify it or to get some informations around
53 This module is just a wrapper for C4::SQLHelper functions, so take a look at
54 SQLHelper centralised documentation to know how to use the following subs.
58 sub GetContract
{ SearchInTable
("aqcontract", shift); }
60 sub AddContract
{ InsertInTable
("aqcontract", shift); }
62 sub ModContract
{ UpdateInTable
("aqcontract", shift); }
64 sub DelContract
{ DeleteInTable
("aqcontract", shift); }
72 Koha Development Team <http://koha-community.org/>