Bug 25119: Fix account type and description for individual writeoffs/payments
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 11 Apr 2020 12:02:03 +0000 (12:02 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 1 May 2020 14:43:56 +0000 (15:43 +0100)
commit7761db8052329411d6d67ab282f9f8c136feb567
tree8c8d6a999ca3d53b832872c183f99c60a9f46b30
parent30906c8b4f5cabf7d2533cbbde1f3368c5e2915c
Bug 25119: Fix account type and description for individual writeoffs/payments

When paying or writing off a single line from the list of pending charges,
the account type displayed the code instead of the description.

And when bug 23483 fixed the display of the description, 2 variables where
missed. This change is only visible when looking at the page source:

<input type="hidden" name="description" id="description" value="" />

With the patch applied, the value will be filled with the description.

To test:
- Create one or more manual invoices of different types
- Try to pay/write off using the buttons within the table
- Verify the account type shows as code, not description
- Apply patch
- Repeat
- Bonus points: Check the source code for the hidden input with description.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt