[Koha-bugs] [Bug 12769] Notice fee management

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 11 20:12:59 CET 2014


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

--- Comment #4 from simith.doliveira at inlibro.com ---
To Test:

Apply patch and update the database.

Set up :
The "DefaultNoticeFee" system preference allows to set up how much a notice is
charged to a patron when sent.
The "NoticeFeeNote" systeme preference contains the value which will populate
the note in the "accountlines" table when the notice fee is charged.

On the "Slips and notices" page (see tools module), a new field allow librarian
to set up a specific notice fee for each notice. If nothing is set up, the
system preference value will be used. If set up to 0, no fee will be charged to
the patron when the the notice is sent.

For each test scenario below :
1. Checkout an item with a due date in the past to get the ODUE notice
2. Checkout an item due for today to get the DUE notice
3. Checkout an item due soon to get the PREDUE notice
4. Run overdue_notices.pl
5. Run advance_notices.pl
6. Go to the patron page and open the fine tab.

Test scenario 1 :
Set up :
"Default notice fee" syspref = 0
"NoticeFeeNote" syspref = Notice fee
ODUE notice fee = 50$
DUE notice fee = leave empty
PREDUE notice fee = leave empty

Check that :
7. There is a new 50$ entry (ODUE notice fee)
8. This entry note is "notice fee"

Test scenario 2 :
Set up :
"Default notice fee" syspref = 0
"NoticeFeeNote" syspref = Notice fee
ODUE notice fee = 50$
DUE notice fee = 20$
PREDUE notice fee = leave empty

Check that :
7. There are two new entries, one is 50$ (ODUE notice fee), the other 20$ (DUE
notice fee)
8. Both entries have "Notice fee" in their notes.

Test scenario 3 :
Set up :
"Default notice fee" syspref = 50$
"NoticeFeeNote" syspref = Notice fee
ODUE notice fee = leave empty
DUE notice fee = leave empty
PREDUE notice fee = leave empty

Check that :
7. There are three 50$ entries (ODUE, DUE and PREDUE notice fees)
8. Each has a "Notice fee" note.

Test scenario 4 :
Set up :
"Default notice fee" syspref = 50$
"NoticeFeeNote" syspref = Notice fee
ODUE notice fee = 55$
DUE notice fee = 20$
PREDUE notice fee = leave empty

Check that :
7. There are three entries : 55$ for the ODUE notice, 20$ for the DUE notice,
50$ for the PREDUE notice
8. Each has a "Notice fee" note.

Test scenario 5 :
Set up :
"Default notice fee" syspref = 50$
"NoticeFeeNote" syspref = Notice fee
ODUE notice fee = 55$
DUE notice fee = 20$
PREDUE notice fee = 0

Check that :
7. There are two entries : 55$ for the ODUE notice, 20$ for the DUE notice
8. Each has a "Notice fee" note.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list