<<

FUNCTIONS ABOUT BUDGETS

GetBudget

&GetBudget($budget_id);

get a specific budget

GetBudgets

&GetBudgets($filter, $order_by);

gets all budgets

GetChildBudgetsSpent

&GetChildBudgetsSpent($budget-id);

gets the total spent of the level and sublevels of $budget_id

GetCurrencies

@currencies = &GetCurrencies;

Returns the list of all known currencies.

$currencies is a array; its elements are references-to-hash, whose keys are the fields from the currency table in the Koha database.

ModCurrencies

&ModCurrencies($currency, $newrate);

Sets the exchange rate for $currency to be $newrate.

ConvertCurrency

$foreignprice = &ConvertCurrency($currency, $localprice);

Converts the price $localprice to foreign currency $currency by dividing by the exchange rate, and returns the result.

If no exchange rate is found,e is one to one.

_columns

        returns an array containing fieldname followed by PRI as value if PRIMARY Key

AUTHOR

Koha Developement team <info@koha.org>

<<