Koha/misc
Sophie Meynieux 40ece625bb Bug 13018 : Static fine should be charged only once
Test plan (see Bug 6858 for using staticfine.pl) :

For a user (of a given category and library) with several overdues, launch the script :

staticfines.pl --category CAT,AMOUNT --library LIB --delay DELAY

Then, check that the user has been charged of AMOUNT if the due date of the most late item plus the delay is *before* today.

One day later, re-execute the script with the same parameters and check that the fine has not been charged twice.

Without patch, the fine is charged twice, with patch the user already charged is skipped (see output in debug mode)

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Without the patch, the fine will be applied every time the script is run.
With the patch the fine will only be applied once.
Passes tests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-11-11 09:44:01 -03:00
..
admin
bin Bug 11078: Add locking to rebuild_zebra 2014-02-28 22:21:41 +00:00
cronjobs Bug 13018 : Static fine should be charged only once 2014-11-11 09:44:01 -03:00
devel Bug 12781: update_dbix_class_files.pl should use the preserve_case option 2014-08-21 09:35:30 -03:00
interface_customization Bug 10415 - Add course reserves to staff client home page 2014-03-12 18:15:24 +00:00
load_testing Bug 11124: QA Follow-up resolving a warning and three typos 2013-12-13 19:49:09 +00:00
maintenance Bug 13028: Followup adding a -partial flag for partial compares 2014-10-30 00:24:07 -03:00
migration_tools Bug 12651: DOM indexing is the default 2014-10-27 12:35:44 -03:00
plack Bug 7844: Plack intranet tooling for developers 2014-04-21 03:17:53 +00:00
release_notes update release notes for 3.16.0 (human) 2014-05-22 20:16:25 +00:00
translator Bug 12535 - PROG/CCSR Deprecation: Make opac translation theme independent 2014-10-29 22:00:22 -03:00
batchCompareMARCvsFrameworks.pl
batchdeletebiblios.pl Bug 8674 follow-up Fix perlcritic error 2012-10-02 17:48:03 +02:00
batchDeleteUnusedSubfields.pl
batchImportMARCWithBiblionumbers.pl Bug 8576: Software error on authority edition when using merge 2012-08-28 17:55:33 +02:00
batchRebuildBiblioTables.pl
batchRepairMissingBiblionumbers.pl
batchupdateISBNs.pl
check_sysprefs.pl
commit_file.pl Bug 7131: (follow-up) update the command-line import tools 2013-10-30 04:35:17 +00:00
export_borrowers.pl Bug 9045 - Adding some parameters to export_borrowers.pl 2013-03-21 10:47:42 -04:00
exportauth.pl
koha-install-log Bug 10712: Save missing config variables to install log 2013-08-13 14:14:30 +00:00
kohalib.pl
link_bibs_to_authorities.pl Bug 8818: make sure we load modules before using them 2012-10-01 19:01:50 +02:00
mod_zebraqueue.pl Bug 9286 - Add script to add a bib to the zebra queue from the command line 2013-05-28 08:00:15 -07:00
perlmodule_ls.pl
perlmodule_rm.pl
recreateIssueStatistics.pl Bug 6025: Adds a script that re-create missing statistics from issues and old_issues tables 2012-03-20 17:02:33 +01:00
sax_parser_print.pl
sax_parser_test.pl Bug 6752: Be stricter with utf-8 encoding of output 2012-01-27 12:11:06 +01:00
sip_cli_emulator.pl Bug 9288: (follow-up) more tweaks 2014-04-20 20:20:15 +00:00
stage_file.pl Bug 8015: (follow-up) update stage_file.pl 2013-10-31 22:51:13 +00:00