Main Koha release repository https://koha-community.org
Find a file
Nick Clemens 9f569f97d2
Bug 30254: Don't charge overdue fines unless some fine exists
We need to determine if a book was lost by a patron, the clues we have
are previous charges. If we don't find any, we shouldn't charge a new fine

To test:
 1 - set Lost item fee refund on return policy to "Refund lost item charge and charge new overdue fine", turn on FinesMode, make sure your circ rules charge fines
 2 - have an itemtype / patron combo that charges an overdue fine
 3 - check item out (with a due date in the future) and then right back in again
 4 - confirm patron doesn't have a fine because the item was not late
 5 - set the item to Lost
 6 - in the database, edit the date_due of your checkout to a date in the past
 7 - check the item in, it is marked found
 8 - confirm your patron now has a fine
 9 - Apply patch
10 - Repeat with a new item and patron
11 - Confirm no charges

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-01-30 10:36:30 -03:00
acqui Bug 32054: Add get_import_record_matches object method and use it 2023-01-18 15:58:19 +00:00
admin Bug 18247: Remove SQL queries from branch_transfer_limit.pl 2023-01-27 16:10:22 -03:00
api Bug 31160: Required fields in patron api 2022-12-13 08:44:35 -03:00
authorities Bug 30250: Use ApplyFrameworkDefaults when importing a record 2022-11-09 14:03:22 -03:00
basket
bin
C4 Bug 22042: Block all return actions when BlockReturnOfWithdrawn items is set to block 2023-01-18 15:44:23 +00:00
catalogue Bug 32583: Restore display of only one item in catalogue/moredetails 2023-01-27 16:21:37 -03:00
cataloguing Bug 24606: (QA follow-up) Remove duplicate include 2022-11-11 15:47:36 -03:00
circ Bug 31492: Set CSRF token in circulation.pl 2023-01-18 15:46:29 +00:00
clubs Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
course_reserves Bug 31893: Use checkauth and do not fetch about.tt template 2023-01-20 13:56:30 +00:00
debian Bug 32465: Add 'queue' to koha-worker help documentation 2023-01-18 15:43:46 +00:00
docs 22.11.00: Update history.txt 2022-11-25 15:20:02 -03:00
erm Bug 32030: Add missing sponsors 2022-11-09 12:25:44 -03:00
errors
etc Bug 32416: Add a warning to the file 2023-01-27 16:08:23 -03:00
ill
installer Bug 32330: DBRev 22.12.00.001 2022-12-19 10:17:26 -03:00
Koha Bug 30254: Don't charge overdue fines unless some fine exists 2023-01-30 10:36:30 -03:00
koha-tmpl Bug 32520: Amend DefaultPatronSearchFields system preference description 2023-01-27 16:20:55 -03:00
labels
lib/CGI/Session/Serialize
members Bug 31893: Use checkauth and do not fetch about.tt template 2023-01-20 13:56:30 +00:00
misc Bug 32393: (QA follow-up) Add explicit undef response in two catch blocks 2023-01-27 15:10:01 -03:00
offline_circ
opac Bug 32251: Add a fallback for when language cookie was removed 2023-01-27 16:20:24 -03:00
patron_lists
patroncards
plugins
pos Bug 30619: Add email receipt to POS 2022-09-07 15:59:34 -07:00
recalls
reports
reserve Bug 31893: Use checkauth and do not fetch about.tt template 2023-01-20 13:56:30 +00:00
reviews Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
rotating_collections Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
serials
services
skel
suggestion Bug 32531: Restore behaviour of 'include archived' filter 2023-01-05 09:22:58 -03:00
svc Bug 32631: Error when previewing record during batch record modification 2023-01-27 16:16:43 -03:00
t Bug 30254: Unit tests 2023-01-30 10:36:24 -03:00
tags
tmp/modified_authorities
tools Bug 32221: Borrowers.password should no longer be an option 2023-01-20 13:55:17 +00:00
virtualshelves
xt Bug 32349: Remove find-nonutf8 tests 2023-01-11 20:44:26 -03:00
.editorconfig
.eslintrc.json
.gitignore Bug 32030: Add dist dir to .gitignore 2022-11-08 09:49:57 -03:00
.htaccess
.mailmap Bug 32582: Fix error in .mailmap 2023-01-17 09:27:15 +00:00
.perlcriticrc
.proverc.dist
.stylelintrc.json
about.pl Bug 30808: Add support for version codenames 2022-11-25 15:20:00 -03:00
app.psgi
changelanguage.pl
cpanfile Bug 12758: Make LWP::Protocol::https required module 2022-11-09 09:52:13 -03:00
cypress.json Bug 32030: Move cypress to t/ 2022-11-08 09:44:51 -03:00
fix-perl-path.PL
gulpfile.js Bug 32422: Hardcoded paths in _common.scss precent using external node_modules 2022-12-12 12:19:10 -03:00
help.pl
INSTALL
Koha.pm Bug 32330: DBRev 22.12.00.001 2022-12-19 10:17:26 -03:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL Bug 32030: Fix Makefile.t 2022-11-09 09:48:30 -03:00
MANIFEST.SKIP
package.json Bug 32212: (bug 32030 follow-up) Restore bootstrap 4 2022-11-17 14:49:07 -03:00
README
README.md
README.robots
rewrite-config.PL
tsconfig.json Bug 32030: Move cypress to t - fix build_js/watch_js 2022-11-08 09:44:52 -03:00
webpack.config.js Bug 32030: Move cypress to t/ 2022-11-08 09:44:51 -03:00
yarn.lock Bug 32212: Updated yarn.lock 2022-11-18 12:04:29 -03:00

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

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

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