[Koha-bugs] [Bug 14293] Error in the calculation of the suspension of users per day

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 28 09:51:25 CET 2019


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

Koha Team Lyon 3 <koha at univ-lyon3.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |In Discussion

--- Comment #24 from Koha Team Lyon 3 <koha at univ-lyon3.fr> ---
Hello Katrin, you're right. I have to buy a new brain. I've begun my tests with
the right logic and I don't know why, I swapped...

Jonathan, before redoing the tests,I'm not sure we are on the same logic for
the case "1 day of suspension every 2 days (finedays = 1,
suspension_chargeperiod = 2)"

  - 20 days late => 10 days of suspension : OK

  - 1 day late => 1 day of suspension (was 2 before the last patch)
-> Should we begin to add charge before 2 days late ?
I would say :
  * 1 day late => 0 day of suspension (was 2 before the last patch)
  * 2 days late => 1 day of suspension

  - 2 hours late => 1 day of suspension (was 2 before the last patch)
The same here 
   * 2 hours late => 0 day of suspension (was 2 before the last patch)
   * 2 hours late + 1 day => 1 day of supension

  - 2 hours before => 0 day of suspension : OK

In my opinion, if suspension_chargeperiod = 2, we should not charge on the
first day... but, I'm not sure of the behaviour in the current version of Koha.

Other opinions on that?

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


More information about the Koha-bugs mailing list