Bug 9671: Make fines.pl help text more accurate
authorAaron Wells <aaronw@catalyst.net.nz>
Mon, 25 Mar 2013 03:56:24 +0000 (16:56 +1300)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 26 Apr 2013 22:35:40 +0000 (18:35 -0400)
To test:

run kohaclone/misc/cronjobs/fines.pl --help and note the help text. It should match the settings in System Preferences.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Documentation change, passes all tests.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
misc/cronjobs/fines.pl

index d2b0062..02bde14 100755 (executable)
@@ -53,10 +53,9 @@ GetOptions(
 my $usage = << 'ENDUSAGE';
 
 This script calculates and charges overdue fines
-to patron accounts.  If the Koha System Preference
-'finesMode' is set to 'production', the fines are charged
-to the patron accounts.  If set to 'test', the fines are
-calculated but not applied.
+to patron accounts.  The Koha system preference 'finesMode' controls
+whether the fines are calculated and charged to the patron accounts ("Calculate and charge");
+calculated and emailed to the admin but not applied ("Calculate (but only for mailing to the admin)"); or not calculated ("Don't calculate").
 
 This script has the following parameters :
     -h --help: this message