[Koha-bugs] [Bug 12285] Allow easy printing of patron's fines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 9 21:18:59 CEST 2014


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |veron at veron.ch

--- Comment #2 from Marc Véron <veron at veron.ch> ---
I tested. 
After applying the patch the menu item appeared as expected, but the slip did
not display properly. Ic checked FINESLIP in Home › Tools › Notices & Slips. It
had missing angle brackets (<) at two places. After fixing it the slip printed
as expected.

The HTML in FINESLIP inserted by the patch was:

<<borrowers.firstname>> <<borrowers.surname>><br>
<<borrowers.cardnumber>><br>
Fines: <<total.fines>>
<ul>
<fines>
<li><<fines.date_due>>, 1001<fines.amount>><br>
Bar code: <<items.barcode>><br>
<<fines.description>>
</fines>
</ul>
Total: 1001<total.amount>>

If I look at the patch, the strange 1001's appear at the places where, in both
SQL statemens, we have $<<fines.amount>> and $<<total.amount>>
Could it be that the $ signes are superfluous?

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


More information about the Koha-bugs mailing list