Koha-clms/Koha/Account
Lucas Gass 1f1e0c677d
Bug 40255: Allow for custom debit descriptions
To test:

1. Apply patch, restart all
2. Go to debit types and click "Show all debit types" and pick a system defined debit type to test with. I worked mainly with ACCOUNT ( Account creation fee ) but we should test with as many debit types as possible
3. Note the account_debit_types.code you are working with
4. Now go to Tools > Notices and Slips and create a new notice
5. Choose the "Debit description (custom)" module as your module.
6. Use the code from step 2 and 3.
7. In the "email" part of the noctice add something like:
    $[% accountline.amount %] (includes $[% accountline.amount * 0.1 %] tax)

8. Now go to  Administration > Patron categories and configure a patron category to have a "Enrollment fee". ( I set mine to 100 )
9. Now create a patron in that category.
10. Once created, visit the accounting tab for that patron.
11. You should see a description like "$100.00 (includes $10.00 tax)"
12. Try with other debit types to ensure this works with all.

Signed-off-by: Scott Aylett <saylett@spanishfork.gov>
Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-04-17 09:18:12 -06:00
..
Credit.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
CreditType.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
CreditTypes.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Credits.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Debit.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
DebitType.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
DebitTypes.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Debits.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Line.pm Bug 40255: Allow for custom debit descriptions 2026-04-17 09:18:12 -06:00
Lines.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Offset.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Offsets.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00