http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7420

             Bug #: 7420
           Summary: Add max fines to circulation matrix
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
        AssignedTo: kyle.m.h...@gmail.com
        ReportedBy: srd...@catalyst.net.nz
         QAContact: ian.wa...@bywatersolutions.com
                CC: gmcha...@gmail.com


Capped charge is applied per item.

Work to be done:
* Add a numeric overduefinescap field to the issuingrules table
* Add "Overdue Fines Cap" section at the bottom of the Corculation Rules page,
inputs:
  -  item type
  -  patron category
  -  cap in $ or whatever currency
* C4::Overdues::UpdateFine() - observe overduefinescap rule when updating
overdue charges - leave the charge at overduefinescap if it goes over
* create tests

How to test:
* Check that new field values stick when maintained on the circ rules matrix
page
* Check that the cap is applied. This is a tricky one. A quick test would be:
  -  set the cap to a value less then the overdue charge
  -  have an overdue item
  -  run fines.pl cronjob
  -  check that the capped charge is applied
A more complex test would be to set the cap anywhere between one day charge and
two day charges, and run fines.pl cronjob on two consecutive days, but I'm not
sure how practical it is, or is it possible to have a testing facility that can
push the date forward

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to