https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28575

Nick Clemens (kidclamp) <n...@bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #167636|0                           |1
        is obsolete|                            |

--- Comment #25 from Nick Clemens (kidclamp) <n...@bywatersolutions.com> ---
Created attachment 172253
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172253&action=edit
Bug 28575: Stop lost fine refund if fine is older than syspref value

Test plan:
1) Apply patch and reset_all
2) Checkout an item to a patron
3) Mark that item as lost
4) Add a manual invoice for that item's barcode to the patron's account
5) Pay that fine in the Make a payment tab
6) In system preferences, search for NoRefundOnLostFinesPaidAge
7) Set this to -1. I use this value here to avoid needing to go into the
database to change the date of the payment we made in step 5. Any fines older
than -1 days (i.e. all fines) will be caught by the syspref which is what we
want to test)
8) Check in the item
9) The check in message should display "Any lost item fees for this item will
remain on the patron's account."
10) Navigate to the Patron's account and confirm that no credit has been added
and that the lost fee has therefore not been refunded
11) Run unit test: prove t/db_dependent/Circulation.t

Signed-off-by: Andrew Fuerste Henry <andre...@dubcolib.org>
Signed-off-by: Nick Clemens <n...@bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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