40ece625bb
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> |
||
---|---|---|
.. | ||
holds | ||
rss | ||
social_data | ||
thirdparty | ||
advance_notices.pl | ||
automatic_renewals.pl | ||
backup.sh | ||
batch_anonymise.pl | ||
build_browser_and_cloud.pl | ||
cart_to_shelf.pl | ||
check-url-quick.pl | ||
check-url.pl | ||
cleanup_database.pl | ||
cloud-kw.pl | ||
cloud-sample.conf | ||
CONFIGURE.gmail | ||
create_koc_db.pl | ||
crontab.example | ||
delete_expired_opac_registrations.pl | ||
delete_patrons.pl | ||
delete_unverified_opac_registrations.pl | ||
fines.pl | ||
gather_print_notices.pl | ||
import_webservice_batch.pl | ||
j2a.pl | ||
longoverdue.pl | ||
MARC21_parse_test.pl | ||
overdue_notices.pl | ||
printoverdues.sh | ||
process_message_queue.pl | ||
purge_suggestions.pl | ||
runreport.pl | ||
serialsUpdate.pl | ||
services_throttle.pl | ||
share_usage_with_koha_community.pl | ||
staticfines.pl | ||
update_totalissues.pl |