[Koha-bugs] [Bug 17983] Add minutes loan to DiscreteCalendar

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 18 23:08:46 CEST 2023


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

Maryse Simard <maryse.simard at inlibro.com> changed:

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

--- Comment #32 from Maryse Simard <maryse.simard at inlibro.com> ---
Created attachment 151452
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151452&action=edit
Bug 17983: Add minutes loan to DiscreteCalendar

This is an additional feature to our new Discrete Calendar.
Theses patches add the possibility to choose the loan unit as minutes in
circulations rules.

Test plan:
- Apply patch of Bugzilla 17015
- Apply this patch.
- Run test t/db_dependent/minutes_loan.t
- Create new item type for the new rule.
- Create circulation rule and fill the fields, make sure the unit is set to :
minutes, choose the item type of the one created above.-
- Checkout an item that follow the circulation rule and set due date in the
past.

- Run fines.pl.
- Check if the correct amount was calculated.
    - Note: make sure to factor in the fine grace period if set and the system
preference FinesIncludeGracePeriod.fixed patch tests and minor adjustments

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


More information about the Koha-bugs mailing list