bug 6873 (16 Sept 2011) is similar but not resolved till date. our library use this rules for fines and circulation: Circulation periods: books period: 30 days with 2 renewals max journals period: 14 days with 2 renewals max Fines: 1. fine after period, price A 2. fine 30th day after 1. fine, price B 3. fine 14th day after 2. fine, price C (2x price B) 4. fine 14th day after 3. fine, price D (3x price B) 5. next fines we count per day and item. Fine rates varies for patron categories as well as type of documnet. also bug 8776 and 10027 need to be solved as they are related to fine calculation.
*** Bug 6873 has been marked as a duplicate of this bug. ***
Maybe take a look at the staticfine.pl script in current Koha - it might be helpful.
I would like to work on this feature will try to complete this feature in next release of Koha (3.22).
Amit, there are currently some other patches pending about fines/overdues - some information to the related bugs can be found on the wiki: http://wiki.koha-community.org/wiki/Overdue_Notice_Enhancement Could you maybe add some description on how you want to add this feature and where it would be configured?
i am using koha 24; last time I was on koha 23.05, i made some changes in my overdue.pm file so it calculates the fines on an incremental basis. like Rs25/Day for 1st week, then Rs50/Day from 2nd week and Rs75/Day if the book is late for 3rd consecutive week. My server crashed today, and I had to install koha afresh and restore the database. Everything is working fine, but except for this incremental fine thing, because this change was made in the code. and now when I try to put the same code in the overdues.pm file of my koha 24.05 it just doesn't work. Can anyone tell me if anything has changed with the koha code? From where does it calculate the fines? How can I implement this incremental fine again. ? Our Library Fine Policy is Fine after Due Date : First week after the due date of return: Rs. 25/- per day Second week after the due date of return: Rs. 50/- per day Third week after the due date of return: Rs. 75/- per day Fourth week after the due date of return: Rs. 100/- per day I the change i made in the was in overdue.pm file was Open the /usr/share/koha/lib/C4/Overdues.pm file and locate the following line $amount = $charge_periods * $issuing_rule->{fine}; Comment this line with # and add the following lines for custom rule preference # $amount = $charge_periods * $issuing_rule->{fine}; #Custom fine rule for CUP Library by Rupinder Singh if ($charge_periods < 8){ $amount = $charge_periods * 25; } else { if ($charge_periods < 15){ $amount = 175 + ($charge_periods - 7) * 50; } else { if ($charge_periods < 22){ $amount = 525 + ($charge_periods - 14) * 75; } else { $amount = 1050 + ($charge_periods - 21) * 100; } } } # else { # a zero (or null) chargeperiod or negative units_minus_grace value means no charge. after making this change, my patrons were charged as per the library fine policy. but it is not working in koha 24.05
Hi jessedhammu, please consider asking your question in chat (https://chat.koha-community.org) or on the mailing list. These are the right channels for a support request like yours.