[Koha] Circulation function