Koha-clms/koha-tmpl
Martin Renvoize 3ceca329d4
Bug 37671: (follow-up) Use PAYOUT notice for payout receipts on patron account page
This patch adds support for printing PAYOUT receipts from the patron
account page (members/boraccount.pl) using the new PAYOUT notice template.

Previously, PAYOUT debits used the generic invoice print template. Now
they use the same dedicated PAYOUT receipt template that is used in the
POS register, providing consistent receipt formatting across both
interfaces.

Test plan:
1. Create a charge on a patron account (e.g., Lost item)
2. Pay the charge
3. Refund the payment with a cash payout
4. On the patron account page, click "Print" for the PAYOUT transaction
5. Verify the receipt uses the PAYOUT notice template showing:
   - Transaction details (ID, operator, payout type)
   - Refund details showing what was refunded
   - Total payout amount
6. Verify it matches the format used in the POS register

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 528f81b7fd)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
2026-05-24 13:42:21 +01:00
..
intranet-tmpl Bug 37671: (follow-up) Use PAYOUT notice for payout receipts on patron account page 2026-05-24 13:42:21 +01:00
opac-tmpl Bug 27826: Escape regexes when checking for new items in sco-main.tt 2026-05-24 13:42:20 +01:00