]> git.koha-community.org Git - koha.git/commit
Bug 28147: Pass itemnumber through to Account->pay
authorNick Clemens <nick@bywatersolutions.com>
Wed, 14 Apr 2021 13:48:08 +0000 (13:48 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 22 Apr 2021 14:00:03 +0000 (16:00 +0200)
commit6b64f2fe1f26734385f4d8fe268a58a7be01f596
treed91e3475d059072ba976c9fffef87057dc271e24
parent5e260c39b1dafd6140d4427d8a4b9862fe361e79
Bug 28147: Pass itemnumber through to Account->pay

Currently the itemnumber is not passed through when paying a single fine,
we should do that

To test:
1 - Create a manual debit and provide a barcode so the debit is linked to an item
2 - Go to the 'Make a payment' tab. Click the 'Writeoff' button on the individual line
3 - View the 'Transactions tab' The writeoff has no item details
4 - Apply patch
5 - Repeat 1 & 2
6 - View the transactions tab. The writeoff shows item details
7 - Confirm 'Writeoff amount' and 'Writeoff selected' still work and do not link to item

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit ddad57a468706c16c2cf0165cda84f6cdb7adb9f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
members/pay.pl