afb81e6c0f
New module to handle management of circulation to Housebound readers. - Ability to create housebound profiles & scheduled visits for patrons. - Ability to record users as Deliverers or Choosers (or both), using extended patron attributes. - Ability to link choosers and deliverers to individual delivery runs. - 'Delivery Frequencies' are customizable through authorised values ('HSBND_FREQ'). * koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc: add Housebound menu if appropriate. * Koha/Patron.pm (housebound_profile): New method. * Koha/Patrons.pm (housebound_choosers, housebound_deliverers): New methods. * Koha/Patron/HouseboundProfile.pm: New File. * Koha/Patron/HouseboundProfiles.pm: New File. * Koha/Patron/HouseboundVisits.pm: New File. * Koha/Patron/HouseboundVisit.pm: New File. * koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt: New file. * members/housebound.pl: New file. * installer/data/mysql/kohastructure.sql: Add housebound_* tables. * installer/data/mysql/sysprefs.sql: Add HouseboundModule syspref. * koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref: Add HouseboundModule syspref. * installer/data/mysql/atomicupdate/housebound_tables.sql: New file. * t/db_dependent/Patron/Borrower_Housebound.t: New file. * t/db_dependent/Patron/Borrower_HouseboundProfiles.t: New file. * t/db_dependent/Patron/Borrower_HouseboundVisits.t: New file. Test plan: - Apply patch. - Run atomic update script. - Run Unit Tests (t/db_dependent/Patron/Housebound*) - Optionally, add additional authorised values to 'HSBND_FREQ'. - Switch on 'HouseboundModule' syspref. - Ensure 'ExtendedPatronAttributes syspref is on. - On patron pages, when editing, add some to the Housebound deliverer and chooser groups. - On a patron page, the Housebound menu should now be present. - create housebound profile + ensure Frequency values seem pulled from 'HSBND_FREQ'. - create 'housebound visits' (deliveries) + ensure chooser/deliverer lists are populated with patrons that have the Chooser or Deliverer Attribute type. - edit visits. - delete visits. - Switch off 'HouseboundModule' - the Housebound menu should disappear Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Claire Gravely <claire_gravely@hotmail.com> Bug 5670: [Followup] Rename test files. * t/db_dependent/Patron/Borrower_Housebound.t: Rename to t/db_dependent/Patron/Housebound.t. * t/db_dependent/Patron/Borrower_HouseboundProfiles.t: Rename to t/db_dependent/Patron/HouseboundProfiles.t. * t/db_dependent/Patron/Borrower_HouseboundVisits.t: Rename to t/db_dependent/Patron/HouseboundVisits.t. Signed-off-by: Claire Gravely <claire_gravely@hotmail.com> Bug 5670: [QA Followup] Fix category_type ref. * koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt: Replace references to `category_type` with `categorycode`. Signed-off-by: Claire Gravely <claire_gravely@hotmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> |
||
---|---|---|
.. | ||
catalogue | ||
csv_headers | ||
virtualshelves/merge | ||
acquisitions-add-to-basket.inc | ||
acquisitions-menu.inc | ||
acquisitions-search.inc | ||
acquisitions-toolbar.inc | ||
additem.js.inc | ||
admin-items-search-field-form.inc | ||
admin-menu.inc | ||
adv-search.inc | ||
auth-finder-search.inc | ||
authorities-search-results.inc | ||
authorities-search.inc | ||
authorities-toolbar.inc | ||
authorities.inc | ||
authorities_js.inc | ||
av-build-dropbox.inc | ||
biblio-default-view.inc | ||
biblio-view-menu.inc | ||
blocked-fines.inc | ||
borrower_debarments.inc | ||
branch-selector.inc | ||
browser-strings.inc | ||
budgets-active-currency.inc | ||
budgets-admin-search.inc | ||
budgets-admin-toolbar.inc | ||
calendar.inc | ||
cat-menu.inc | ||
cat-search.inc | ||
cat-toolbar.inc | ||
cataloging-search.inc | ||
cateditor-ui.inc | ||
cateditor-widgets-marc21.inc | ||
checkin-search.inc | ||
checkouts-table-footer.inc | ||
checkouts-table.inc | ||
circ-menu.inc | ||
circ-patron-search-results.inc | ||
circ-search.inc | ||
cities-admin-search.inc | ||
columns_settings.inc | ||
contracts-admin-search.inc | ||
currencies-admin-search.inc | ||
datatables.inc | ||
date-format.inc | ||
doc-head-close-receipt.inc | ||
doc-head-close.inc | ||
doc-head-open.inc | ||
empty_line.inc | ||
facets.inc | ||
form-blocks.inc | ||
format_price.inc | ||
greybox.inc | ||
guided-reports-view.inc | ||
header.inc | ||
help-bottom.inc | ||
help-top.inc | ||
home-search.inc | ||
html_helpers.inc | ||
installer-doc-head-close.inc | ||
intranet-bottom.inc | ||
intranetstylesheet.inc | ||
labels-toolbar.inc | ||
letters-search.inc | ||
member-alt-address-style-de.inc | ||
member-alt-address-style-us.inc | ||
member-alt-contact-style-de.inc | ||
member-alt-contact-style-us.inc | ||
member-display-address-style-de.inc | ||
member-display-address-style-us.inc | ||
member-display-alt-address-style-de.inc | ||
member-display-alt-address-style-us.inc | ||
member-main-address-style-de.inc | ||
member-main-address-style-us.inc | ||
members-menu.inc | ||
members-toolbar.inc | ||
merge-record-strings.inc | ||
merge-record.inc | ||
messaging-preference-form.inc | ||
nl-search-form.tt | ||
noadd-warnings.inc | ||
page-numbers.inc | ||
patron-search-box.inc | ||
patron-search.inc | ||
patron-title.inc | ||
patron-toolbar.inc | ||
patroncards-errors.inc | ||
patroncards-toolbar.inc | ||
patrons-admin-search.inc | ||
permissions.inc | ||
popup-bottom.inc | ||
prefs-admin-search.inc | ||
prefs-menu.inc | ||
printers-admin-search.inc | ||
quotes-toolbar.inc | ||
quotes-upload-toolbar.inc | ||
reports-menu.inc | ||
reports-toolbar.inc | ||
resort_form.inc | ||
rotating-collections-toolbar.inc | ||
search_indexes.inc | ||
select2.inc | ||
serials-menu.inc | ||
serials-search.inc | ||
serials-toolbar.inc | ||
slip-print.inc | ||
strings.inc | ||
subscriptions-search.inc | ||
subtypes_unimarc.inc | ||
suggestions-add-search.inc | ||
timepicker.inc | ||
tools-item-action.inc | ||
tools-menu.inc | ||
tools-nomatch-action.inc | ||
tools-overlay-action.inc | ||
validator-strings.inc | ||
vendor-menu.inc | ||
virtualshelves-toolbar.inc | ||
wysiwyg-systempreferences.inc | ||
z3950-admin-search.inc | ||
z3950_search.inc |