[Koha-bugs] [Bug 14605] New: The description on pay/write off individual fine is wrong

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 27 22:24:33 CEST 2015


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

            Bug ID: 14605
           Summary: The description on pay/write off individual fine is
                    wrong
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: philippe.blouin at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

When paying a fine, the description is built out of the borrower's type and
title, instead of the actual fine's description.

This has two causes: the information was not passed, and then it was overriden
by some line
<<
#workaround for Bug 4041 to get rid of duplicated code in circ-menu.tt, use
circ-menu.inc instad
   $template->param(%$borrower);
>>

which basically replace the accountline's description with the borrower's ?!?!

Anyway, steps to reproduce:
1) in the staff, go to a user with a fine to pay.
   a) if none, go to a user and Fines>>"Create manual invoice" with a
distinctive description.
2) In Fines>>Pay fines, click the "Pay" button on the line of the fine.
3) This will take you a "Pay an individual fine" screen, where the description
will look like "Staff Mrs", for the category and title of the borrower.

Apply the patch, and do it again.  Voilà.

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


More information about the Koha-bugs mailing list