<<

NAME

Koha::Util::StockRotation - utility class with routines for Stock Rotation

FUNCTIONS

get_branches

    returns all branches ordered by branchname as an array, each element
    contains a hashref containing branch details

get_stages

    returns an arrayref of StockRotationStage objects representing
    all stages for a passed rota

toggle_indemand

    given an item's ID & stage ID toggle that item's in_demand
    status on that stage

move_to_next_stage

    given an item's ID and stage ID, move it
    to the next stage on the rota

remove_from_stage

    given an item's ID & stage ID, remove that item from that stage

get_barcodes_status

    take an arrayref of barcodes and a status hashref and populate it

add_items_to_rota

    take an arrayref of Koha::Item objects and add them to the passed rota

AUTHOR

Andrew Isherwood <andrew.isherwood@ptfs-europe.com>

<<