&GetBudget($budget_id);
get a specific budget
&GetChildBudgetsSpent($budget-id);
gets the total spent of the level and sublevels of $budget_id
&GetBudgets($filter, $order_by);
gets all budgets
@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($currency, $newrate);
Sets the exchange rate for $currency
to be $newrate
.
$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.
returns an array containing fieldname followed by PRI as value if PRIMARY Key
Koha Development Team <http://koha-community.org/>