]> git.koha-community.org Git - koha.git/commit
Bug 28389: Add 'Details' link to refund type payout lines in POS
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 19 May 2021 13:24:33 +0000 (14:24 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 15 Oct 2021 09:34:26 +0000 (11:34 +0200)
commitecc08bf5995070685b7d88caa86c4a6cfb67a2ad
tree1a94848b0f809ca583437c63d19d5ac73c8cc923
parent8d3f466ef0f0fca98f36eac6313ef831c9615e56
Bug 28389: Add 'Details' link to refund type payout lines in POS

This patch adds a link to the account-details page for refund type
payout lines displaying on the register details page of cash management.

Test plan
1/ Enable 'UseCashRegisters'
2/ Add some transactions with at least one including a 'Refund'
3/ Look at the transaction history for the current register (Tools >
Cash management > Transaction history for X)
4/ Note the refund line does not contain a link to 'Details'
5/ Apply the patch
6/ The refund line should now have a 'Details' button on the right.
7/ Bonus points, perform a cashup and then search for older transactions
and check the 'Details' button appears in this table too.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt