Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Benjamin Rokseth 57608fdecb Bug 7981: Remove HomeOrHoldingBranchReturn syspref
This patch removes HomeOrHoldingBranchReturn syspref and makes circ/returns.pl respect branch
circulation rules from C4::Circulation::GetBranchItemRule. Also transfer slip notice should reflect this.

Default should always be to return item to home branch.

Test plan:
- make sure syspref 'AutomaticItemReturn' is set to 'false'
- unset 'Default checkout, hold and return policy' or set 'Return policy' to 'Item returns home'
- checkout an item and do a checkin from different branch than items homebranch
- verify that you're prompted with a transfer message to item's home branch and that print slip matches

- set 'Return policy' to 'Item returns to issuing library'
- do a checkout and a checkin from branch different than item's home branch
- verify that you're not prompted with a transfer message and that holding library is your current branch

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Follow-up:
- Added 3 tests in t/db_dependent/Circulation_Branches.t to test AddReturn
  policies
- Removed HomeOrHoldingBranchReturn from sysprefs.sql
- Added notice on removing syspref in updatedatabase

QA edits:
- removed trailing whitespace in tests
- moved branchname lookup from returns.pl to template

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
2015-06-11 10:24:22 -03:00
..
acqui Bug 13619: Acq home: ensure 'manage suggestions' goes to pending suggestions 2015-06-05 12:53:10 -03:00
admin Bug 7981: Remove HomeOrHoldingBranchReturn syspref 2015-06-11 10:24:22 -03:00
authorities Bug 8399: Display tab number on the mandatory field alert (authority) 2015-05-18 12:11:23 -03:00
basket Bug 14329: Useless copy/pasta from Template::Plugin::HtmlToText 2015-06-08 09:47:06 -03:00
batch
catalogue Bug 10938: Item columns displayed in random order 2015-06-05 14:13:39 -03:00
cataloguing Bug 14276: Keep highlight on the active item in item editor 2015-06-05 12:54:36 -03:00
circ Bug 7981: Remove HomeOrHoldingBranchReturn syspref 2015-06-11 10:24:22 -03:00
common Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
course_reserves Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
errors Bug 10285: Remove links from the error pages 2015-04-20 09:57:54 -03:00
help Bug 14125: Fix template problems on csv profiles help page 2015-05-07 10:57:38 -03:00
installer Bug 14152: Re-check required dependencies during upgrade process 2015-05-18 12:12:33 -03:00
labels Bug 12160: Rename intranetuserjs with IntranetUserJS 2015-05-26 10:42:07 -03:00
members Bug 13970: Remove category_type related code 2015-06-11 10:11:01 -03:00
offline_circ Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
patron_lists Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
patroncards Bug 13891: DataTables server-side processing - patron cards 2015-04-13 10:55:24 -03:00
plugins Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
reports Bug 14279: Remove CGI::scrolling_list from issues_avg_stats.pl 2015-06-01 14:21:58 -03:00
reserve Bug 13887: Display the due date as a due date + sort on info 2015-05-04 11:24:07 -03:00
reviews
rotating_collections Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
serials Bug 13662: Fix the serials.receive_serials permissions 2015-06-05 12:53:09 -03:00
services
sms
suggestion Bug 14074: Format 'suggested on' date in suggestion list correctly 2015-05-14 11:37:42 -03:00
tags
test Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
tools Bug 14024 - add reports to action logs 2015-06-04 10:46:20 -03:00
virtualshelves Bug 14329: Useless copy/pasta from Template::Plugin::HtmlToText 2015-06-08 09:47:06 -03:00
about.tt Bug 7143: Release team for 3.22 2015-05-27 12:44:15 -03:00
auth.tt
intranet-main.tt Bug 8007: Discharge - Glue 2015-04-30 12:33:53 -03:00