[Koha-bugs] [Bug 12415] Fee receipt: description of charges is empty
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 18 21:01:12 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12415
Nick Clemens <nick at quecheelibrary.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #31598|0 |1
is obsolete| |
--- Comment #17 from Nick Clemens <nick at quecheelibrary.org> ---
Created attachment 31724
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31724&action=edit
[SIGNED OFF] Bug 12415: Fee receipt: a charges description should be displayed
in all cases
Bug 2546 removes the description DB field value in some case (3.15.00.003).
But the receipt generated by scripts members/printfeercpt.pl and
members/printinvoice.pl displays this field.
When the description field is empty, the default value (based on
accountlines.accounttype) should be displayed.
Test plan:
- Generate and pay some different kinds of fees for a patron without
filling the 'description' field.
- In Fines>Account, click on the 'print' link.
- Before this patch, the "description of charges" values is empty if no
description was given.
It is a regression introduced by bug 2546, a default value was
inserted in the description field depending on the account type
selected.
- After this patch, the "description of charges" values should be based
on the account type. The string display on printing receipt should be
the same as on the account screen (staff and opac).
Note for QA: If removed the "payment" key, it is not used in template
and generated a warning ("odd number of elements...").
Signed-off-by: Nick Clemens <nick at quecheelibrary.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list