<<

NAME

C4::Contract - Koha functions for dealing with bookseller contracts.

SYNOPSIS

use C4::Contract;

DESCRIPTION

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.

GetContracts

$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.

GetContract

$contract = GetContract( { contractnumber => $contractnumber } );

Looks up the contract that has PRIMKEY (contractnumber) value $contractID

Returns a contract

AUTHOR

Koha Development Team <http://koha-community.org/>

<<