Bug 25970

Summary: Make account_debit_types and account_credit_types available as runtime parameters
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: ReportsAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: george
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2020-07-09 18:37:27 UTC
Accountlines reports would be easier to write if the new account_credit_types and account_debit_types tables were available as runtime parameters.
Comment 1 George Williams (NEKLS) 2020-07-09 18:39:23 UTC
This is an outstanding idea.
Comment 2 Andrew Fuerste-Henry 2020-07-09 19:07:03 UTC
(In reply to George Williams (NEKLS) from comment #1)
> This is an outstanding idea.

Well, I mean, it was yours :)
Comment 3 Katrin Fischer 2020-07-11 08:39:02 UTC
As we have branches and categories... maybe instead of a new syntax we could just make it debit_types and credit_types? And it would display a pull down with the descriptions, inserting the codes. It seems like this would be the most common case. Additionally we could support the new :all.
Comment 4 Katrin Fischer 2023-12-09 16:44:31 UTC
This is available in 23.11, but I believe at least 23.05 as well.