Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
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
..
preferences Bug 7981: Remove HomeOrHoldingBranchReturn syspref 2015-06-11 10:24:22 -03:00
admin-home.tt Bug 12412: Add ability for plugins to convert arbitrary files to MARC from record staging tool 2015-05-04 15:33:51 -03:00
aqbudgetperiods.tt Bug 13861: \n in confirmation message on closing a budget 2015-03-19 14:04:09 -03:00
aqbudgets.tt Bug 13891: DataTables server-side processing - budget users 2015-04-13 10:55:13 -03:00
aqcontract.tt
aqplan.tt Bug 4277: Display the correct budget planning after saving 2015-03-31 14:15:07 -03:00
auth_subfields_structure.tt Bug 12109: Fix tab on the auth subfield configuration page 2015-05-18 12:13:21 -03:00
auth_tag_structure.tt
authorised_values.tt Bug 13587: Fix Authorised Values Toolbar 2015-01-21 10:56:43 -03:00
authtypes.tt Bug 10947: Fix editing the default authority type 2015-05-19 09:25:59 -03:00
biblio_framework.tt
branch_transfer_limits.tt
branches.tt Bug 13441 - Branchcodes should not be allowed to have spaces in them 2015-02-05 15:08:44 -03:00
categorie.tt Bug 14265 - Use $.trim instead of trim() in admin/categorie.tt 2015-06-01 14:16:21 -03:00
checkmarc.tt
cities.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
classsources.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
clone-rules.tt
columns_settings.tt Bug 13866: Columns configuration - Patrons search 2015-04-10 10:31:21 -03:00
currency.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
didyoumean.tt
fieldmapping.tt
item_circulation_alerts.tt
items_search_field.tt
items_search_fields.tt
itemtypes.tt Bug 11944: (follow-up) Remove all utf8 filter from templates 2015-01-13 13:07:35 -03:00
koha2marclinks.tt
marc_subfields_structure.tt
marctagstructure.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
matching-rules.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
oai_set_mappings.tt
oai_sets.tt
patron-attr-types.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
preferences.tt Bug 13355: System preferences tab value wrong in templates 2014-12-17 19:49:36 -03:00
printers.tt
smart-rules.tt Bug 5786 [QA Followup] - Fix language 2015-03-25 10:33:38 -03:00
sru_modmapping.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
stopwords.tt Bug 14033: Capitalization: confirmation message on deleting an authority type 2015-05-06 10:39:48 -03:00
systempreferences.tt Bug 10235: Add DataTables filters on local use prefs 2015-05-14 12:23:10 -03:00
transport-cost-matrix.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
z3950servers.tt Bug 12823: Alert about defining the SRU search field mappings 2014-12-31 14:13:44 -03:00