Koha/members
Paul Poulain 1fe3514c3c Bug 6328 fine in days does not work
Some code coming from BibLibre has been lost in the process of inclusion in
3.4. The result is that fine in days does not work at all (you can setup rules,
but it does nothing)

Step to reproduce:

- Koha > Admin > circ rules > set 1 day fine every day of overdue for default
  rule
- Issue a book return date last week
- check-in the book => no debarment is set

The following patch will fix all of those problems by :

* updating borrowers.debarred to a date field (instead of tinyint). It contains
  the limit of the debarment
* changing API of DebarMember and UpdateBorrowerDebarred to pass a date
* display debarrdate where applicable. Note that a debarrdate of 31/12/9999 is
  considered as unlimited and not displayed
* added a debarrcomment, usefull to explain why a patron is debarred (this is
  independant from debarrdate changes and can be used when placing an unlimited
  debarment too)

[2011-05-12] F. Demians. It works as described. And I can confirm this
functionality is impatiently awaited by French libraries since one year. Thanks
BibLibre for the good work and for contributing this code.

Bug 6328 Followup--update DB structure

Thanks Katrin.

Bug 6328: make comment a textbox / fix debar by notice trigger

Debarring by notice triggers was broken, because the new function
expects a date as second parameter.

The comment field in patron account details was a very long text field.
Patch changes it to be a textbox instead.

Bug 6328: Lift debarment leaves patron account

'Lift debarment' redirects to an empty circulation page.

BZ6328 follow-up 3

Fixes comment 23 from Fernando L. Canizo : when the patron was debarred and debar removed
he still could not check-out.

The changes in the IsMemberBlocked (that were on biblibre/master) were lost somewhere
The sub was still checking for old_issues instead of calling CheckBorrowerDebarred
to get a debardate if applicable

Note : this bug was appearing only is you had issuing rules defined for itemtype/categorycode/branch.
Seemed to work if you had only default rules. That's probably why it hadn't been spotted before

BZ6328 follow-up 4
Comments fron Zeno Tajoli: The patch is OK and I sign-off it. Two little changes done on
installer/data/mysql/kohastructure.sql and installer/data/mysql/updatedatabase.pl

Signed-off-by: koha <koha@kohabase.localdomain>
2011-11-25 14:00:47 +01:00
..
boraccount.pl Bug 6303: Display Organisation and Parent Organisation names when viewing a borrower of type organisation 2011-11-24 11:30:08 +01:00
default_messageprefs.pl Fix FSF address in directory members/ 2010-03-16 20:17:55 -04:00
deletemem.pl Fix for Bug 5029 - Update patron deletion error page 2010-12-02 09:13:38 +13:00
guarantor_search.pl bug_6253: Unified member Search() 2011-10-19 16:23:02 +13:00
mancredit.pl Fix for Bug 6980, Patron attributes are shown when ExtendedPatronAttributes is disabled 2011-10-20 11:37:37 +13:00
maninvoice.pl Fix for Bug 6980, Patron attributes are shown when ExtendedPatronAttributes is disabled 2011-10-20 11:37:37 +13:00
member-flags.pl Fix for Bug 6980, Patron attributes are shown when ExtendedPatronAttributes is disabled 2011-10-20 11:37:37 +13:00
member-password.pl Fix for Bug 6980, Patron attributes are shown when ExtendedPatronAttributes is disabled 2011-10-20 11:37:37 +13:00
member-picupload.pl Fix FSF address in directory members/ 2010-03-16 20:17:55 -04:00
member.pl Bug 5945: email not searchable in patron search 2011-11-09 17:20:23 +01:00
memberentry.pl Bug 6328 fine in days does not work 2011-11-25 14:00:47 +01:00
members-home.pl Bug 2505: Suppress some warnings emitted by members-home.pl 2011-07-11 21:05:37 +12:00
moremember.pl Bug 6328 fine in days does not work 2011-11-25 14:00:47 +01:00
notices.pl Fix for Bug 6980, Patron attributes are shown when ExtendedPatronAttributes is disabled 2011-10-20 11:37:37 +13:00
patronimage.pl Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
pay.pl Fix for Bug 6980, Patron attributes are shown when ExtendedPatronAttributes is disabled 2011-10-20 11:37:37 +13:00
paycollect.pl Bug 3498 [ENH] Allow Partial Payment of Fines 2011-09-13 08:40:49 +12:00
printfeercpt.pl Bug 4440: Revised combined patch to print fee receipts and invoices 2010-11-18 14:33:27 +13:00
printinvoice.pl Bug 4440: Revised combined patch to print fee receipts and invoices 2010-11-18 14:33:27 +13:00
readingrec.pl Bug 6303: Display Organisation and Parent Organisation names when viewing a borrower of type organisation 2011-11-24 11:30:08 +01:00
setdebar.pl Fix FSF address in directory members/ 2010-03-16 20:17:55 -04:00
setstatus.pl Bug 6328 fine in days does not work 2011-11-25 14:00:47 +01:00
update-child.pl Bug 5673: test guarantorid consistently 2011-02-03 22:10:24 +13:00