[Koha-bugs] [Bug 14368] Add discharges history

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 23 09:04:33 CEST 2015


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

Matthias Meusburger <matthias.meusburger at biblibre.com> changed:

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

--- Comment #8 from Matthias Meusburger <matthias.meusburger at biblibre.com> ---
Created attachment 40508
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40508&action=edit
Bug 14368: Add discharges history.

Currently, once a user is discharged, lifting the discharge debarment does
not allow the user to ask for a discharge again.

This patch adds the ability for a user to be discharged several times and to
keep an history of the discharges.

Test plan:

 - As a user, ask for a discharge.
 - As a librarian, allow the discharge.
 - Check that the requested and validated dates appear on the discharge panel
of the borrower in the admin interface.
 - Lift the discharge debarment of the user.
 - Check that you can repeat these steps and that the new discharges are added
in the discharge panel of the borrower in the admin interface.

Please note that you will need to run misc/devel/update_dbix_class_files.pl
after the SQL update.
Adding a primary key to the discharges table was mandatory for DBIX::Class to
be able to query with order_by.

Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg at gmail.com>

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


More information about the Koha-bugs mailing list