[Koha-bugs] [Bug 7420] New: Add max fines to circulation matrix

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 9 01:43:24 CET 2012


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.hall at gmail.com
        ReportedBy: srdjan at catalyst.net.nz
         QAContact: ian.walls at bywatersolutions.com
                CC: gmcharlt at 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.


More information about the Koha-bugs mailing list