my $budget_name = &GetBudgetName($budget_id);
get the budget_name for a given budget_id
&GetBudget($budget_id);
get a specific budget
&GetBudgetByOrderNumber($ordernumber);
get a specific budget by order number
my $budget = &GetBudgetByCode($budget_code);
Retrieve all aqbudgets fields as a hashref for the budget that has given budget_code
&GetChildBudgetsSpent($budget-id);
gets the total spent of the level and sublevels of $budget_id
&GetBudgets($filter, $order_by);
gets all budgets
my @borrowernumbers = &GetBudgetUsers($budget_id);
Return the list of borrowernumbers linked to a budget
&ModBudgetUsers($budget_id, @borrowernumbers);
Modify the list of borrowernumbers linked to a budget
@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.
Koha Development Team <http://koha-community.org/>