[Koha-bugs] [Bug 5670] Housebound Readers Module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 25 16:05:45 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5670

--- Comment #24 from Alex Sassmannshausen <alex.sassmannshausen at ptfs-europe.com> ---
New module to handle management of circulation to Housebound readers.

- Ability to record users as housebound (HB category), volunteers
  (combined deliverers and choosers, VOL category), deliverers (DELIV
  category) choosers (CHO category).
- Ability to link users to individual delivery runs.
- Ability to check on issuing to housebound users flagging
  if title has previously been issued to this user, to aid choosers.
- 'Delivery Days' and 'Delivery Frequencies' are customizable through
  authorised values ('Day' and 'Frequency' categories respectively.

Sponsored by Halton Borough Council

* C4/Auth.pm: Add check: useHouseboundModule.
* C4/Circulation.pm: use Housebound to check for previous issue.
* koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc: add
  Housebound menu if appropriate.
* koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt: add
  'previous checkout' warning.
* C4/Housebound.pm: new.
* koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt: new.
* koha-tmpl/intranet-tmpl/prog/en/modules/members/houseboundedit.tt: new.
* koha-tmpl/intranet-tmpl/prog/en/modules/members/houseboundinstances.tt: new.
* members/housebound.pl: new.
* members/houseboundedit.pl: new.
* members/houseboundinstances.pl: new.
* installer/data/mysql/atomicupdate/housebound_tables.sql: new.
  - create 'housebound', 'housebound_instance' tables,
  - create 'HB', 'VOL', 'DELIV', 'CHO' borrower categories,
  - create sample 'Day', 'Frequency' authorised values,
  - add 'useHouseboundModule', 'useHouseboundCheckPrevious' syspref.
* t/Housebound.t: new.

Test plan:
- Apply patch.
- Run atomic update script.
- Optionally, run Unit Tests (t/Housebound.t)
- Create at least 1 of each: 'HB', 'VOL', 'DELIV', 'CHO' borrower.
- Optionally, add additional authorised values of 'Day' and
  'Frequency' categories.
- Verify 'useHouseboundModule' & 'useHouseboundCheckPrevious' sysprefs
  are on.
- On the page of the 'HB' borrower, open the new 'Housebound' menu.
  - create housebound profile
    + ensure Day and Frequency values are from correct authorised
      values
  - create 'housebound instances' (deliveries)
    + ensure chooser/deliverer lists are populated with VOL, DELIV,
      CHO borrowers
  - edit the profile/instances.
  - delete the profile/instances.
- For a borrower with a housebound profile, issue an item, then
  - return that item
  - attempt to re-issue that item (you should get a warning)
- Switch off 'useHouseboundCheckPrevious', repeat last test
  - the warning should not appear
- Switch off 'useHouseboundModule'
  - the Housebound menu should disappear
  - the issue warnings should no longer appear.

Largely based on prior work from Mark Gavillet and Colin Campbell.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list