Bug 28147: Pass itemnumber through to Account->pay
authorNick Clemens <nick@bywatersolutions.com>
Wed, 14 Apr 2021 13:48:08 +0000 (13:48 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Apr 2021 10:28:17 +0000 (12:28 +0200)
commitddad57a468706c16c2cf0165cda84f6cdb7adb9f
treed28cc2b19e6c62110bd366248c815970ec0a8c0e
parent53e1002e1110896ca96624a7bcf616afa18879b7
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>
members/pay.pl