C4::Contract - Koha functions for dealing with bookseller contracts.
use C4::Contract;
The functions in this module deal with contracts. They allow to add a new contract, to modify it or to get some informations around a contract.
$contractlist = GetContracts({ booksellerid => $booksellerid, activeonly => $activeonly });
Looks up the contracts that belong to a bookseller
Returns a list of contracts
$booksellerid
is the "id" field in the "aqbooksellers" table.$activeonly
if exists get only contracts that are still active.$contract = GetContract( { contractnumber => $contractnumber } );
Looks up the contract that has PRIMKEY (contractnumber) value $contractID
Returns a contract
Koha Development Team <http://koha-community.org/>