[Koha-bugs] [Bug 8007] Discharge management

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 30 19:43:31 CEST 2013


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

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

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

--- Comment #29 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 21674
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21674&action=edit
[SIGNED-OFF] Bug 8007: Discharge management

At the intranet, it is now possible to generate a
discharge for a patron.
At the opac, a patron can request a discharge and download discharges
already generated.

Requirements:
    aptitude install python-pisa

New sysprefs:
 - useDischarge: Allows librarians to discharge borrowers and borrowers
   to request a discharge
 - dischargePath: Sets the upload path for the generated discharges
 - dischargeWebPath: Sets the upload path starting from documentroot for the
generated
   discharges

New letter with a letter_code DISCHARGE.

Test plan:
- Switch on the syspref useDischarge.
- Fill the syspref dischargePath (e.g. /home/koha/src/koha-tmpl/discharges)
- Fill the syspref dischargeWebPath (e.g. /discharges)
- For a security reason create a .htaccess in your dischargePath with
  the following content:
      Options -Indexes
  and change the rights:
      sudo chown www-data:www-data /home/koha/src/koha-tmpl/discharges
- Check that a new tab appears in the patron page (intranet and opac)
- Check that the discharge cannot be generated if the patron has issues.
- Check that the patron can request a discharge from it's opac area.
- The request is a mail sent via the sendmail command
- Generate the discharge from the intranet
- Try to download it (from the opac and the intranet)

Sponsored-by: SCD Limoges
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Works well. No koha-qa errors

Solved merge conflict in updatedatabase.pl

Test following test plan
1) enable sysprefs, put discharges dir somewhere in filesystem,
with correct permissions, for webpath I did a symlink to
koha-tmpl
2) created .htacces as example
3) new tab appears on user OPAC
4) patron can't request discharge with items on loan
5) patron can request dischrage without issues, email sent correct,
6) Discharge generated from intranet, also check that can't be generated
if patron has issues
7) Download correct from OPAC and STAFF

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


More information about the Koha-bugs mailing list