backup of koha development and experimental branches
Perl JavaScript XSLT HTML SourcePawn CSS Other
Switch branches/tags
Clone or download
Pull request Compare This branch is even with colinsc:master.
Kyle M Hall and kidclamp Bug 20285: Lost item refund won't always pay down lost item fee first
Due to a simple typo, the accountline passed to Koha::Account::pay from _FixAccountForLostAndReturned is not used. That means that the credit for the lost item fee may be applied to other fees before it is used on the lost fee itself.

Test Plan:
1) Find a patron with existing fines
2) Ensure your settings will charge patrons for lost items
3) Check out an item to a patron with existing fees that need paid
4) Mark the item lost, charging the lost item fee
5) Return the item
6) Note the fee was refunded, but it paid down earlier fines first,
   and not the lost item fee first
7) Apply this patch set
8) Repeat steps 1 - 5
9) Note the lost item fee is the first fee to be paid off by the lost
   item fee refund

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Followed the test plan and it works as expected.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Latest commit c967e01 Feb 23, 2018
Permalink
Failed to load latest commit information.
C4
Koha
OpenILS Bug 9239 QA follow-up: remove stray debug code Mar 17, 2013
acqui Bug 20861: Correct EDI permissions on EDI messsages Jun 4, 2018
admin Revert "Bug 20073: Move Elasticsearch configs to yaml files and impro… May 21, 2018
api/v1
authorities Bug 20047: (follow-up) Retrieve only biblio/authority servers as appr… Apr 20, 2018
basket
catalogue Bug 20838: (bug 16735 follow-up) Fix search by group of libraries Jun 4, 2018
cataloguing Bug 20829: Handle non-existent barcode when linking to host item Jun 8, 2018
circ Bug 20851: Add module to circ/article-request-slip.pl Jun 8, 2018
clubs
course_reserves Bug 19230: Preventing warn when deleting course Jan 30, 2018
debian Bug 20801: Make dependency on memcached mandatory May 22, 2018
docs
errors
etc Revert "Bug 20073: Move Elasticsearch configs to yaml files and impro… May 21, 2018
ill Bug 20556: Marking ILL request as complete.. Apr 20, 2018
installer Bug 20922: Remove use of Koha::Number::Price in updatedatabase.pl Jun 15, 2018
koha-tmpl Bug 19970: Revise change of bug 19413 to work better for translations Jun 15, 2018
labels Bug 12020: Allow translating label-edit-batch hardcoded strings Mar 26, 2018
members Bug 20120: (QA follow-up) display correct amount in redirect Jun 8, 2018
misc Bug 20818: Add missing QA Manager entry in 18.05.00 release notes May 29, 2018
offline_circ
opac Bug 20832: Fix opac user profile page when there is overdue fine and … Jun 15, 2018
patron_lists Bug 19837: Add error feedback for duplicated or unfound cardnumbers Feb 18, 2018
patroncards Bug 20010: use Modern::Perl in Patroncards perl scripts Feb 5, 2018
plugins Bug 20011: use Modern::Perl in plugins perl scripts Feb 5, 2018
reports Bug 20663: Remove dead code related to compound reports May 4, 2018
reserve
reviews Bug 18789: Send Koha::Patron object to the templates Feb 16, 2018
rotating_collections Bug 15758: Koha::Libraries - Remove GetBranches Sep 8, 2016
serials Bug 20730: Move the authentication block before doing anything May 23, 2018
services Bug 20019: use Modern::Perl in misc perl scripts Feb 5, 2018
skel
suggestion Bug 20019: use Modern::Perl in misc perl scripts Feb 5, 2018
svc Bug 20760: Fill authorised values in svc framework Jun 15, 2018
t Bug 20285: Unit Test Jun 15, 2018
tags Bug 20019: use Modern::Perl in misc perl scripts Feb 5, 2018
test Bug 9819 - 'stopwords'-related code removed Dec 30, 2015
tmp/modified_authorities changing DO_NOT_REMOVE to README.txt Oct 22, 2007
tools Bug 20695: Fix multiple upload result in tools/upload script May 11, 2018
virtualshelves
xt
.editorconfig Bug 12545: Add EditorConfig.org file to the source tree Aug 22, 2014
.gitignore Bug 20267: Add basic .gitignore Mar 26, 2018
.htaccess
.mailmap Update mailmap - Jonathan Druart Jun 21, 2017
INSTALL Bug 17626: Remove existing install instructions and link to the wiki … Nov 22, 2016
Koha.pm Bug 2426: DBRev 18.06.00.002 Jun 8, 2018
LICENSE Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 Feb 12, 2013
MANIFEST.SKIP Bug 9546 : Updating make manifest tardist Feb 7, 2013
Makefile.PL Bug 18342: Enable memcached by default for new installs May 3, 2018
README Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 Feb 12, 2013
README.md Bug 15465: Fix typo in bugs.k-c.org May 26, 2017
README.robots
about.pl Bug 20428: Display warning if the entry is empty May 14, 2018
changelanguage.pl Bug 20019: use Modern::Perl in misc perl scripts Feb 5, 2018
edithelp.pl
fix-perl-path.PL
help.pl Bug 20019: use Modern::Perl in misc perl scripts Feb 5, 2018
install-CPAN.pl
koha_perl_deps.pl
kohaversion.pl Bug 13758: Move the Koha version from kohaversion.pl May 7, 2015
mainpage.pl Bug 20489: Remove warnings from the interface Apr 20, 2018
rewrite-config.PL

README.md

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo