Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart 2599cd17c7 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@quecheelibrary.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
This fixes the display of payments and other charges on the
fines slip.

Note: This patch fixes a line where the description in the
database was still updated to say "Payment thanks" for partial
payments. It might be worth to do a follow-up correcting the
accountlines table and removing the unwanted comment (see bug 2546).

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-11-21 20:14:02 -03:00
..
acqui Bug 12775: Suggestions should be ordered by anyone 2014-11-21 16:13:27 -03:00
admin Bug 8337 System preferences for longoverdue cron 2014-11-21 18:55:40 -03:00
authorities Bug 12708 - Unexpected behaviour in IE 9 and lower when using openWindow 2014-08-19 09:31:25 -03:00
basket Bug 13037 - Staff client cart should exclude articles when sorting by title 2014-11-21 15:17:21 -03:00
batch
catalogue Bug 13036 - Exclude control columns from sorting on staff client catalog detail page 2014-11-21 19:50:21 -03:00
cataloguing Bug 10473: (RM followup) small wording change 2014-11-14 13:06:21 -03:00
circ Bug 13261 - Better check in message for patrons with indefinite restricition 2014-11-19 21:41:24 -03:00
course_reserves Bug 12635 - Course reserves item list should use "Checked out" instead of "On Loan" 2014-08-07 11:03:56 -03:00
errors
help Bug 6681: (qa followup) document the existence of the sample files 2014-11-14 09:31:44 -03:00
installer Bug 12658: Wording of link text and translatability inside JavaScript 2014-08-15 15:36:11 -03:00
labels Bug 13162 - Label batch editor title sorting by default, rather then label number 2014-11-21 19:51:38 -03:00
members Bug 12415: Fee receipt: a charges description should be displayed in all cases 2014-11-21 20:14:02 -03:00
offline_circ Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory 2014-04-25 15:12:20 +00:00
patron_lists ug 11857 - Number of patrons on a patron list not accurate 2014-07-02 15:44:14 -03:00
patroncards Bug 5502 - Patron card category search field should be menu 2014-08-10 09:30:47 -03:00
plugins
reports Bug 13288: Fix filtering on the saved reports table 2014-11-20 09:54:28 -03:00
reserve Bug 12943 - Add patron branchcode to patron search results for holds 2014-11-21 16:00:13 -03:00
reviews
rotating_collections Bug 8836 [QA Followup] - Prevent multiple collections from having the same title 2014-11-06 15:12:20 -03:00
serials Bug 12779: Capitalization on add/edit subscription form 2014-11-14 09:33:35 -03:00
services Bug 12673: Remove CGI::scrolling_list from C4::Items.pm 2014-08-03 17:21:08 -03:00
sms
suggestion Bug 13229 - Suggestion date filters have a style problem 2014-11-20 09:56:34 -03:00
tags Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
test
tools Bug 12909 - item withdrawn is missing in inventory results 2014-11-21 15:27:15 -03:00
virtualshelves Bug 12405 - Search links on callnumber fails on intranet results page 2014-09-18 09:43:16 -03:00
about.tt Bug 7143 : Updating history and about page 2014-11-19 13:30:12 -03:00
auth.tt
intranet-main.tt Bug 10415 - Add course reserves to staff client home page 2014-03-12 18:15:24 +00:00