]> git.koha-community.org Git - koha.git/commit
Bug 27779: Group payouts by type of debit they're applied against
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 20 May 2021 07:38:11 +0000 (08:38 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 8 Aug 2022 16:37:25 +0000 (13:37 -0300)
commit4fb65e3f4ee01b02e0d53fde02ed8dca67fe7d29
tree902b55bfc3ee36f2afebceaa8a06e8996b6a2253
parent6eaf23d2d4691844a75db1aaf3090d9eb9747a33
Bug 27779: Group payouts by type of debit they're applied against

This patch adds additional grouping to the cashup summary output such
that payouts are additionally grouped by the types of debit they're
applied against.  The cashup sumary modal is adapted to expose the
descriptions at the grouping level too.

Test plan
1/ Add a various transactions using a cash register (Using Point of
Sale, Patron Accounts with payments etc).
2/ Refund some of the debts and pick the 'cash' option for payout.
(ensure you pick a variety of debit types)
3/ Add some credit to a patron account, (either refund a debt as
'credit' or add a 'manual credit')
4/ Payout the credit as 'cash' on the patron account
5/ Cashup the register
6/ Inspect the cashup summary for your cashup.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Cash/Register/Cashup.pm
koha-tmpl/intranet-tmpl/prog/js/cashup_modal.js